|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ItemFrame
Represents an Item Frame
Method Summary | |
---|---|
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 |
Methods inherited from interface org.bukkit.entity.Hanging |
---|
setFacingDirection |
Methods inherited from interface org.bukkit.entity.Entity |
---|
eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleport |
Methods inherited from interface org.bukkit.metadata.Metadatable |
---|
getMetadata, hasMetadata, removeMetadata, setMetadata |
Methods inherited from interface org.bukkit.material.Attachable |
---|
getAttachedFace |
Methods inherited from interface org.bukkit.material.Directional |
---|
getFacing, setFacingDirection |
Method Detail |
---|
ItemStack getItem()
void setItem(ItemStack item)
item
- the new itemRotation getRotation()
void setRotation(Rotation rotation) throws IllegalArgumentException
rotation
- the new rotation
IllegalArgumentException
- if rotation is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |