public abstract class EntityItemFrameHandle extends EntityHandle
T
member.
New handles can be created from raw instances using createHandle(Object)
.Modifier and Type | Class and Description |
---|---|
static class |
EntityItemFrameHandle.EntityItemFrameClass
Stores class members for net.minecraft.server.EntityItemFrame.
|
EntityHandle.EntityClass
Modifier and Type | Field and Description |
---|---|
static DataWatcher.Key<org.bukkit.inventory.ItemStack> |
DATA_ITEM |
static EntityItemFrameHandle.EntityItemFrameClass |
T |
DATA_AIR_TICKS, DATA_CUSTOM_NAME, DATA_CUSTOM_NAME_VISIBLE, DATA_FLAG_FLYING, DATA_FLAG_GLOWING, DATA_FLAG_INVISIBLE, DATA_FLAG_ON_FIRE, DATA_FLAG_SNEAKING, DATA_FLAG_SPRINTING, DATA_FLAG_UNKNOWN1, DATA_FLAG_UNKNOWN2, DATA_FLAGS, DATA_NO_GRAVITY, DATA_SILENT
Constructor and Description |
---|
EntityItemFrameHandle() |
Modifier and Type | Method and Description |
---|---|
static EntityItemFrameHandle |
createHandle(Object handleInstance) |
static EntityItemFrameHandle |
fromBukkit(org.bukkit.entity.ItemFrame itemFrame) |
abstract IntVector3 |
getBlockPosition() |
abstract org.bukkit.block.BlockFace |
getFacing() |
abstract org.bukkit.inventory.ItemStack |
getItem() |
abstract boolean |
getItemIsMap() |
abstract UUID |
getItemMapDisplayUUID() |
abstract int |
getRotationOrdinal() |
abstract void |
setItem(org.bukkit.inventory.ItemStack newItemStack) |
appendEntityCrashDetails, burn, calculateDistance, checkBlockCollisions, collide, damageEntity, dropItem, dropItemStack, fromBukkit, getBlockCollisionMultiplier, getBoundingBox, getBoundingBoxField, getBukkitEntity, getBukkitEntityField, getBukkitWorld, getChunkX, getChunkY, getChunkZ, getCustomName, getDataWatcher, getDatawatcherField, getDimension, getDriverEntity, getEntityBoundingBox, getFallDistance, getFireTicks, getHeadRotation, getHeight, getHeightOffset, getId, getIdField, getLastPitch, getLastX, getLastY, getLastYaw, getLastZ, getLocX, getLocY, getLocZ, getMaxFireTicks, getMot, getMotX, getMotY, getMotZ, getOtherBoundingBox, getPassengers, getPitch, getPortalCooldown, getPortalCooldownMaximum, getRandom, getStepCounter, getSwimSound, getTicksLived, getUniqueID, getVehicle, getWalkedDistanceXYZ, getWalkedDistanceXZ, getWidth, getWorld, getWorldServer, getYaw, hasCustomName, hasMovementSound, hasPassengers, isAllowTeleportation, isBurning, isCollidingWithBlock, isDead, isHorizontalMovementImpaired, isIgnoreChunkCheck, isInSameVehicle, isInWater, isInWaterUpdate, isLoaded, isMovementImpaired, isNoclip, isOnGround, isOutsideWorldBorder, isPassenger, isPositionChanged, isPreventBlockPlace, isSneaking, isValid, isVehicle, isVelocityChanged, isVerticalMovementImpaired, isWet, loadFromNBT, makeSound, onPush, onTick, playStepSound, recalcPosition, saveEntity, savePassenger, saveToNBT, setAllowTeleportation, setBoundingBox, setBoundingBoxField, setBukkitEntityField, setChunkX, setChunkY, setChunkZ, setDatawatcherField, setDead, setDimension, setFallDistance, setFireTicks, setHeightOffset, setHorizontalMovementImpaired, setIdField, setIgnoreChunkCheck, setIsLoaded, setLastPitch, setLastX, setLastY, setLastYaw, setLastZ, setLocation, setLocX, setLocY, setLocZ, setMot, setMotX, setMotY, setMotZ, setMovementImpaired, setNoclip, setNotCollidingWithBlock, setOnFire, setOnGround, setOutsideWorldBorder, setPassengers, setPitch, setPortalCooldown, setPosition, setPositionChanged, setPositionRotation, setPreventBlockPlace, setRandom, setRotation, setSize, setStepCounter, setTicksLived, setValid, setVehicle, setVelocityChanged, setVerticalMovementImpaired, setWalkedDistanceXYZ, setWalkedDistanceXZ, setWorld, setYaw, toBukkit, updateBlockCollision, updateFalling
public static final EntityItemFrameHandle.EntityItemFrameClass T
public static final DataWatcher.Key<org.bukkit.inventory.ItemStack> DATA_ITEM
public static EntityItemFrameHandle createHandle(Object handleInstance)
public abstract boolean getItemIsMap()
public abstract UUID getItemMapDisplayUUID()
public abstract org.bukkit.inventory.ItemStack getItem()
public abstract void setItem(org.bukkit.inventory.ItemStack newItemStack)
public abstract IntVector3 getBlockPosition()
public abstract org.bukkit.block.BlockFace getFacing()
public abstract int getRotationOrdinal()
public static EntityItemFrameHandle fromBukkit(org.bukkit.entity.ItemFrame itemFrame)
Copyright © 2019. All rights reserved.