Expand description
Fixtures and direct entry points shared by unit tests and Criterion benchmarks.
The commit phase needs a PlayerConnection and cannot be driven from a
benchmark, so this exposes the pure batch-resolution step that runs inside it
along with the pieces needed to build a realistic batch.
Functionsยง
- encoded_
is_ current_ for - Whether an encoded chunk still matches the prepared chunk it came from.
- encoded_
pos - Position the encoded chunk was built for.
- prepared_
full_ chunk - Builds a block-ticking prepared chunk backed by a real empty full chunk.
- resolve_
valid_ chunks - Runs the batch-resolution step of
ChunkSender::commit_batch.