Fix cake rendering
- Use 'bites' property to determine which cut of cake to render
This commit is contained in:
@@ -1163,6 +1163,8 @@ class RegionSet(object):
|
||||
elif key == 'minecraft:structure_block':
|
||||
block_mode = palette_entry['Properties'].get('mode', 'save')
|
||||
data = {'save': 0, 'load': 1, 'corner': 2, 'data': 3}.get(block_mode, 0)
|
||||
elif key == 'minecraft:cake':
|
||||
data = int(palette_entry['Properties'].get('bites', '0'))
|
||||
|
||||
return (block, data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user