Gets the yaw of this entity's body in degrees
If delta is passed in, then it will be used to linearly interpolate the rotation of the body between the previous tick and the current tick
The default value of delta is 1 
LivingEntityAPI.getBodyYaw(): Number | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.-1950496919
LivingEntityAPI.getBodyYaw(delta: Number): Number | Method Property | Fluent Description | Representation |
|---|---|---|
| delta accepts | typings.-1950496919||
| Return Value | typings.-1950496919
Returns an ItemStack representing the item in this entity's main hand
If true is passed in for "offhand", then it will instead look at the item in the entity's offhand
If the entity isn't holding an item in that hand, returns air 
LivingEntityAPI.getHeldItem(): ItemStack | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.-148280555
LivingEntityAPI.getHeldItem(offhand: Boolean): ItemStack | Method Property | Fluent Description | Representation |
|---|---|---|
| offhand accepts | typings.1729365000||
| Return Value | typings.-148280555
Gets an ItemStack for the item in the given slot
For the player, slots are indexed with 1 as the main hand, 2 as the off hand, and 3,4,5,6 as the 4 armor slots from the boots to the helmet
If an invalid slot number is given, this will return nil 
LivingEntityAPI.getItem(index: Integer): ItemStack | Method Property | Fluent Description | Representation |
|---|---|---|
| index accepts | typings.-672261858||
| Return Value | typings.-148280555
Returns the closest entity to this entity
If `type` is an entity id, (e.g. `minecraft:bee`), only entities of that type will be considered
Radius defaults to 20, and controls the size of the area for checking entities as a box expanding in every direction from the player 
LivingEntityAPI.getNearestEntity(type: String, radius: Number): EntityAPI | Method Property | Fluent Description | Representation |
|---|---|---|
| type accepts | typings.-1808118735||
| radius accepts | typings.-1950496919||
| Return Value | typings.1263373079
LivingEntityAPI.getNearestEntity(type: String): EntityAPI | Method Property | Fluent Description | Representation |
|---|---|---|
| type accepts | typings.-1808118735||
| Return Value | typings.1263373079
LivingEntityAPI.getNearestEntity(): EntityAPI | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.1263373079
Gets the position of the entity in the world
If delta is passed in, then it will be used to linearly interpolate the position of the entity between the previous tick and the current tick
The default value of delta is 1 
LivingEntityAPI.getPos(): Vector3 | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.2002444080
LivingEntityAPI.getPos(delta: Number): Vector3 | Method Property | Fluent Description | Representation |
|---|---|---|
| delta accepts | typings.-1950496919||
| Return Value | typings.2002444080
Gets the rotation of the entity in degrees
If delta is passed in, then it will be used to linearly interpolate the rotation of the entity between the previous tick and the current tick
The default value of delta is 1 
LivingEntityAPI.getRot(): Vector2 | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.2002444079
LivingEntityAPI.getRot(delta: Number): Vector2 | Method Property | Fluent Description | Representation |
|---|---|---|
| delta accepts | typings.-1950496919||
| Return Value | typings.2002444079
Returns a proxy for your currently targeted BlockState
This BlockState appears on the F3 screen
The maximum (and default) distance is 20, minimum is -20
Returns the block, the hit position, and the targeted block face as three separate values 
LivingEntityAPI.getTargetedBlock(): Varargs | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.1901216868
LivingEntityAPI.getTargetedBlock(ignoreLiquids: Boolean): Varargs | Method Property | Fluent Description | Representation |
|---|---|---|
| ignoreLiquids accepts | typings.1729365000||
| Return Value | typings.1901216868
LivingEntityAPI.getTargetedBlock(ignoreLiquids: Boolean, distance: Number): Varargs | Method Property | Fluent Description | Representation |
|---|---|---|
| ignoreLiquids accepts | typings.1729365000||
| distance accepts | typings.-1950496919||
| Return Value | typings.1901216868
Returns a proxy for your currently targeted Entity
This Entity appears on the F3 screen
Maximum and Default distance is 20, Minimum is 0 
LivingEntityAPI.getTargetedEntity(): Varargs | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.1901216868
LivingEntityAPI.getTargetedEntity(distance: Number): Varargs | Method Property | Fluent Description | Representation |
|---|---|---|
| distance accepts | typings.-1950496919||
| Return Value | typings.1901216868
Gets the value of a variable this entity stored in themselves using the Avatar API's store() function 
LivingEntityAPI.getVariable(): AnyType | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.821772070
LivingEntityAPI.getVariable(key: String): AnyType | Method Property | Fluent Description | Representation |
|---|---|---|
| key accepts | typings.-1808118735||
| Return Value | typings.821772070
Checks if this entity object is still being updated and loaded
A non-loaded entity would be someone or something which is in another dimension or out of the render distance for example 
LivingEntityAPI.isLoaded(): Boolean | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.1729365000
Returns true if this entity has some velocity
Takes a boolean parameter, where if true, the y velocity is ignored 
LivingEntityAPI.isMoving(): Boolean | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.1729365000
LivingEntityAPI.isMoving(ignoreY: Boolean): Boolean | Method Property | Fluent Description | Representation |
|---|---|---|
| ignoreY accepts | typings.1729365000||
| Return Value | typings.1729365000
listFiles
action_wheel
Action
BlockRaycastTypes