Skip to content

ItemUpdatePacket

@Serializable



data class ItemUpdatePacket(val containerId: Int, val updates: Map<String, BlockEntityStatePacket.SerializedValue>)

A network packet that carries ComposeItemContainerMenu state updates from client to server - the item-backed-menu equivalent of net.kernelpanicsoft.archie.gui.blockentity.BlockEntityUpdatePacket. See ItemStatePacket for what containerId is used for.

Constructors

ItemUpdatePacket

constructor(containerId: Int, updates: Map<String, BlockEntityStatePacket.SerializedValue>)

Types

Companion

object Companion

Properties

containerId

updates