Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Entities with this component will have an immunity to the provided mob effects.
Mob Effect Immunity Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
mob_effects | not set | Array of strings | List of names of effects the entity is immune to. | Silverfish: ["infested"] , Slime: ["oozing"] |
Samples
Silverfish
"minecraft:mob_effect_immunity": {
"mob_effects": [
"infested"
]
}
Slime
"minecraft:mob_effect_immunity": {
"mob_effects": [
"oozing"
]
}