Skip to content

2026.01.24 6e2d4fc36 inventory

github-actions[bot] edited this page Jan 26, 2026 · 1 revision

Inventory Packets

Version: 2026.01.24-6e2d4fc36

This category contains 10 packet(s).

Packet Index

ID Name Package Compressed Max Size
0xAA UpdatePlayerInventory com.hypixel.hytale.protocol.packets.inventory Yes 1600 MB
0xAB SetCreativeItem com.hypixel.hytale.protocol.packets.inventory No 15.6 MB
0xAC DropCreativeItem com.hypixel.hytale.protocol.packets.inventory No 15.6 MB
0xAD SmartGiveCreativeItem com.hypixel.hytale.protocol.packets.inventory No 15.6 MB
0xAE DropItemStack com.hypixel.hytale.protocol.packets.inventory No 12 bytes
0xAF MoveItemStack com.hypixel.hytale.protocol.packets.inventory No 20 bytes
0xB0 SmartMoveItemStack com.hypixel.hytale.protocol.packets.inventory No 13 bytes
0xB1 SetActiveSlot com.hypixel.hytale.protocol.packets.inventory No 8 bytes
0xB2 SwitchHotbarBlockSet com.hypixel.hytale.protocol.packets.inventory No 15.6 MB
0xB3 InventoryAction com.hypixel.hytale.protocol.packets.inventory No 6 bytes

UpdatePlayerInventory

Property Value
Packet ID 0xAA (170)
Compressed Yes
Fixed Block Size 2 bytes
Variable Field Count 7
Max Size 1600 MB
Nullable Bit Field 1 byte(s)
Variable Block Start 30

Fields

Name Type Offset Size Encoding Nullable
storage InventorySection -1 var nested:InventorySection Yes
armor InventorySection -1 var nested:InventorySection Yes
hotbar InventorySection -1 var nested:InventorySection Yes
utility InventorySection -1 var nested:InventorySection Yes
builderMaterial InventorySection -1 var nested:InventorySection Yes
tools InventorySection -1 var nested:InventorySection Yes
backpack InventorySection -1 var nested:InventorySection Yes
sortType SortType 1 1 byte No

Layout Notes: Fixed block contains nullable bits at offset 0, sortType at offset 1, offsets to variable data at offsets 2, 6, 10, 14, 18, 22, 26 respectively.

sortType enum values:

  • 0 = Name
  • 1 = Type
  • 2 = Rarity

SetCreativeItem

Property Value
Packet ID 0xAB (171)
Compressed No
Fixed Block Size 9 bytes
Variable Field Count 1
Max Size 15.6 MB
Variable Block Start 9

Fields

Name Type Offset Size Encoding Nullable
inventorySectionId int 0 4 int32_le No
slotId int 4 4 int32_le No
item ItemQuantity -1 var nested:ItemQuantity No
override boolean 8 1 byte No

Layout Notes: Fixed block contains inventorySectionId, slotId, override; item is variable-length starting at offset + 9


DropCreativeItem

Property Value
Packet ID 0xAC (172)
Compressed No
Variable Field Count 1
Max Size 15.6 MB

Fields

Name Type Offset Size Encoding Nullable
item ItemQuantity 0 var nested:ItemQuantity No

Layout Notes: Packet contains a single variable-length ItemQuantity field with no fixed header or nullable bits


SmartGiveCreativeItem

Property Value
Packet ID 0xAD (173)
Compressed No
Fixed Block Size 1 bytes
Variable Field Count 1
Max Size 15.6 MB
Variable Block Start 1

Fields

Name Type Offset Size Encoding Nullable
item ItemQuantity -1 var nested:ItemQuantity No
moveType SmartMoveType 0 1 byte No

Layout Notes: Fixed block contains only moveType byte at offset 0. Item field is variable-length, starting at offset 1.

moveType enum values:

  • 0 = EquipOrMergeStack
  • 1 = PutInHotbarOrWindow
  • 2 = PutInHotbarOrBackpack

DropItemStack

Property Value
Packet ID 0xAE (174)
Compressed No
Fixed Block Size 12 bytes
Variable Field Count 0
Max Size 12 bytes
Variable Block Start 12

Fields

Name Type Offset Size Encoding Nullable
inventorySectionId int 0 4 int32_le No
slotId int 4 4 int32_le No
quantity int 8 4 int32_le No

Layout Notes: Fixed block contains three 4-byte integers at offsets 0, 4, and 8 respectively


MoveItemStack

Property Value
Packet ID 0xAF (175)
Compressed No
Fixed Block Size 20 bytes
Variable Field Count 0
Max Size 20 bytes
Variable Block Start 20

Fields

Name Type Offset Size Encoding Nullable
fromSectionId int 0 4 int32_le No
fromSlotId int 4 4 int32_le No
quantity int 8 4 int32_le No
toSectionId int 12 4 int32_le No
toSlotId int 16 4 int32_le No

Layout Notes: Fixed block contains 5 integer fields, total size 20 bytes, no variable section or nullable bits


SmartMoveItemStack

Property Value
Packet ID 0xB0 (176)
Compressed No
Fixed Block Size 13 bytes
Variable Field Count 0
Max Size 13 bytes
Variable Block Start 13

Fields

Name Type Offset Size Encoding Nullable
fromSectionId int 0 4 int32_le No
fromSlotId int 4 4 int32_le No
quantity int 8 4 int32_le No
moveType SmartMoveType 12 1 byte No

Layout Notes: All fields are fixed size and located sequentially from the offset. No nullable bits or variable fields.

moveType enum values:

  • 0 = EquipOrMergeStack
  • 1 = PutInHotbarOrWindow
  • 2 = PutInHotbarOrBackpack

SetActiveSlot

Property Value
Packet ID 0xB1 (177)
Compressed No
Fixed Block Size 8 bytes
Variable Field Count 0
Max Size 8 bytes
Variable Block Start 8

Fields

Name Type Offset Size Encoding Nullable
inventorySectionId int 0 4 int32_le No
activeSlot int 4 4 int32_le No

Layout Notes: Fixed block contains two 4-byte integers at offsets 0 and 4. No nullable bits or variable section.


SwitchHotbarBlockSet

Property Value
Packet ID 0xB2 (178)
Compressed No
Fixed Block Size 1 bytes
Variable Field Count 1
Max Size 15.6 MB
Nullable Bit Field 1 byte(s)
Variable Block Start 1

Fields

Name Type Offset Size Encoding Nullable
itemId String -1 var var_string:utf8 Yes

Layout Notes: Fixed block contains nullable bits at offset 0; variable data (itemId) stored starting at offset 1, with offset stored in variable section if needed


InventoryAction

Property Value
Packet ID 0xB3 (179)
Compressed No
Fixed Block Size 6 bytes
Variable Field Count 0
Max Size 6 bytes
Variable Block Start 6

Fields

Name Type Offset Size Encoding Nullable
inventorySectionId int 0 4 int32_le No
inventoryActionType InventoryActionType 4 1 byte No
actionData byte 5 1 byte No

Layout Notes: Fixed block contains 3 fields: inventorySectionId (4 bytes), inventoryActionType (1 byte), actionData (1 byte). No nullable bits or variable-length fields.

inventoryActionType enum values:

  • 0 = TakeAll
  • 1 = PutAll
  • 2 = QuickStack
  • 3 = Sort

Back to Home

Clone this wiki locally