Add a job for grabbing supplies from barrels

This commit is contained in:
2020-12-17 00:02:56 +00:00
parent 81f8a92cab
commit d108d7c817
3 changed files with 176 additions and 0 deletions
+6
View File
@@ -241,6 +241,7 @@ INDEXED = [
'chest',
'trapped_chest',
'emerald_block',
'barrel',
]
@@ -274,6 +275,11 @@ for block_name in ['chest']:
for state in JSON_BLOCKS['minecraft:' + block_name]['states']:
CHEST_IDS.add(state['id'])
BARREL_IDS = set()
for block_name in ['barrel']:
for state in JSON_BLOCKS['minecraft:' + block_name]['states']:
BARREL_IDS.add(state['id'])
TRAPPED_CHEST_IDS = set()
for block_name in ['trapped_chest']:
for state in JSON_BLOCKS['minecraft:' + block_name]['states']: