Use shovels, land in water

This commit is contained in:
2020-12-02 11:12:51 +00:00
parent 00846538e8
commit 6ba9288fd7
7 changed files with 36 additions and 3 deletions
+9
View File
@@ -24,6 +24,10 @@ SOUL_TORCH = 4008
TEST_BLOCK = (616, 78, 496)
WATER = [
'water',
]
AVOID = [
'lava',
'water',
@@ -253,6 +257,11 @@ for block_name in AVOID:
for state in JSON_BLOCKS['minecraft:' + block_name]['states']:
AVOID_IDS.add(state['id'])
WATER_IDS = set()
for block_name in WATER:
for state in JSON_BLOCKS['minecraft:' + block_name]['states']:
WATER_IDS.add(state['id'])
LOG_IDS = set()
for block_name in LOGS:
for state in JSON_BLOCKS['minecraft:' + block_name]['states']: