Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.entity.ItemFrame Interface Reference
Inheritance diagram for org.bukkit.entity.ItemFrame:
org.bukkit.entity.Hanging org.bukkit.entity.Entity org.bukkit.material.Attachable org.bukkit.metadata.Metadatable org.bukkit.material.Directional

Public Member Functions

ItemStack getItem ()
 
void setItem (ItemStack item)
 
Rotation getRotation ()
 
void setRotation (Rotation rotation) throws IllegalArgumentException
 
- Public Member Functions inherited from org.bukkit.entity.Hanging
boolean setFacingDirection (BlockFace face, boolean force)
 
- Public Member Functions inherited from org.bukkit.entity.Entity
Location getLocation ()
 
Location getLocation (Location loc)
 
void setVelocity (Vector velocity)
 
Vector getVelocity ()
 
boolean isOnGround ()
 
World getWorld ()
 
boolean teleport (Location location)
 
boolean teleport (Location location, TeleportCause cause)
 
boolean teleport (Entity destination)
 
boolean teleport (Entity destination, TeleportCause cause)
 
List< org.bukkit.entity.EntitygetNearbyEntities (double x, double y, double z)
 
int getEntityId ()
 
int getFireTicks ()
 
int getMaxFireTicks ()
 
void setFireTicks (int ticks)
 
void remove ()
 
boolean isDead ()
 
boolean isValid ()
 
Server getServer ()
 
abstract Entity getPassenger ()
 
abstract boolean setPassenger (Entity passenger)
 
abstract boolean isEmpty ()
 
abstract boolean eject ()
 
float getFallDistance ()
 
void setFallDistance (float distance)
 
void setLastDamageCause (EntityDamageEvent event)
 
EntityDamageEvent getLastDamageCause ()
 
UUID getUniqueId ()
 
int getTicksLived ()
 
void setTicksLived (int value)
 
void playEffect (EntityEffect type)
 
EntityType getType ()
 
boolean isInsideVehicle ()
 
boolean leaveVehicle ()
 
Entity getVehicle ()
 
- Public Member Functions inherited from org.bukkit.material.Attachable
BlockFace getAttachedFace ()
 
- Public Member Functions inherited from org.bukkit.material.Directional
void setFacingDirection (BlockFace face)
 
BlockFace getFacing ()
 

Detailed Description

Represents an Item Frame

Definition at line 9 of file ItemFrame.java.

Member Function Documentation

ItemStack org.bukkit.entity.ItemFrame.getItem ( )

Get the item in this frame

Returns
a defensive copy the item in this item frame
Rotation org.bukkit.entity.ItemFrame.getRotation ( )

Get the rotation of the frame's item

Returns
the direction
void org.bukkit.entity.ItemFrame.setItem ( ItemStack  item)

Set the item in this frame

Parameters
itemthe new item
void org.bukkit.entity.ItemFrame.setRotation ( Rotation  rotation) throws IllegalArgumentException

Set the rotation of the frame's item

Parameters
rotationthe new rotation
Exceptions
IllegalArgumentExceptionif rotation is null

The documentation for this interface was generated from the following file: