Support harvesting and caching red sand
This commit is contained in:
1 parent
9918baefdc
commit
ebf325f48b
7 files changed
+48
-31
No files matched your search
@@ -38,6 +38,7 @@ BREAK_DISTANCE = 6
|
||||
AIR = MCD_BLOCKS['air']['minStateId']
|
||||
STONE = MCD_BLOCKS['stone']['minStateId']
|
||||
SAND = MCD_BLOCKS['sand']['minStateId']
|
||||
RED_SAND = MCD_BLOCKS['red_sand']['minStateId']
|
||||
SOUL_TORCH = MCD_BLOCKS['soul_torch']['minStateId']
|
||||
EMERALD_BLOCK = MCD_BLOCKS['emerald_block']['minStateId']
|
||||
SINGLE_SNOW = MCD_BLOCKS.get('snow', MCD_BLOCKS.get('snow_layer', {})).get(
|
||||
@@ -56,6 +57,9 @@ def get_set(names):
|
||||
return result
|
||||
|
||||
|
||||
SAND_IDS = get_set(['sand', 'red_sand'])
|
||||
|
||||
|
||||
# Collision geometry is safer for navigation than the old hard-coded 1.16 list.
|
||||
NON_SOLID_IDS = {
|
||||
state_id for state_id, boxes in COLLISION_BOXES.items() if not boxes
|
||||
|
||||
Reference in new issue
Block a user