PacketTextEntity
Inherited functions
Link copied to clipboard
Link copied to clipboard
Drops the fixed light level, so the display takes the light at its position again.
Link copied to clipboard
Link copied to clipboard
Dismounts this packet entity from any vehicle.
Bundled dismount, like mountTo.
Link copied to clipboard
public abstract AbstractPacketBundle generateLocationAndRotationAndScalePackets(AbstractPacketBundle packetBundle, Location location, EulerAngle eulerAngle, float scale)
public AbstractPacketBundle generateLocationAndRotationAndScalePackets(AbstractPacketBundle packetBundle, Location location, EulerAngle eulerAngle, float scaleX, float scaleY, float scaleZ)
Link copied to clipboard
public void generateRiddenTransformationPackets(AbstractPacketBundle packetBundle, Location seat, Vector3f translation, EulerAngle eulerAngle, float scaleX, float scaleY, float scaleZ, int interpolationTicks)
Pose of a display that rides another entity.
Link copied to clipboard
Gets the underlying Bukkit entity for direct modification.
Link copied to clipboard
Gets the entity ID of this packet entity.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Called internally when a player interacts with this packet entity.
Called internally with the exact decoded packet action and hand.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Makes this packet entity ride another entity (the vehicle).
Bundled mount: adds each viewer's passenger list to
bundle instead of sending it, so entities that mount the same vehicle together reach each viewer in one bundle.Link copied to clipboard
Adds the pending metadata changes for current viewers to the bundle.
Link copied to clipboard
Link copied to clipboard
public abstract void sendLocationAndRotationAndScalePacket(Location location, EulerAngle eulerAngle, float scale)
public void sendLocationAndRotationAndScalePacket(Location location, EulerAngle eulerAngle, float scaleX, float scaleY, float scaleZ)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Fixed light level, 0 to 15, in place of the light at the entity's position.
Link copied to clipboard
Sets a left-click callback that receives the decoded interaction context.
Link copied to clipboard
Sets a right-click callback that receives the decoded action and hand.
Link copied to clipboard
Box viewers test against their view to skip drawing this display while it is off screen:
width across, centred on the entity, and height up from its position, in blocks; a negative height hangs the box down from the position instead.Link copied to clipboard
Link copied to clipboard
Swaps the displayed item model and its custom-model-data tint.
Link copied to clipboard
Sets a callback to be invoked when a player left-clicks (attacks) this packet entity.
Link copied to clipboard
Sets a callback to be invoked when a player right-clicks (interacts with) this packet entity.
Link copied to clipboard
How many ticks viewers take to glide to a new position after a move.
Link copied to clipboard
public void setTransformation(Vector3f translation, Quaternionf leftRotation, Vector3f scale, int interpolationTicks)
Sets translation, left rotation and scale.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
True when viewers can place this display as a passenger of another entity through its transformation.
Link copied to clipboard
Syncs entity metadata to all viewers.
Link copied to clipboard
Bundled teleport: adds this entity's position update to the given packet bundle instead of sending it directly, so per-tick movers (e.g.