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
});

Since

3.7.0

Functions

Link copied to clipboard
@NotNull
open fun dataBundler(): @NotNull PacketBundler
Returns the packet bundler for entity data updates.
Link copied to clipboard
@NotNull
open fun tickBundler(): @NotNull PacketBundler
Returns the packet bundler for movement and tick updates.