mirror of
https://github.com/mat-1/azalea.git
synced 2024-09-19 14:42:32 +00:00
1d80f531b7
* 23w51b * make recalculate_near_end_of_path public so other plugins can do .after(recalculate_near_end_of_path) * update to 24w03a i think * start implementing 24w13a * registries work (but a lot of packets are still broken) * fix recipes and commands packets * i love codecs :D i am not going insane :D mojang's java is very readable :D * item components are "implemented" meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow * update to 1.20.5-pre3 * fix all the broken packets and clippy (mojang please don't do an update like this again or i will murder someone) * 1.20.5-rc1 * fix failing tests * 1.20.5
31 lines
1,021 B
Python
Executable file
31 lines
1,021 B
Python
Executable file
import lib.code.version
|
|
import lib.code.shapes
|
|
import lib.code.packet
|
|
import lib.code.blocks
|
|
import lib.code.utils
|
|
import lib.download
|
|
import lib.extract
|
|
import lib.utils
|
|
|
|
version_id = lib.code.version.get_version_id()
|
|
|
|
# TODO: pixlyzer is broken so we use old data
|
|
shape_datas = lib.extract.get_pixlyzer_data(
|
|
'1.20.3-pre4', 'shapes')
|
|
pixlyzer_block_datas = lib.extract.get_pixlyzer_data(
|
|
'1.20.3-pre4', 'blocks')
|
|
|
|
mappings = lib.download.get_mappings_for_version(version_id)
|
|
block_states_burger = lib.extract.get_block_states_burger(version_id)
|
|
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, 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)
|
|
|
|
lib.code.utils.fmt()
|
|
|
|
print('Done!')
|