diff options
Diffstat (limited to 'codegen/genblocks.py')
| -rwxr-xr-x | codegen/genblocks.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/codegen/genblocks.py b/codegen/genblocks.py index 6b802771..45e7683e 100755 --- a/codegen/genblocks.py +++ b/codegen/genblocks.py @@ -9,8 +9,10 @@ import lib.utils version_id = lib.code.version.get_version_id() -shape_datas = lib.extract.get_generator_mod_data( - version_id, 'blockCollisionShapes') +shape_datas = lib.extract.get_pixlyzer_data( + version_id, 'shapes') +pixlyzer_block_datas = lib.extract.get_pixlyzer_data( + version_id, 'blocks') mappings = lib.download.get_mappings_for_version(version_id) block_states_burger = lib.extract.get_block_states_burger(version_id) @@ -21,7 +23,7 @@ lib.code.blocks.generate_blocks( block_states_burger, block_states_report, ordered_blocks, mappings) lib.code.shapes.generate_block_shapes( - shape_datas['blocks'], shape_datas['shapes'], block_states_report, block_states_burger, mappings) + pixlyzer_block_datas, shape_datas['shapes'], shape_datas['aabbs'], block_states_report, block_states_burger, mappings) lib.code.utils.fmt() |
