public interface Hanging extends Entity, Attachable
Entity.Spigot
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, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getAttachedFace
getFacing, setFacingDirection
boolean setFacingDirection(BlockFace face, boolean force)
face
- The new direction.force
- Whether to force it.Copyright © 2014. All rights reserved.