public interface FallingBlock extends Entity
Entity.Spigot
Modifier and Type | Method and Description |
---|---|
boolean |
canHurtEntities()
Get the HurtEntities state of this block.
|
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
|
void |
setHurtEntities(boolean hurtEntities)
Set the HurtEntities state of this block.
|
addScoreboardTag, eject, getCustomName, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removeScoreboardTag, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, 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 obstructedboolean canHurtEntities()
void setHurtEntities(boolean hurtEntities)
hurtEntities
- whether entities will be damaged by this block.Copyright © 2016. All rights reserved.