Add container group for nodes with inventories

This commit is contained in:
Wuzzy 2017-02-13 19:06:12 +01:00
parent 3de20363b5
commit d6a404ce92
5 changed files with 16 additions and 9 deletions

5
API.md
View file

@ -86,6 +86,11 @@ These groups are used mostly for informational purposes
* `eatable`: Item can be *directly* eaten by wielding + left click (`on_use=item_eat`). Rating is the satiation gain
* `ammo=1`: Item is used as ammo for a weapon
* `ammo_bow=1`: Item is used as ammo for bows
* `container`: Node is a container which physically stores items within and has at least 1 inventory
* `container=2`: Has one inventory with list name `"main"`. Items can be placed and taken freely
* `container=3`: Same as `container=2`, but shulker boxes can not be inserted
* `container=4`: Furnace-like, has lists `"src"`, `"fuel"` and `"dst"`
* `container=1`: Other/unspecified container type
* `weapon=1`: Item is primarily (!) a weapon
* `tool=1`: Item is primarily (!) a tool