From 7405427199e5a994d4a6a706f84434a69cb7a7d9 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Fri, 14 Jul 2023 22:20:40 -0500 Subject: Mining (#95) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * more mining stuff * initialize azalea-tags crate * more mining stuff 2 * mining in ecs * well technically mining works but no codegen for how long it takes to mine each block yet * rename downloads to __cache__ it was bothering me since it's not *just* downloads * codegen block behavior * fix not sending packet to finish breaking block * mining animation 🎉 * clippy * cleanup, move Client::mine into a client extension * add azalea/src/mining.rs --------- Co-authored-by: mat --- codegen/genblocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'codegen/genblocks.py') diff --git a/codegen/genblocks.py b/codegen/genblocks.py index 45e7683e..5e28b60a 100755 --- a/codegen/genblocks.py +++ b/codegen/genblocks.py @@ -20,7 +20,7 @@ ordered_blocks = lib.extract.get_ordered_blocks_burger(version_id) block_states_report = lib.extract.get_block_states_report(version_id) lib.code.blocks.generate_blocks( - block_states_burger, block_states_report, ordered_blocks, mappings) + block_states_burger, block_states_report, pixlyzer_block_datas, ordered_blocks, mappings) lib.code.shapes.generate_block_shapes( pixlyzer_block_datas, shape_datas['shapes'], shape_datas['aabbs'], block_states_report, block_states_burger, mappings) -- cgit v1.2.3