diff --git a/overviewer_core/world.py b/overviewer_core/world.py index 1eea314..1279144 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -727,6 +727,11 @@ class RegionSet(object): if key in ['minecraft:redstone_ore', 'minecraft:redstone_lamp']: if palette_entry['Properties']['lit'] == 'true': block += 1 + elif key.endswith('gate'): + facing = palette_entry['Properties']['facing'] + data = {'south': 0, 'west': 1, 'north': 2, 'east': 3}[facing] + if palette_entry['Properties']['open'] == 'true': + data += 4 elif key.endswith('rail'): shape = palette_entry['Properties']['shape'] print('shape:', shape)