Attachable, CommandSender, Directional, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, ServerOperatorItemFrame, LeashHitch, Paintingpublic 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. | 
getAttachedFacegetName, sendMessage, sendMessage, sendMessage, sendMessagegetFacing, setFacingDirectionaddPassenger, 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, setOpboolean setFacingDirection(@NotNull BlockFace face, boolean force)
face - The new direction.force - Whether to force it.Copyright © 2020. All rights reserved.