0

Added Respawn Anchor Charges

- also removed block_lodestone and block_lodestone from block_class_ancil
  as they are not used in generate_pseudo_data
This commit is contained in:
Bernd Buschinski
2021-06-06 19:36:40 +02:00
parent 3488450531
commit b37f8b4a53
3 changed files with 13 additions and 4 deletions

View File

@@ -1243,6 +1243,8 @@ class RegionSet(object):
data |= {'south': 0, 'west': 1, 'north': 2, 'east': 3}[facing]
if palette_entry['Properties'].get('eye', 'false') == 'true':
data |= 4
elif key == 'minecraft:respawn_anchor':
data = int(palette_entry['Properties']['charges'])
elif key == 'minecraft:cauldron':
data = int(palette_entry['Properties'].get('level', '0'))
elif key == 'minecraft:structure_block':