0

Amend stonecutter rendering

- Account for facing when generating textures
- Render block top at the appropriate height & add saw blade
This commit is contained in:
Joseph Camp
2020-05-04 20:13:50 +00:00
parent 3bfe52013d
commit cde059e9a6
2 changed files with 24 additions and 6 deletions

View File

@@ -1035,7 +1035,8 @@ class RegionSet(object):
data = {'east': 1, 'west': 2, 'south': 3, 'north': 4}[facing]
else:
data = 5
elif (key in ['minecraft:carved_pumpkin', 'minecraft:jack_o_lantern'] or
elif (key in ['minecraft:carved_pumpkin', 'minecraft:jack_o_lantern',
'minecraft:stonecutter'] or
key.endswith('glazed_terracotta')):
facing = palette_entry['Properties']['facing']
data = {'south': 0, 'west': 1, 'north': 2, 'east': 3}[facing]