mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-03 22:29:07 +02:00
resource: add WallSign flag to block types
Allow to distinguish wall signs from freestanding or -hanging signs.
This commit is contained in:
parent
abf87e75ee
commit
48a6e242ea
5 changed files with 84 additions and 51 deletions
|
@ -45,6 +45,7 @@ for name, info in blocks.items():
|
|||
'birch': False,
|
||||
'spruce': False,
|
||||
'water': False,
|
||||
'wall_sign': False,
|
||||
'sign_material': None,
|
||||
}
|
||||
|
||||
|
@ -59,11 +60,13 @@ for name, info in blocks.items():
|
|||
if color:
|
||||
output[id]['color'] = color
|
||||
output[id]['opaque'] = True
|
||||
output[id]['grass'] = info.get('grass', False)
|
||||
output[id]['foliage'] = info.get('foliage', False)
|
||||
output[id]['birch'] = info.get('birch', False)
|
||||
output[id]['spruce'] = info.get('spruce', False)
|
||||
output[id]['water'] = info.get('water', False)
|
||||
|
||||
output[id]['grass'] = info.get('grass', False)
|
||||
output[id]['foliage'] = info.get('foliage', False)
|
||||
output[id]['birch'] = info.get('birch', False)
|
||||
output[id]['spruce'] = info.get('spruce', False)
|
||||
output[id]['water'] = info.get('water', False)
|
||||
output[id]['wall_sign'] = info.get('wall_sign', False)
|
||||
|
||||
output[id]['sign_material'] = info.get('sign_material')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue