0

fix repeate, comparator orientation + powered state

This commit is contained in:
Danial Nickford
2018-09-20 08:30:39 +12:00
parent ed57c751e2
commit f7f134464a

View File

@@ -728,6 +728,8 @@ class RegionSet(object):
elif key in ['minecraft:comparator', 'minecraft:repeater']:
if palette_entry['Properties']['powered'] == 'true':
block += 1
facing = palette_entry['Properties']['facing']
data = {'south': 0, 'west': 1, 'north': 2, 'east': 3}[facing]
elif key == 'minecraft:daylight_detector':
if palette_entry['Properties']['inverted'] == 'true':
block = 178