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, getCustomName, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isCustomNameVisible, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
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.