Package pers.neige.neigeitems.ref.entity
Class RefEntityItem
-
- All Implemented Interfaces:
public final class RefEntityItem extends RefEntity
-
-
Field Summary
Fields Modifier and Type Field Description public final static RefEntityDataAccessor<RefNmsItemStack>
DATA_ITEM
public int
despawnRate
public int
age
public int
pickupDelay
public String
throwerName
public String
ownerName
public UUID
throwerUUID
public UUID
ownerUUID
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 RefEntityItem(RefWorld world, double x, double y, double z, RefNmsItemStack itemStack)
-
Method Summary
Modifier and Type Method Description native RefNmsItemStack
getItemStack()
native void
setItemStack(RefNmsItemStack itemStack)
-
Methods inherited from class pers.neige.neigeitems.ref.entity.RefEntity
absMoveTo, addDeltaMovement, getAddEntityPacket, getBoundingBox, getBukkitEntity, getCustomName, getDeltaMovement, getEntityData, getEyeHeight, getHeadRotation, getId, getPitch, getRootVehicle, getType, getYaw, hasCustomName, isInWater, isPassenger, load, lookAt, move, move, moveTo, save, saveAsPassenger, saveWithoutId, setCustomName, setDeltaMovement, setDeltaMovement, setHeadRotation, setInvisible, setPitch, setPosition, setYaw, tick
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RefEntityItem
RefEntityItem(RefWorld world, double x, double y, double z, RefNmsItemStack itemStack)
-
-
Method Detail
-
getItemStack
native RefNmsItemStack getItemStack()
-
setItemStack
native void setItemStack(RefNmsItemStack itemStack)
-
-
-
-