Skip to content

Block Data

Jenya705 edited this page Nov 28, 2021 · 3 revisions

Barrel block

Fields

Field name Field description
Watchers Players watching in barrel
Inventory Barrel inventory
Direction Barrel direction

JSON Example

{
  "watchers": [
    "ca78e928-484b-36ff-bc1e-ade3e86597df"
  ],
  "inventory": {
    "size": 27
  },
  "direction": "EAST"
}

Command block

Fields

Field name Field description
Command Command written in command block

JSON Example

{
  "command": "/gamemode creative @a"
}

Chest

Fields

Field name Field description
Watchers Players watching in chest
Inventory Chest inventory
Direction Chest direction

JSON Example

{
  "watchers": [
    "ca78e928-484b-36ff-bc1e-ade3e86597df"
  ],
  "inventory": {
    "size": 27
  },
  "direction": "EAST"
}
Clone this wiki locally