Id: 30
Hex: 1E
Bin: 00011110
Sent by the client
Fields:
Name | Type |
---|---|
type | varuint |
actions | inventoryAction[] |
Variants:
Variant | Field | Value |
---|---|---|
Normal 0 | type | 0 |
Normal 1 | type | 1 |
Use Item | type | 2 |
Use Item On Entity | type | 3 |
Release Item | type | 4 |
Additional Fields:
Name | Type |
---|---|
action type | varuint |
block position | blockPosition |
face | varint |
hotbar slot | varint |
item | slot |
player position | float<xyz> |
click position | float<xyz> |
Constants:
Name | Value |
---|---|
click block | 0 |
click air | 1 |
break block | 2 |
Additional Fields:
Name | Type |
---|---|
entity id | varlong |
action type | varuint |
hotbar slot | varint |
item | slot |
? | float<xyz> |
? | float<xyz> |
Constants:
Name | Value |
---|---|
interact | 0 |
attack | 1 |
Additional Fields:
Name | Type |
---|---|
action type | varuint |
hotbar slot | varint |
item | slot |
head position | float<xyz> |
Constants:
Name | Value |
---|---|
shoot bow | 0 |
consume | 1 |