public interface FallingBlock extends Entity
Modifier and Type | Method and Description |
---|---|
byte |
getBlockData()
Deprecated.
Magic value
|
int |
getBlockId()
Deprecated.
Magic value
|
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
|
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
getMetadata, hasMetadata, removeMetadata, setMetadata
Material getMaterial()
@Deprecated int getBlockId()
@Deprecated byte getBlockData()
boolean getDropItem()
void setDropItem(boolean drop)
drop
- true to break into an item when obstructedCopyright © 2015. All rights reserved.