TrackerBundlerSet
class TrackerBundlerSet
A pair of PacketBundler instances used during tracker tick and frame updates.
Separates packet-based rendering updates into tick packets (movement and position synchronization dispatched to all tracking players) and data packets (dirty entity metadata and display properties dispatched only to non-hidden viewing players).
Example:
tracker.tick(bundlerSet -> {
PacketBundler dataBundler = bundlerSet.dataBundler();
PacketBundler tickBundler = bundlerSet.tickBundler();
// append packet operations
});
Content copied to clipboard
Since
3.7.0