0

Fixes snow height rendering

This commit is contained in:
Bernd Buschinski
2021-05-15 17:40:26 +02:00
parent 86963c5de9
commit 49339af795
2 changed files with 15 additions and 13 deletions

View File

@@ -927,6 +927,8 @@ class RegionSet(object):
elif key == 'minecraft:grass_block':
if palette_entry['Properties']['snowy'] == 'true':
data |= 0x10
elif key == 'minecraft:snow':
data = palette_entry['Properties']['layers']
elif key in ('minecraft:sunflower', 'minecraft:lilac', 'minecraft:tall_grass', 'minecraft:large_fern', 'minecraft:rose_bush', 'minecraft:peony'):
if palette_entry['Properties']['half'] == 'upper':
data |= 0x08