Add a "uses" field, add a gold bow

This commit is contained in:
upsilon
2017-06-20 17:32:00 +02:00
parent ccd667f9b7
commit 541f102b15
4 changed files with 21 additions and 8 deletions

View File

@ -36,6 +36,7 @@ Definition: definition table, containing:
* description (highly recommended): description of the bow.
* texture (essential): texture of the bow, shown in inventory.
* groups (optional): groups of the item.
* uses: number of uses of the bow (default is 50).
* allow_shot (optional): function(player, itemstack):
- player: the player using the bow
- itemstack: the itemstack of the bow