EntityAdapter

interface EntityAdapter

An adapter of entity

Inheritors

Types

Link copied to clipboard
Multiplier

Properties

Link copied to clipboard
Empty adapter

Functions

Link copied to clipboard
abstract fun bodyYaw(): Float
Gets entity's body yaw (y-rot)
Link copied to clipboard
abstract fun damageTick(): Float
Gets entity's damage tick
Link copied to clipboard
abstract fun dead(): Boolean
Checks source entity is dead
Link copied to clipboard
@Nullable
abstract fun entity(): LivingEntity
Gets source
Link copied to clipboard
abstract fun fly(): Boolean
Checks source entity is on fly
Link copied to clipboard
abstract fun glow(): Boolean
Checks source entity is on glow
Link copied to clipboard
abstract fun invisible(): Boolean
Checks source entity is invisible
Link copied to clipboard
open fun multiply(scaleMultiplier: Double): EntityAdapter
Multiplies this adapter
Link copied to clipboard
abstract fun onWalk(): Boolean
Checks source entity is on walk
Link copied to clipboard
@NotNull
abstract fun passengerPosition(): Vector3f
Gets entity's passenger point
Link copied to clipboard
abstract fun pitch(): Float
Gets entity's pitch (x-rot)
Link copied to clipboard
abstract fun scale(): Double
Gets entity's scale
Link copied to clipboard
abstract fun walkSpeed(): Float
Gets entity's walk speed
Link copied to clipboard
abstract fun yaw(): Float
Gets entity's yaw (y-rot)