public interface Hanging extends Entity, Attachable
Modifier and Type | Method and Description |
---|---|
boolean |
setFacingDirection(BlockFace face,
boolean force)
Sets the direction of the hanging entity, potentially overriding rules
of placement.
|
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
getAttachedFace
getFacing, setFacingDirection
boolean setFacingDirection(BlockFace face, boolean force)
face
- The new direction.force
- Whether to force it.Copyright © 2015. All rights reserved.