Skip to main content

Module entity_flags

Module entity_flags 

Source
Expand description

What kind of entity something is, as a bit set (EntityInfo::flags).

Constants§

ALIVE
Alive (not removed, not dead).
ANIMAL
An Animal or WaterAnimal.
ARMOR_STAND
An armor stand.
ITEM
A dropped item (ItemEntity).
LIVING
A LivingEntity (mobs, players, armor stands).
MOB
A Mob (has AI).
MONSTER
An Enemy (hostile mobs).
PART
A part of a multi-part entity (ender dragon parts).
PLAYER
A player.
SPECTATOR
A spectating player.
VILLAGER
A villager.