Mob Effect Instance (Data Type) - MerchantCalico/bovines-and-buttercups-archive GitHub Wiki
An Object which depicts a MobEffectInstance.
Schema
| Field | Type | Default | Description |
|---|---|---|---|
type |
[Resource Location](/MerchantCalico/bovines-and-buttercups-archive/wiki/Resource-Location-(Data-Type)) | Defines the mob effect used for this instance. | |
duration |
[Integer](/MerchantCalico/bovines-and-buttercups-archive/wiki/Integer-(Data-Type)) | Defines the duration of this instance. | |
amplifier |
[Integer](/MerchantCalico/bovines-and-buttercups-archive/wiki/Integer-(Data-Type)) | 0 |
Defines the amplifier of this instance. |
ambient |
[Boolean](/MerchantCalico/bovines-and-buttercups-archive/wiki/Boolean-(Data-Type)) | false |
Defines whether this effect's particles are less visible, like those from a beacon. |
visible |
[Boolean](/MerchantCalico/bovines-and-buttercups-archive/wiki/Boolean-(Data-Type)) | false |
Defines whether this effect's particles are visible at all. |
show_icon |
[Boolean](/MerchantCalico/bovines-and-buttercups-archive/wiki/Boolean-(Data-Type)) | true |
Defines whether this effect's icon should show up to the user within HUD elements. |
Examples
{
"nectar_effect": {
"effect": "minecraft:strength",
"duration": 2400
}
}
This example is a Strength effect with a duration of 2 minutes.