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 floatyBodyRotpublic floatyBodyRotOpublic floatyHeadRotpublic floatyHeadRotOpublic intattackStrengthTickerpublic floatxxapublic floatyyapublic floatzzapublic floatoRunpublic floatrunpublic floatanimSteppublic floatanimStep0public floatrotOffspublic floatoAttackAnimpublic floatattackAnimpublic intuseItemRemainingpublic intfallFlyTickspublic RefDamageSourcelastDamageSourcepublic final static RefEntityDataAccessor<String>DATA_CUSTOM_NAME_STRINGpublic final static RefEntityDataAccessor<Optional<RefComponent>>DATA_CUSTOM_NAME_COMPONENTpublic final static RefEntityDataAccessor<Boolean>DATA_CUSTOM_NAME_VISIBLEpublic final Randomrandompublic doublemotXpublic doublemotYpublic doublemotZpublic floatyawpublic floatpitchpublic floatlastYawpublic floatlastPitchpublic RefWorldworldpublic doublelastXpublic doublelastYpublic doublelastZpublic doublelocXpublic doublelocYpublic doublelocZ
-
Constructor Summary
Constructors Constructor Description RefEntityLiving()
-
Method Summary
Modifier and Type Method Description native RefNmsItemStackgetItemInHand(RefEnumHand hand)native voidsetItemInHand(RefEnumHand hand, RefNmsItemStack itemStack)native voidswing(RefEnumHand hand)native voidswing(RefEnumHand hand, boolean fromServerPlayer)native voidjumpFromGround()native floatgetHeadRotation()native voidsetHeadRotation(float headRotation)native voidlookAt(RefAnchor anchorPoint, RefVec3 target)native booleanonClimbable()native voidtravel(float xxa, float yya, float zza)native floattickHeadTurn(float bodyRotation, float headRotation)native booleanisFallFlying()-
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()
-
-
-
-