Attachable, CommandSender, Directional, Entity, Hanging, Metadatable, Nameable, Permissible, ServerOperatorpublic interface ItemFrame extends Hanging
Entity.Spigot| Modifier and Type | Method | 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
|
getAttachedFacegetName, sendMessage, sendMessagegetFacing, setFacingDirectionaddPassenger, addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleportsetFacingDirectiongetMetadata, hasMetadata, removeMetadata, setMetadatagetCustomName, setCustomNameaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpItemStack getItem()
void setItem(ItemStack item)
item - the new itemRotation getRotation()
void setRotation(Rotation rotation) throws java.lang.IllegalArgumentException
rotation - the new rotationjava.lang.IllegalArgumentException - if rotation is nullCopyright © 2018. All rights reserved.