Skip to main content

Advanced World Packets

Packets in com.hypixel.hytale.protocol.packets.world.

Sleep System

UpdateSleepState (180)

Bound: Clientbound

Updates the visual sleeping state of a player.

FieldTypeNotes
playerIdIntEntity ID of the player.
sleepingBooleanTrue if asleep.
posVector3dBed position.

SleepClock (181)

Bound: Clientbound

Syncs the time-skipping animation when all players sleep.

FieldTypeNotes
activeBooleanIs the clock fast-forwarding?
rateFloatSpeed multiplier.

SleepMultiplayer (182)

Bound: Clientbound

Shows the "X/Y players sleeping" UI.

FieldTypeNotes
sleepingIntCount of sleepers.
requiredIntCount required to skip night.

Fluid Management

ServerSetFluid (145)

Bound: Clientbound

Updates a single fluid block (water/lava level).

FieldTypeNotes
xIntWorld X.
yIntWorld Y.
zIntWorld Z.
fluidIdIntFluid Registry ID.
levelByteFluid height/level (0-15).

SetFluids (146)

Bound: Clientbound | Compressed: Yes

Bulk update for fluid blocks (similar to ServerSetBlocks).

FieldTypeNotes
nullBitsByteBitmask.
chunkXIntChunk X.
chunkZIntChunk Z.
updatesFluidChange[]List of fluid updates.

Chunk Partial Updates

These packets update specific layers of a chunk without resending the entire geometry.

SetChunkHeightmap (133)

Bound: Clientbound | Compressed: Yes

Updates the heightmap (used for rain collision and map rendering).

FieldTypeNotes
chunkXInt
chunkZInt
heightmapByte[]Compressed height array.

SetChunkTintmap (134)

Bound: Clientbound | Compressed: Yes

Updates the biome color map (grass/foliage colors).

FieldTypeNotes
chunkXInt
chunkZInt
colorsInt[]Array of ARGB colors.

SetChunkEnvironments (135)

Bound: Clientbound | Compressed: Yes

Updates the biome registry IDs for a chunk (changing the biome type).

FieldTypeNotes
chunkXInt
chunkZInt
biomesShort[]Array of Biome IDs.