Cache items into trapped chests
This commit is contained in:
@@ -233,8 +233,13 @@ CHESTS = [
|
||||
'chest',
|
||||
]
|
||||
|
||||
TRAPPED_CHESTS = [
|
||||
'trapped_chest',
|
||||
]
|
||||
|
||||
INDEXED = [
|
||||
'chest',
|
||||
'trapped_chest',
|
||||
]
|
||||
|
||||
|
||||
@@ -263,6 +268,11 @@ for block_name in CHESTS:
|
||||
for state in JSON_BLOCKS['minecraft:' + block_name]['states']:
|
||||
CHEST_IDS.add(state['id'])
|
||||
|
||||
TRAPPED_CHEST_IDS = set()
|
||||
for block_name in TRAPPED_CHESTS:
|
||||
for state in JSON_BLOCKS['minecraft:' + block_name]['states']:
|
||||
TRAPPED_CHEST_IDS.add(state['id'])
|
||||
|
||||
INDEXED_IDS = set()
|
||||
for block_name in INDEXED:
|
||||
for state in JSON_BLOCKS['minecraft:' + block_name]['states']:
|
||||
|
||||
Reference in New Issue
Block a user