|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FallingBlock
Represents a falling block
Method Summary | |
---|---|
byte |
getBlockData()
Get the data for the falling block |
int |
getBlockId()
Get the ID of the falling block |
boolean |
getDropItem()
Get if the falling block will break into an item if it cannot be placed |
Material |
getMaterial()
Get the Material of the falling block |
void |
setDropItem(boolean drop)
Set if the falling block will break into an item if it cannot be placed |
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 |
Method Detail |
---|
Material getMaterial()
int getBlockId()
byte getBlockData()
boolean getDropItem()
void setDropItem(boolean drop)
drop
- true to break into an item when obstructed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |