PacketTextEntity
Inherited functions
Link copied to clipboard
Link copied to clipboard
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
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
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
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
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
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.