Attachable
, CommandSender
, Directional
, Entity
, Metadatable
, Nameable
, Permissible
, ServerOperator
ItemFrame
, LeashHitch
, Painting
public interface Hanging extends Entity, Attachable
Entity.Spigot
Modifier and Type | Method | Description |
---|---|---|
boolean |
setFacingDirection(BlockFace face,
boolean force) |
Sets the direction of the hanging entity, potentially overriding rules
of placement.
|
getAttachedFace
getName, sendMessage, sendMessage
getFacing, setFacingDirection
addPassenger, addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
boolean setFacingDirection(BlockFace face, boolean force)
face
- The new direction.force
- Whether to force it.Copyright © 2018. All rights reserved.