public interface LeashHitch extends Hanging
| Modifier and Type | Method and Description |
|---|---|
Entity |
getLeashedEntity()
Gets the currently leashed
Entity. |
direction, getDirectionalDataaddPassenger, addTag, canSee, clearPassengers, createArchetype, createSnapshot, damage, getBaseVehicle, getBoundingBox, getCreator, getNearbyEntities, getNearbyEntities, getNotifier, getPassengers, getRandom, getRotation, getScale, getTags, getTransform, getType, getVehicle, getVelocity, gravity, hasPassenger, hasTag, isLoaded, isOnGround, isRemoved, remove, removePassenger, removeTag, setCreator, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setNotifier, setRotation, setScale, setTransform, setTransformSafely, setVehicle, setVelocity, transferToWorld, transferToWorld, transferToWorld, transferToWorldgetUniqueIdgetLocation, getWorldsetRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getPropertycopyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undocopy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supportsgetTranslationEntity 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.