Package pers.neige.neigeitems.ref.entity
Class RefEntityLiving
-
- All Implemented Interfaces:
public abstract class RefEntityLiving extends RefEntity
-
-
Field Summary
Fields Modifier and Type Field Description public float
yBodyRot
public float
yBodyRotO
public float
yHeadRot
public float
yHeadRotO
public int
attackStrengthTicker
public float
xxa
public float
yya
public float
zza
public float
oRun
public float
run
public float
animStep
public float
animStep0
public float
rotOffs
public float
oAttackAnim
public float
attackAnim
public int
useItemRemaining
public int
fallFlyTicks
public RefDamageSource
lastDamageSource
public final static RefEntityDataAccessor<String>
DATA_CUSTOM_NAME_STRING
public final static RefEntityDataAccessor<Optional<RefComponent>>
DATA_CUSTOM_NAME_COMPONENT
public final static RefEntityDataAccessor<Boolean>
DATA_CUSTOM_NAME_VISIBLE
public double
motX
public double
motY
public double
motZ
public float
yaw
public float
pitch
public float
lastYaw
public float
lastPitch
public RefWorld
world
public double
lastX
public double
lastY
public double
lastZ
public double
locX
public double
locY
public double
locZ
-
Constructor Summary
Constructors Constructor Description RefEntityLiving()
-
Method Summary
Modifier and Type Method Description native RefNmsItemStack
getItemInHand(RefEnumHand hand)
native void
setItemInHand(RefEnumHand hand, RefNmsItemStack itemStack)
native void
swing(RefEnumHand hand)
native void
swing(RefEnumHand hand, boolean fromServerPlayer)
native void
jumpFromGround()
native float
getHeadRotation()
native void
setHeadRotation(float headRotation)
native void
lookAt(RefAnchor anchorPoint, RefVec3 target)
native boolean
onClimbable()
native void
travel(float xxa, float yya, float zza)
native float
tickHeadTurn(float bodyRotation, float headRotation)
native boolean
isFallFlying()
-
Methods inherited from class pers.neige.neigeitems.ref.entity.RefEntity
absMoveTo, addDeltaMovement, getAddEntityPacket, getBoundingBox, getBukkitEntity, getCustomName, getDeltaMovement, getEntityData, getEyeHeight, getId, getPitch, getRootVehicle, getType, getYaw, hasCustomName, isInWater, isPassenger, load, move, move, moveTo, save, saveAsPassenger, saveWithoutId, setCustomName, setDeltaMovement, setDeltaMovement, setInvisible, setPitch, setPosition, setYaw, tick
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getItemInHand
native RefNmsItemStack getItemInHand(RefEnumHand hand)
-
setItemInHand
native void setItemInHand(RefEnumHand hand, RefNmsItemStack itemStack)
-
swing
native void swing(RefEnumHand hand)
-
swing
native void swing(RefEnumHand hand, boolean fromServerPlayer)
-
jumpFromGround
native void jumpFromGround()
-
getHeadRotation
native float getHeadRotation()
-
setHeadRotation
native void setHeadRotation(float headRotation)
-
onClimbable
native boolean onClimbable()
-
travel
native void travel(float xxa, float yya, float zza)
-
tickHeadTurn
native float tickHeadTurn(float bodyRotation, float headRotation)
-
isFallFlying
native boolean isFallFlying()
-
-
-
-