minecraft:spell_effects¶
文档版本:1.21.0.24
Defines what mob effects to add and remove to the entity when adding this component.
架构¶
minecraft:spell_effects:
{
array "add_effects" : opt
{
object "<any array element>" : opt
{
string "effect" : opt
integer "duration" : opt
integer "amplifier" : opt
boolean "ambient" : opt
boolean "visible" : opt
boolean "display_on_screen_animation" : opt
}
}
string "remove_effects" : opt
}
add_effects
:array- List of effects to add to this entity after adding this component.
add_effects
<any array element>
:object
<any array element>
effect
:string
duration
:integer
amplifier
:integer
ambient
:boolean
visible
:boolean
display_on_screen_animation
:boolean
remove_effects
:string- List of identifiers of effects to be removed from this entity after adding this component.