@@ -1110,12 +1110,13 @@ class RegionSet(object):
|
|||||||
elif key.endswith('_door'):
|
elif key.endswith('_door'):
|
||||||
p = palette_entry['Properties']
|
p = palette_entry['Properties']
|
||||||
if p['hinge'] == 'left': data |= 0x10
|
if p['hinge'] == 'left': data |= 0x10
|
||||||
|
if p['open'] == 'true': data |= 0x04
|
||||||
if p['half'] == 'upper': data |= 0x08
|
if p['half'] == 'upper': data |= 0x08
|
||||||
data |= {
|
data |= {
|
||||||
'north': 0x01,
|
'north': 0x03,
|
||||||
'west': 0x04,
|
'west': 0x02,
|
||||||
'south': 0x03,
|
'south': 0x01,
|
||||||
'east': 0x02,
|
'east': 0x00,
|
||||||
}[p['facing']]
|
}[p['facing']]
|
||||||
elif key.endswith('_trapdoor'):
|
elif key.endswith('_trapdoor'):
|
||||||
p = palette_entry['Properties']
|
p = palette_entry['Properties']
|
||||||
|
|||||||
Reference in New Issue
Block a user