Simplify state machines

This commit is contained in:
2020-12-03 03:30:54 +00:00
parent 6ba9288fd7
commit 5a7a2f0113
4 changed files with 109 additions and 155 deletions
+2
View File
@@ -16,6 +16,8 @@ for name, data in JSON_BLOCKS.items():
for state in data['states']:
BLOCKS[state['id']] = name.replace('minecraft:', '')
BREAK_DISTANCE = 5
AIR = 0
SAND = 66
SINGLE_SNOW = 3921