Entity Utility

A utility which is used to get the information from an Entity object

Method

Parameters

Type

Description

getHealth

Entity

int

Health of an entity

getEyeHeight

Entity

double

Eye Height of an entity (in blocks)

getDisplayName

Entity

String

Display name of an entity

getHeldItem

Entity

ItemStack

Held item of an entity

getUUID

Entity

UUID

Unique ID of an entity

Example

entity_util.getName(entity)

Last updated