PassengerPacketEntityDsl
DSL scope for configuring a packet entity that is used as a passenger.
Passenger entities do not define their own location, viewer whitelist/blacklist, or spawn/despawn handlers. Instead, they are tied to the parent entity and are spawned and despawned with it.
Properties
Functions
Configures equipment using named equipment slots.
Registers a handler called on the player's Netty event-loop thread when they attack this passenger (left click).
Registers a handler called on the main server thread when a player interacts with this passenger (right click).
Registers a handler called on the player's Netty event-loop thread when they interact with this passenger (right click).
Registers a handler called on the player's Netty event-loop thread when they pick this passenger (middle click).
Adds nested passenger packet entities to this passenger.