0x31 S31PacketWindowProperty

Updates a single property in a container (enchantment level, furnace burn time, brewing progress, etc.).

Clientbound (Server → Client) · PLAY · net/minecraft/network/play/server/S31PacketWindowProperty.java
inventorycontainerproperty

Fields

FieldTypeDescription
windowIdbyteWindow ID
propertyIdshortProperty index
valueshortProperty value

Wire Encoding

FieldTypeNotes
Window IDunsigned byte
Propertyshort0-3=enchant levels, 0=furnace burn, etc.
Valueshort

MCP References

MCPNetHandlerPlayClient.handleWindowProperty()

Handler Interface

HNDINetHandlerPlayClient

Notes

Property IDs vary by container type. Enchantment table: 0=top level, 1=middle, 2=bottom. Furnace: 0=burn time, 1=current item progress, 2=total cook time. Brewing stand: 0=brew time. Beacon: 0=power level.

implementation Implementation Cases

AutoEnchant

Track furnace/enchanting/brewing progress.

Vanilla hook: EventReceivePacket
AutoBrewer

Track furnace/enchanting/brewing progress.

Vanilla hook: EventReceivePacket
← Back to all packets