public interface LeashHitch extends Hanging
Modifier and Type | Method and Description |
---|---|
Entity |
getLeashedEntity()
Gets the currently leashed
Entity . |
getDirectionalData
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
getUniqueId
getProperties, getProperty, setRawData, validateRawData
toContainer
Entity getLeashedEntity()
Entity
.
Usually, a LeashHitch
will always exist so long as there is
a leashed Entity
attached. If the leash is broken, the leash
hitch is removed.