0

Add campfire texture

This commit is contained in:
Joseph Camp
2020-06-20 14:40:20 +00:00
parent 9365cce160
commit 99864d99a7
3 changed files with 100 additions and 0 deletions

View File

@@ -800,6 +800,7 @@ class RegionSet(object):
'minecraft:honeycomb_block': (11503, 0),
'minecraft:honey_block': (11504, 0),
'minecraft:sweet_berry_bush': (11505, 0),
'minecraft:campfire': (11506, 0),
# adding a gap in the numbering of walls to keep them all
# in one numbering block starting at 21000
'minecraft:andesite_wall': (21000, 0),
@@ -1147,6 +1148,11 @@ class RegionSet(object):
data = {'south': 0, 'west': 1, 'north': 2, 'east': 3}[p['facing']]
if p['has_book'] == 'true':
data |= 4
elif key == 'minecraft:campfire':
p = palette_entry['Properties']
data = {'south': 0, 'west': 1, 'north': 2, 'east': 3}[p['facing']]
if p['lit'] == 'true':
data |= 4
return (block, data)