0

Amend loom rendering

- Account for render direction & block facing data
This commit is contained in:
Joseph Camp
2020-06-20 23:45:20 +00:00
parent 9ee1a6a3dd
commit 297a940a4b
2 changed files with 16 additions and 7 deletions

View File

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