CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, ServerOperatorpublic interface FallingBlock extends Entity
Entity.Spigot| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | canHurtEntities() | Get the HurtEntities state of this block. | 
| BlockData | getBlockData() | Get the data for the falling block | 
| boolean | getDropItem() | Get if the falling block will break into an item if it cannot be placed | 
| Material | getMaterial() | Deprecated.
 use  getBlockData() | 
| default Location | getSourceLoc() | Deprecated.
 replaced by  Entity.getOrigin() | 
| 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. | 
getName, sendMessage, sendMessage, sendMessage, sendMessageaddPassenger, addScoreboardTag, eject, fromMobSpawner, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInBubbleColumn, isInLava, isInRain, isInsideVehicle, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport, teleportAsync, teleportAsyncgetMetadata, hasMetadata, removeMetadata, setMetadatagetCustomName, setCustomNameaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentgetPersistentDataContainerisOp, setOp@Deprecated @NotNull Material getMaterial()
getBlockData()@NotNull BlockData 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.@Deprecated default Location getSourceLoc()
Entity.getOrigin()Copyright © 2020. All rights reserved.