home / bedrock160 / types / inventory-action
Inventory action
Fields
| Name | Type | When | Default |
|---|---|---|---|
| source | varuint | ||
| container | varint | source is equal to 0 |
-1 |
| ? | varuint | source is equal to 2 |
|
| slot | varuint | ||
| old item | slot | ||
| new item | slot |
source
Constants:
| Name | Value |
|---|---|
| container | 0 |
| world | 2 |
| creative | 3 |