Entity
paper/entity_type
Entity Type
Returns information about an entity's type and name.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
entity |
entity | The entity. |
Outputs
| Name | Type | Description |
|---|---|---|
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. |