BetterModel
Toggle table of contents
1.13.2-SNAPSHOT-385
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.nms
/
EntityAdapter
Entity
Adapter
interface
EntityAdapter
An adapter of entity
Members
Functions
body
Yaw
Link copied to clipboard
abstract
fun
bodyYaw
(
)
:
Float
Gets entity's body yaw (y-rot)
custom
Name
Link copied to clipboard
@
Nullable
abstract
fun
customName
(
)
:
@
Nullable
Component
Gets custom name of this entity
damage
Tick
Link copied to clipboard
abstract
fun
damageTick
(
)
:
Float
Gets entity's damage tick
dead
Link copied to clipboard
abstract
fun
dead
(
)
:
Boolean
Checks source entity is dead
entity
Link copied to clipboard
@
NotNull
abstract
fun
entity
(
)
:
@
NotNull
Entity
Gets a source
fly
Link copied to clipboard
abstract
fun
fly
(
)
:
Boolean
Check source entity is on the fly
glow
Link copied to clipboard
abstract
fun
glow
(
)
:
Boolean
Check source entity is on a glow
ground
Link copied to clipboard
abstract
fun
ground
(
)
:
Boolean
Checks source entity is on the ground
handle
Link copied to clipboard
@
NotNull
abstract
fun
handle
(
)
:
@
NotNull
Any
Gets vanilla entity
has
Controlling
Passenger
Link copied to clipboard
open
fun
hasControllingPassenger
(
)
:
Boolean
Checks this entity has controlling passenger
head
Yaw
Link copied to clipboard
abstract
fun
headYaw
(
)
:
Float
Gets entity's yaw (y-rot)
id
Link copied to clipboard
abstract
fun
id
(
)
:
Int
Gets entity id
invisible
Link copied to clipboard
abstract
fun
invisible
(
)
:
Boolean
Checks source entity is invisible
on
Walk
Link copied to clipboard
abstract
fun
onWalk
(
)
:
Boolean
Check source entity is on a walk
passenger
Position
Link copied to clipboard
@
NotNull
abstract
fun
passengerPosition
(
)
:
@
NotNull
Vector3f
Gets entity's passenger point
pitch
Link copied to clipboard
abstract
fun
pitch
(
)
:
Float
Gets entity's pitch (x-rot)
registry
Link copied to clipboard
@
NotNull
open
fun
registry
(
)
:
@
NotNull
Optional
<
EntityTrackerRegistry
>
Gets tracker registry of this adapter
scale
Link copied to clipboard
abstract
fun
scale
(
)
:
Double
Gets entity's scale
walk
Speed
Link copied to clipboard
abstract
fun
walkSpeed
(
)
:
Float
Gets entity's walk speed