public interface ItemFrame extends Hanging
Entity.Spigot
Modifier and Type | Method and Description |
---|---|
ItemStack |
getItem()
Get the item in this frame
|
Rotation |
getRotation()
Get the rotation of the frame's item
|
void |
setItem(ItemStack item)
Set the item in this frame
|
void |
setRotation(Rotation rotation)
Set the rotation of the frame's item
|
setFacingDirection
eject, getCustomName, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isCustomNameVisible, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
getAttachedFace
getFacing, setFacingDirection
ItemStack getItem()
void setItem(ItemStack item)
item
- the new itemRotation getRotation()
void setRotation(Rotation rotation) throws IllegalArgumentException
rotation
- the new rotationIllegalArgumentException
- if rotation is nullCopyright © 2015. All rights reserved.