MergedPack

public final class MergedPack extends Record

Snapshot of the most recent network-merged Bedrock resource pack the proxy has published. Consumers (the Bedrock/Geyser binder) read this whenever they need to register the pack with a Bedrock session.

The proxy no longer self-hosts a URL — it hands the merged Bedrock zip directly to Geyser via PackCodec.path(packFile.toPath()), and Geyser itself serves the bytes to Bedrock clients over the Bedrock protocol. Hence no url field on this record.

Parameters

packFile

on-disk path to an immutable merged Bedrock generation (overwritten atomically by NetworkSync)

sha1Hex

lowercase hex SHA-1 of the merged zip

sha1Bytes

raw SHA-1 bytes (20 bytes) — convenient for protocol APIs that take byte[] rather than hex

packUuid

UUID announced to the client; stable across re-merges so Bedrock clients treat repeated sends as no-ops

Constructors

Link copied to clipboard
public void MergedPack()

Properties

Link copied to clipboard
public final static UUID NETWORK_PACK_UUID
Stable UUID identifying RPM's network-merged pack across re-merges.

Inherited functions

Link copied to clipboard
public abstract boolean equals(Object p)
Link copied to clipboard
public abstract int hashCode()
Link copied to clipboard
public abstract String toString()