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