showPacketHandler
Adds a handler invoked when show packets are bundled for a player.
Additional handlers are executed sequentially via andThen.
pipeline.showPacketHandler(bundler -> {
// append custom packets when model is shown
});
Content copied to clipboard
Since
1.15.2
Parameters
showPacketHandler
the consumer to handle show packets
Throws
if showPacketHandler is null