0

dispenser, dropper orientation

This commit is contained in:
Danial Nickford
2018-09-21 09:47:13 +12:00
parent ff26eaf099
commit 50909270fe

View File

@@ -767,7 +767,7 @@ class RegionSet(object):
data = {'east': 1, 'west': 2, 'south': 3, 'north': 4}[facing] data = {'east': 1, 'west': 2, 'south': 3, 'north': 4}[facing]
elif key == 'minecraft:nether_wart': elif key == 'minecraft:nether_wart':
data = int(palette_entry['Properties']['age']) data = int(palette_entry['Properties']['age'])
elif key.endswith('shulker_box') or key.endswith('piston') or key in ['minecraft:observer']: elif key.endswith('shulker_box') or key.endswith('piston') or key in ['minecraft:observer', 'minecraft:dropper', 'minecraft:dispenser']:
facing = palette_entry['Properties']['facing'] facing = palette_entry['Properties']['facing']
data = {'down': 0, 'up': 1, 'north': 2, 'south': 3, 'west': 4, 'east': 5}[facing] data = {'down': 0, 'up': 1, 'north': 2, 'south': 3, 'west': 4, 'east': 5}[facing]
elif key.endswith('_log'): elif key.endswith('_log'):