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

Public Member Functions

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 a Hanging entity

Definition at line 9 of file Hanging.java.

Member Function Documentation

boolean org.bukkit.entity.Hanging.setFacingDirection ( BlockFace  face,
boolean  force 

Sets the direction of the hanging entity, potentially overriding rules of placement. Note that if the result is not valid the object would normally drop as an item.

faceThe new direction.
forceWhether to force it.
False if force was false and there was no block for it to attach to in order to face the given direction.

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