public class TridentFallingBlock extends TridentEntity implements FallingBlock
airTicks, boundingBox, counter, displayName, executor, fallDistance, fireTicks, godMode, HANDLER, height, id, loc, nameVisible, onGround, passenger, portalCooldown, silent, ticksExisted, uniqueId, velocity, width| Constructor and Description |
|---|
TridentFallingBlock(UUID id,
Position spawnLocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyProperties(EntityProperties properties)
Sets the properties of this entity to the specified properties
|
BlockSnapshot |
blockSnapshot()
The state this FallingBlock represents
|
boolean |
isNameVisible()
Gets if the entity's display name visible
|
boolean |
shouldDrop()
Whether or not this FallingBlock should drop when it breaks
|
EntityType |
type()
Gets the type of entity
|
asNbt, boundingBox, displayName, doEncodeMeta, doLoad, doRemove, doTick, eject, encodeMetadata, entityId, isSilent, load, onGround, passenger, position, remove, setDisplayName, setOnGround, setPassenger, setPosition, setSize, setVelocity, spawn, teleport, teleport, teleport, tick, uniqueId, velocity, withinRange, worldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitboundingBox, displayName, eject, entityId, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, uniqueId, velocity, withinRange, worldpublic TridentFallingBlock(UUID id, Position spawnLocation)
public BlockSnapshot blockSnapshot()
FallingBlockblockSnapshot in interface FallingBlockpublic boolean shouldDrop()
FallingBlockshouldDrop in interface FallingBlockpublic boolean isNameVisible()
EntityisNameVisible in interface EntityisNameVisible in class TridentEntitypublic void applyProperties(EntityProperties properties)
EntityapplyProperties in interface EntityapplyProperties in class TridentEntityproperties - the properties to setpublic EntityType type()
Entitytype in interface Entitytype in class TridentEntityCopyright © 2016. All rights reserved.