Entity paper/entity_type

Entity Type

Returns information about an entity's type and name.

Inputs

NameTypeOptionalDescription
entity entity The entity.

Outputs

NameTypeDescription
typeName string Entity type name (e.g. ZOMBIE).
isPlayer boolean True if the entity is a player.
isLiving boolean True if the entity is a living entity.
name string Custom name or default entity type name.