Name | <EntityTag.monster_type> |
Returns | ElementTag |
Description | Returns the entity's monster type, if it is a monster.
This is sometimes called 'mob type' or 'entity category', but it is only applicable to enemy monsters - this is used for enchanted damage bonuses, see EnchantmentTag.damage_bonus. This can be any of undead/water/illager/arthropod, see https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityCategory.html. |
Generated Example |
|
Group | data |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1368 |