Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.entity.FallingBlock Interface Reference
Inheritance diagram for org.bukkit.entity.FallingBlock:
org.bukkit.entity.Entity org.bukkit.metadata.Metadatable org.bukkit.entity.FallingSand

Public Member Functions

Material getMaterial ()
int getBlockId ()
byte getBlockData ()
boolean getDropItem ()
void setDropItem (boolean drop)
- 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 ()

Detailed Description

Represents a falling block

Definition at line 8 of file FallingBlock.java.

Member Function Documentation

byte org.bukkit.entity.FallingBlock.getBlockData ( )

Get the data for the falling block

data of the block
Magic value
int org.bukkit.entity.FallingBlock.getBlockId ( )

Get the ID of the falling block

ID type of the block
Magic value
boolean org.bukkit.entity.FallingBlock.getDropItem ( )

Get if the falling block will break into an item if it cannot be placed

true if the block will break into an item when obstructed
Material org.bukkit.entity.FallingBlock.getMaterial ( )

Get the Material of the falling block

Material of the block
void org.bukkit.entity.FallingBlock.setDropItem ( boolean  drop)

Set if the falling block will break into an item if it cannot be placed

droptrue to break into an item when obstructed

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