amulet-core 1.9.24__tar.gz → 2.0a3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of amulet-core might be problematic. Click here for more details.
- amulet_core-2.0a3/MANIFEST.in +1 -0
- {amulet_core-1.9.24 → amulet_core-2.0a3}/PKG-INFO +103 -98
- {amulet_core-1.9.24 → amulet_core-2.0a3}/README.md +71 -71
- {amulet_core-1.9.24 → amulet_core-2.0a3}/pyproject.toml +9 -9
- {amulet_core-1.9.24 → amulet_core-2.0a3}/setup.cfg +75 -54
- amulet_core-2.0a3/setup.py +55 -0
- amulet_core-2.0a3/src/amulet/__init__.py.cpp +39 -0
- amulet_core-2.0a3/src/amulet/__init__.pyi +30 -0
- amulet_core-2.0a3/src/amulet/__pyinstaller/__init__.py +2 -0
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet/__pyinstaller/hook-amulet.py +4 -4
- amulet_core-2.0a3/src/amulet/_init.py +28 -0
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet/_version.py +21 -21
- amulet_core-2.0a3/src/amulet/biome.cpp +36 -0
- amulet_core-2.0a3/src/amulet/biome.hpp +43 -0
- amulet_core-2.0a3/src/amulet/biome.py.cpp +122 -0
- amulet_core-2.0a3/src/amulet/biome.pyi +77 -0
- amulet_core-2.0a3/src/amulet/block.cpp +435 -0
- amulet_core-2.0a3/src/amulet/block.hpp +119 -0
- amulet_core-2.0a3/src/amulet/block.py.cpp +377 -0
- amulet_core-2.0a3/src/amulet/block.pyi +273 -0
- amulet_core-2.0a3/src/amulet/block_entity.cpp +12 -0
- amulet_core-2.0a3/src/amulet/block_entity.hpp +56 -0
- amulet_core-2.0a3/src/amulet/block_entity.py.cpp +115 -0
- amulet_core-2.0a3/src/amulet/block_entity.pyi +80 -0
- amulet_core-2.0a3/src/amulet/chunk.cpp +16 -0
- amulet_core-2.0a3/src/amulet/chunk.hpp +99 -0
- amulet_core-2.0a3/src/amulet/chunk.py.cpp +80 -0
- amulet_core-2.0a3/src/amulet/chunk.pyi +30 -0
- amulet_core-2.0a3/src/amulet/chunk_/components/biome.py +155 -0
- amulet_core-2.0a3/src/amulet/chunk_/components/block_entity.py +117 -0
- amulet_core-2.0a3/src/amulet/chunk_/components/entity.py +64 -0
- amulet_core-2.0a3/src/amulet/chunk_/components/height_2d.py +16 -0
- amulet_core-2.0a3/src/amulet/chunk_components/_init_chunk_components.py.cpp +11 -0
- amulet_core-2.0a3/src/amulet/chunk_components/biome_3d_component.cpp +5 -0
- amulet_core-2.0a3/src/amulet/chunk_components/biome_3d_component.hpp +79 -0
- amulet_core-2.0a3/src/amulet/chunk_components/block_component.cpp +41 -0
- amulet_core-2.0a3/src/amulet/chunk_components/block_component.hpp +88 -0
- amulet_core-2.0a3/src/amulet/chunk_components/block_component.py.cpp +51 -0
- amulet_core-2.0a3/src/amulet/chunk_components/block_entity_component.cpp +5 -0
- amulet_core-2.0a3/src/amulet/chunk_components/block_entity_component.hpp +146 -0
- amulet_core-2.0a3/src/amulet/chunk_components/section_array_map.cpp +129 -0
- amulet_core-2.0a3/src/amulet/chunk_components/section_array_map.hpp +147 -0
- amulet_core-2.0a3/src/amulet/chunk_components/section_array_map.py.cpp +271 -0
- amulet_core-2.0a3/src/amulet/chunk_components.pyi +95 -0
- amulet_core-2.0a3/src/amulet/collections/collections.py.cpp +19 -0
- amulet_core-2.0a3/src/amulet/collections/eq.py.hpp +37 -0
- amulet_core-2.0a3/src/amulet/collections/hash.py.hpp +27 -0
- amulet_core-2.0a3/src/amulet/collections/holder.py.cpp +11 -0
- amulet_core-2.0a3/src/amulet/collections/holder.py.hpp +37 -0
- amulet_core-2.0a3/src/amulet/collections/iterator.py.cpp +36 -0
- amulet_core-2.0a3/src/amulet/collections/iterator.py.hpp +80 -0
- amulet_core-2.0a3/src/amulet/collections/mapping.py.cpp +44 -0
- amulet_core-2.0a3/src/amulet/collections/mapping.py.hpp +192 -0
- amulet_core-2.0a3/src/amulet/collections/mutable_mapping.py.cpp +31 -0
- amulet_core-2.0a3/src/amulet/collections/mutable_mapping.py.hpp +215 -0
- amulet_core-2.0a3/src/amulet/collections/sequence.py.hpp +163 -0
- amulet_core-2.0a3/src/amulet/collections.pyi +37 -0
- amulet_core-2.0a3/src/amulet/data_types.py +29 -0
- amulet_core-2.0a3/src/amulet/entity.py +180 -0
- {amulet_core-1.9.24/amulet/api → amulet_core-2.0a3/src/amulet}/errors.py +63 -119
- amulet_core-2.0a3/src/amulet/game/__init__.py +7 -0
- amulet_core-2.0a3/src/amulet/game/_game.py +152 -0
- amulet_core-2.0a3/src/amulet/game/_universal/__init__.py +1 -0
- amulet_core-2.0a3/src/amulet/game/_universal/_biome.py +17 -0
- amulet_core-2.0a3/src/amulet/game/_universal/_block.py +47 -0
- amulet_core-2.0a3/src/amulet/game/_universal/_version.py +68 -0
- amulet_core-2.0a3/src/amulet/game/abc/__init__.py +22 -0
- amulet_core-2.0a3/src/amulet/game/abc/_block_specification.py +150 -0
- amulet_core-2.0a3/src/amulet/game/abc/biome.py +213 -0
- amulet_core-2.0a3/src/amulet/game/abc/block.py +331 -0
- amulet_core-2.0a3/src/amulet/game/abc/game_version_container.py +25 -0
- amulet_core-2.0a3/src/amulet/game/abc/json_interface.py +27 -0
- amulet_core-2.0a3/src/amulet/game/abc/version.py +44 -0
- amulet_core-2.0a3/src/amulet/game/bedrock/__init__.py +1 -0
- amulet_core-2.0a3/src/amulet/game/bedrock/_biome.py +35 -0
- amulet_core-2.0a3/src/amulet/game/bedrock/_block.py +42 -0
- amulet_core-2.0a3/src/amulet/game/bedrock/_version.py +165 -0
- amulet_core-2.0a3/src/amulet/game/java/__init__.py +2 -0
- amulet_core-2.0a3/src/amulet/game/java/_biome.py +35 -0
- amulet_core-2.0a3/src/amulet/game/java/_block.py +60 -0
- amulet_core-2.0a3/src/amulet/game/java/_version.py +176 -0
- amulet_core-2.0a3/src/amulet/game/translate/__init__.py +12 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/__init__.py +15 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/_code_functions/_text.py +553 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/_code_functions/banner_pattern.py +67 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/_code_functions/bedrock_chest_connection.py +152 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/_code_functions/bedrock_moving_block_pos.py +88 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/_code_functions/bedrock_sign.py +152 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/_code_functions/bedrock_skull_rotation.py +16 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/_code_functions/custom_name.py +146 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/_frozen.py +66 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/_state.py +54 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/_typing.py +98 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/abc.py +116 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/carry_nbt.py +160 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/carry_properties.py +80 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/code.py +143 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/map_block_name.py +66 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/map_nbt.py +111 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/map_properties.py +93 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/multiblock.py +112 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/new_block.py +42 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/new_entity.py +43 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/new_nbt.py +206 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/new_properties.py +64 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/sequence.py +51 -0
- amulet_core-2.0a3/src/amulet/game/translate/_functions/walk_input_nbt.py +331 -0
- amulet_core-2.0a3/src/amulet/game/translate/_translator.py +433 -0
- amulet_core-2.0a3/src/amulet/io/binary_reader.hpp +44 -0
- amulet_core-2.0a3/src/amulet/io/binary_writer.hpp +30 -0
- amulet_core-2.0a3/src/amulet/item.py +75 -0
- amulet_core-2.0a3/src/amulet/level/__init__.pyi +27 -0
- amulet_core-2.0a3/src/amulet/level/_init_level.py.cpp +30 -0
- amulet_core-2.0a3/src/amulet/level/_load.py +100 -0
- amulet_core-2.0a3/src/amulet/level/abc/__init__.py +12 -0
- amulet_core-2.0a3/src/amulet/level/abc/_chunk_handle.py +335 -0
- amulet_core-2.0a3/src/amulet/level/abc/_dimension.py +86 -0
- amulet_core-2.0a3/src/amulet/level/abc/_history/__init__.py +1 -0
- amulet_core-2.0a3/src/amulet/level/abc/_history/_cache.py +224 -0
- amulet_core-2.0a3/src/amulet/level/abc/_history/_history_manager.py +291 -0
- amulet_core-2.0a3/src/amulet/level/abc/_level/__init__.py +5 -0
- amulet_core-2.0a3/src/amulet/level/abc/_level/_compactable_level.py +10 -0
- amulet_core-2.0a3/src/amulet/level/abc/_level/_creatable_level.py +29 -0
- amulet_core-2.0a3/src/amulet/level/abc/_level/_disk_level.py +17 -0
- amulet_core-2.0a3/src/amulet/level/abc/_level/_level.py +453 -0
- amulet_core-2.0a3/src/amulet/level/abc/_level/_loadable_level.py +42 -0
- amulet_core-2.0a3/src/amulet/level/abc/_player_storage.py +7 -0
- amulet_core-2.0a3/src/amulet/level/abc/_raw_level.py +187 -0
- amulet_core-2.0a3/src/amulet/level/abc/_registry.py +40 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/__init__.py +2 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_chunk_handle.py +19 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_dimension.py +22 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_level.py +187 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_raw/__init__.py +5 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_raw/_actor_counter.py +53 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_raw/_chunk.py +54 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_raw/_chunk_decode.py +668 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_raw/_chunk_encode.py +602 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_raw/_constant.py +9 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_raw/_dimension.py +343 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_raw/_level.py +463 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_raw/_level_dat.py +90 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/_raw/_typing.py +6 -0
- {amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk → amulet_core-2.0a3/src/amulet/level/bedrock/_raw}/leveldb_chunk_versions.py +83 -79
- amulet_core-2.0a3/src/amulet/level/bedrock/chunk/__init__.py +1 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/chunk/_chunk.py +126 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/chunk/components/chunk_version.py +12 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/chunk/components/finalised_state.py +13 -0
- amulet_core-2.0a3/src/amulet/level/bedrock/chunk/components/raw_chunk.py +15 -0
- amulet_core-2.0a3/src/amulet/level/java/__init__.pyi +21 -0
- amulet_core-2.0a3/src/amulet/level/java/__init_java.py.cpp +26 -0
- amulet_core-2.0a3/src/amulet/level/java/_chunk_handle.py +17 -0
- amulet_core-2.0a3/src/amulet/level/java/_chunk_handle.pyi +15 -0
- amulet_core-2.0a3/src/amulet/level/java/_dimension.py +20 -0
- amulet_core-2.0a3/src/amulet/level/java/_dimension.pyi +13 -0
- amulet_core-2.0a3/src/amulet/level/java/_level.py +184 -0
- amulet_core-2.0a3/src/amulet/level/java/_level.pyi +120 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/__init__.pyi +19 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/__init_java_raw.py.cpp +36 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_chunk.pyi +23 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_chunk_decode.py +561 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_chunk_encode.py +463 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_constant.py +9 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_constant.pyi +20 -0
- {amulet_core-1.9.24/amulet/level/formats/anvil_world/data_pack → amulet_core-2.0a3/src/amulet/level/java/_raw/_data_pack}/__init__.py +2 -2
- amulet_core-2.0a3/src/amulet/level/java/_raw/_data_pack/__init__.pyi +8 -0
- {amulet_core-1.9.24/amulet/level/formats/anvil_world/data_pack → amulet_core-2.0a3/src/amulet/level/java/_raw/_data_pack}/data_pack.py +241 -224
- amulet_core-2.0a3/src/amulet/level/java/_raw/_data_pack/data_pack.pyi +197 -0
- {amulet_core-1.9.24/amulet/level/formats/anvil_world/data_pack → amulet_core-2.0a3/src/amulet/level/java/_raw/_data_pack}/data_pack_manager.py +77 -77
- amulet_core-2.0a3/src/amulet/level/java/_raw/_data_pack/data_pack_manager.pyi +75 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_dimension.py +86 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_dimension.pyi +72 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_level.py +507 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_level.pyi +238 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_typing.py +3 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/_typing.pyi +5 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/java_chunk_decode.cpp +533 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/java_chunk_decode.hpp +23 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/java_chunk_encode.cpp +25 -0
- amulet_core-2.0a3/src/amulet/level/java/_raw/java_chunk_encode.hpp +23 -0
- amulet_core-2.0a3/src/amulet/level/java/anvil/__init__.py +2 -0
- amulet_core-2.0a3/src/amulet/level/java/anvil/__init__.pyi +11 -0
- amulet_core-1.9.24/amulet/level/formats/anvil_world/dimension.py → amulet_core-2.0a3/src/amulet/level/java/anvil/_dimension.py +170 -177
- amulet_core-2.0a3/src/amulet/level/java/anvil/_dimension.pyi +109 -0
- amulet_core-1.9.24/amulet/level/formats/anvil_world/region.py → amulet_core-2.0a3/src/amulet/level/java/anvil/_region.py +421 -432
- amulet_core-2.0a3/src/amulet/level/java/anvil/_region.pyi +197 -0
- {amulet_core-1.9.24/amulet/level/formats/anvil_world → amulet_core-2.0a3/src/amulet/level/java/anvil}/_sector_manager.py +223 -291
- amulet_core-2.0a3/src/amulet/level/java/anvil/_sector_manager.pyi +142 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk.pyi +81 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_/_chunk.py +260 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_/components/inhabited_time.py +12 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_/components/last_update.py +12 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_/components/legacy_version.py +12 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_/components/light_populated.py +12 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_/components/named_height_2d.py +37 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_/components/status.py +11 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_/components/terrain_populated.py +12 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_components/_init_java_chunk_components.py.cpp +13 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_components/data_version_component.cpp +32 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_components/data_version_component.hpp +31 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_components/data_version_component.py.cpp +23 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_components/java_raw_chunk_component.cpp +56 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_components/java_raw_chunk_component.hpp +45 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_components/java_raw_chunk_component.py.cpp +51 -0
- amulet_core-2.0a3/src/amulet/level/java/chunk_components.pyi +22 -0
- amulet_core-2.0a3/src/amulet/level/java/java_chunk.cpp +170 -0
- amulet_core-2.0a3/src/amulet/level/java/java_chunk.hpp +141 -0
- amulet_core-2.0a3/src/amulet/level/java/java_chunk.py.cpp +161 -0
- amulet_core-2.0a3/src/amulet/level/java/long_array.hpp +175 -0
- amulet_core-2.0a3/src/amulet/level/java/long_array.py.cpp +192 -0
- amulet_core-2.0a3/src/amulet/level/java/long_array.pyi +38 -0
- amulet_core-2.0a3/src/amulet/level/temporary_level/__init__.py +1 -0
- amulet_core-2.0a3/src/amulet/level/temporary_level/_level.py +16 -0
- amulet_core-2.0a3/src/amulet/palette/__init__.pyi +8 -0
- amulet_core-2.0a3/src/amulet/palette/_init_palette.py.cpp +18 -0
- amulet_core-2.0a3/src/amulet/palette/biome_palette.hpp +85 -0
- amulet_core-2.0a3/src/amulet/palette/biome_palette.py.cpp +102 -0
- amulet_core-2.0a3/src/amulet/palette/biome_palette.pyi +45 -0
- amulet_core-2.0a3/src/amulet/palette/block_palette.cpp +32 -0
- amulet_core-2.0a3/src/amulet/palette/block_palette.hpp +93 -0
- amulet_core-2.0a3/src/amulet/palette/block_palette.py.cpp +102 -0
- amulet_core-2.0a3/src/amulet/palette/block_palette.pyi +45 -0
- {amulet_core-1.9.24/amulet/api → amulet_core-2.0a3/src/amulet}/player.py +64 -65
- amulet_core-2.0a3/src/amulet/pybind11/collections.hpp +76 -0
- amulet_core-2.0a3/src/amulet/pybind11/py_module.hpp +69 -0
- amulet_core-2.0a3/src/amulet/pybind11/python.hpp +25 -0
- amulet_core-2.0a3/src/amulet/pybind11/types.hpp +17 -0
- {amulet_core-1.9.24/amulet/api → amulet_core-2.0a3/src/amulet}/selection/__init__.py +2 -2
- {amulet_core-1.9.24/amulet/api → amulet_core-2.0a3/src/amulet}/selection/abstract_selection.py +342 -315
- {amulet_core-1.9.24/amulet/api → amulet_core-2.0a3/src/amulet}/selection/box.py +852 -803
- {amulet_core-1.9.24/amulet/api → amulet_core-2.0a3/src/amulet}/selection/group.py +481 -486
- amulet_core-2.0a3/src/amulet/utils/__init__.pyi +28 -0
- amulet_core-2.0a3/src/amulet/utils/_init_utils.py.cpp +18 -0
- amulet_core-2.0a3/src/amulet/utils/call_spec/__init__.py +24 -0
- amulet_core-2.0a3/src/amulet/utils/call_spec/__init__.pyi +53 -0
- amulet_core-2.0a3/src/amulet/utils/call_spec/_call_spec.py +262 -0
- amulet_core-2.0a3/src/amulet/utils/call_spec/_call_spec.pyi +272 -0
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet/utils/format_utils.py +41 -41
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet/utils/generator.py +18 -15
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet/utils/matrix.py +243 -243
- amulet_core-2.0a3/src/amulet/utils/matrix.pyi +177 -0
- amulet_core-2.0a3/src/amulet/utils/numpy.hpp +36 -0
- amulet_core-2.0a3/src/amulet/utils/numpy.py.cpp +59 -0
- amulet_core-2.0a3/src/amulet/utils/numpy.pyi +11 -0
- amulet_core-2.0a3/src/amulet/utils/numpy_helpers.py +19 -0
- amulet_core-2.0a3/src/amulet/utils/shareable_lock.py +335 -0
- amulet_core-2.0a3/src/amulet/utils/shareable_lock.pyi +190 -0
- amulet_core-2.0a3/src/amulet/utils/signal/__init__.py +10 -0
- amulet_core-2.0a3/src/amulet/utils/signal/__init__.pyi +25 -0
- amulet_core-2.0a3/src/amulet/utils/signal/_signal.py +228 -0
- amulet_core-2.0a3/src/amulet/utils/signal/_signal.pyi +84 -0
- amulet_core-2.0a3/src/amulet/utils/task_manager.py +235 -0
- amulet_core-2.0a3/src/amulet/utils/task_manager.pyi +168 -0
- amulet_core-2.0a3/src/amulet/utils/typed_property.py +111 -0
- amulet_core-2.0a3/src/amulet/utils/typing.py +4 -0
- amulet_core-2.0a3/src/amulet/utils/typing.pyi +6 -0
- amulet_core-2.0a3/src/amulet/utils/weakref.py +70 -0
- amulet_core-2.0a3/src/amulet/utils/weakref.pyi +50 -0
- amulet_core-2.0a3/src/amulet/utils/world_utils.py +102 -0
- amulet_core-2.0a3/src/amulet/utils/world_utils.pyi +109 -0
- amulet_core-2.0a3/src/amulet/version.cpp +136 -0
- amulet_core-2.0a3/src/amulet/version.hpp +142 -0
- amulet_core-2.0a3/src/amulet/version.py.cpp +281 -0
- amulet_core-2.0a3/src/amulet/version.pyi +94 -0
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet_core.egg-info/PKG-INFO +103 -98
- amulet_core-2.0a3/src/amulet_core.egg-info/SOURCES.txt +287 -0
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet_core.egg-info/requires.txt +8 -3
- amulet_core-1.9.24/MANIFEST.in +0 -1
- amulet_core-1.9.24/amulet/__init__.py +0 -27
- amulet_core-1.9.24/amulet/__pyinstaller/__init__.py +0 -2
- amulet_core-1.9.24/amulet/api/__init__.py +0 -2
- amulet_core-1.9.24/amulet/api/abstract_base_entity.py +0 -128
- amulet_core-1.9.24/amulet/api/block.py +0 -630
- amulet_core-1.9.24/amulet/api/block_entity.py +0 -71
- amulet_core-1.9.24/amulet/api/cache.py +0 -107
- amulet_core-1.9.24/amulet/api/chunk/__init__.py +0 -6
- amulet_core-1.9.24/amulet/api/chunk/biomes.py +0 -207
- amulet_core-1.9.24/amulet/api/chunk/block_entity_dict.py +0 -175
- amulet_core-1.9.24/amulet/api/chunk/blocks.py +0 -46
- amulet_core-1.9.24/amulet/api/chunk/chunk.py +0 -389
- amulet_core-1.9.24/amulet/api/chunk/entity_list.py +0 -75
- amulet_core-1.9.24/amulet/api/chunk/status.py +0 -167
- amulet_core-1.9.24/amulet/api/data_types/__init__.py +0 -4
- amulet_core-1.9.24/amulet/api/data_types/generic_types.py +0 -4
- amulet_core-1.9.24/amulet/api/data_types/operation_types.py +0 -16
- amulet_core-1.9.24/amulet/api/data_types/world_types.py +0 -49
- amulet_core-1.9.24/amulet/api/data_types/wrapper_types.py +0 -71
- amulet_core-1.9.24/amulet/api/entity.py +0 -74
- amulet_core-1.9.24/amulet/api/history/__init__.py +0 -36
- amulet_core-1.9.24/amulet/api/history/base/__init__.py +0 -3
- amulet_core-1.9.24/amulet/api/history/base/base_history.py +0 -26
- amulet_core-1.9.24/amulet/api/history/base/history_manager.py +0 -63
- amulet_core-1.9.24/amulet/api/history/base/revision_manager.py +0 -73
- amulet_core-1.9.24/amulet/api/history/changeable.py +0 -15
- amulet_core-1.9.24/amulet/api/history/data_types.py +0 -7
- amulet_core-1.9.24/amulet/api/history/history_manager/__init__.py +0 -3
- amulet_core-1.9.24/amulet/api/history/history_manager/container.py +0 -102
- amulet_core-1.9.24/amulet/api/history/history_manager/database.py +0 -279
- amulet_core-1.9.24/amulet/api/history/history_manager/meta.py +0 -93
- amulet_core-1.9.24/amulet/api/history/history_manager/object.py +0 -116
- amulet_core-1.9.24/amulet/api/history/revision_manager/__init__.py +0 -2
- amulet_core-1.9.24/amulet/api/history/revision_manager/disk.py +0 -33
- amulet_core-1.9.24/amulet/api/history/revision_manager/ram.py +0 -12
- amulet_core-1.9.24/amulet/api/item.py +0 -75
- amulet_core-1.9.24/amulet/api/level/__init__.py +0 -4
- amulet_core-1.9.24/amulet/api/level/base_level/__init__.py +0 -1
- amulet_core-1.9.24/amulet/api/level/base_level/base_level.py +0 -1035
- amulet_core-1.9.24/amulet/api/level/base_level/chunk_manager.py +0 -227
- amulet_core-1.9.24/amulet/api/level/base_level/clone.py +0 -389
- amulet_core-1.9.24/amulet/api/level/base_level/player_manager.py +0 -101
- amulet_core-1.9.24/amulet/api/level/immutable_structure/__init__.py +0 -1
- amulet_core-1.9.24/amulet/api/level/immutable_structure/immutable_structure.py +0 -94
- amulet_core-1.9.24/amulet/api/level/immutable_structure/void_format_wrapper.py +0 -117
- amulet_core-1.9.24/amulet/api/level/structure.py +0 -22
- amulet_core-1.9.24/amulet/api/level/world.py +0 -19
- amulet_core-1.9.24/amulet/api/partial_3d_array/__init__.py +0 -2
- amulet_core-1.9.24/amulet/api/partial_3d_array/base_partial_3d_array.py +0 -263
- amulet_core-1.9.24/amulet/api/partial_3d_array/bounded_partial_3d_array.py +0 -523
- amulet_core-1.9.24/amulet/api/partial_3d_array/data_types.py +0 -15
- amulet_core-1.9.24/amulet/api/partial_3d_array/unbounded_partial_3d_array.py +0 -229
- amulet_core-1.9.24/amulet/api/partial_3d_array/util.py +0 -152
- amulet_core-1.9.24/amulet/api/registry/__init__.py +0 -2
- amulet_core-1.9.24/amulet/api/registry/base_registry.py +0 -34
- amulet_core-1.9.24/amulet/api/registry/biome_manager.py +0 -150
- amulet_core-1.9.24/amulet/api/registry/block_manager.py +0 -155
- amulet_core-1.9.24/amulet/api/structure.py +0 -37
- amulet_core-1.9.24/amulet/api/wrapper/__init__.py +0 -8
- amulet_core-1.9.24/amulet/api/wrapper/chunk/interface.py +0 -437
- amulet_core-1.9.24/amulet/api/wrapper/chunk/translator.py +0 -567
- amulet_core-1.9.24/amulet/api/wrapper/format_wrapper.py +0 -774
- amulet_core-1.9.24/amulet/api/wrapper/structure_format_wrapper.py +0 -116
- amulet_core-1.9.24/amulet/api/wrapper/world_format_wrapper.py +0 -63
- amulet_core-1.9.24/amulet/level/__init__.py +0 -1
- amulet_core-1.9.24/amulet/level/formats/anvil_forge_world.py +0 -40
- amulet_core-1.9.24/amulet/level/formats/anvil_world/__init__.py +0 -3
- amulet_core-1.9.24/amulet/level/formats/anvil_world/format.py +0 -771
- amulet_core-1.9.24/amulet/level/formats/construction/__init__.py +0 -3
- amulet_core-1.9.24/amulet/level/formats/construction/format_wrapper.py +0 -515
- amulet_core-1.9.24/amulet/level/formats/construction/interface.py +0 -134
- amulet_core-1.9.24/amulet/level/formats/construction/section.py +0 -60
- amulet_core-1.9.24/amulet/level/formats/construction/util.py +0 -165
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/__init__.py +0 -3
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/chunk.py +0 -33
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/dimension.py +0 -385
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/format.py +0 -659
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/__init__.py +0 -36
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/base_leveldb_interface.py +0 -836
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/generate_interface.py +0 -31
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_0.py +0 -30
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_1.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_10.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_11.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_12.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_13.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_14.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_15.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_16.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_17.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_18.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_19.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_2.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_20.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_21.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_22.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_23.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_24.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_25.py +0 -24
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_26.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_27.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_28.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_29.py +0 -33
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_3.py +0 -57
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_30.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_31.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_32.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_33.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_34.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_35.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_36.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_37.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_38.py +0 -10
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_39.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_4.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_40.py +0 -16
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_5.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_6.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_7.py +0 -12
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_8.py +0 -180
- amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface/chunk/leveldb_9.py +0 -18
- amulet_core-1.9.24/amulet/level/formats/mcstructure/__init__.py +0 -3
- amulet_core-1.9.24/amulet/level/formats/mcstructure/chunk.py +0 -50
- amulet_core-1.9.24/amulet/level/formats/mcstructure/format_wrapper.py +0 -403
- amulet_core-1.9.24/amulet/level/formats/mcstructure/interface.py +0 -175
- amulet_core-1.9.24/amulet/level/formats/schematic/__init__.py +0 -3
- amulet_core-1.9.24/amulet/level/formats/schematic/chunk.py +0 -55
- amulet_core-1.9.24/amulet/level/formats/schematic/data_types.py +0 -4
- amulet_core-1.9.24/amulet/level/formats/schematic/format_wrapper.py +0 -373
- amulet_core-1.9.24/amulet/level/formats/schematic/interface.py +0 -142
- amulet_core-1.9.24/amulet/level/formats/sponge_schem/__init__.py +0 -4
- amulet_core-1.9.24/amulet/level/formats/sponge_schem/chunk.py +0 -62
- amulet_core-1.9.24/amulet/level/formats/sponge_schem/format_wrapper.py +0 -461
- amulet_core-1.9.24/amulet/level/formats/sponge_schem/interface.py +0 -118
- amulet_core-1.9.24/amulet/level/formats/sponge_schem/varint/__init__.py +0 -1
- amulet_core-1.9.24/amulet/level/formats/sponge_schem/varint/varint.py +0 -87
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_0.py +0 -72
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_1444.py +0 -336
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_1466.py +0 -94
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_1467.py +0 -37
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_1484.py +0 -20
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_1503.py +0 -20
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_1519.py +0 -34
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_1901.py +0 -20
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_1908.py +0 -20
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_1912.py +0 -21
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_1934.py +0 -50
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_2203.py +0 -69
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_2529.py +0 -19
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_2681.py +0 -76
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_2709.py +0 -19
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_2844.py +0 -267
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_3463.py +0 -19
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/anvil_na.py +0 -607
- amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil/base_anvil_interface.py +0 -326
- amulet_core-1.9.24/amulet/level/load.py +0 -59
- amulet_core-1.9.24/amulet/level/loader.py +0 -95
- amulet_core-1.9.24/amulet/level/translators/chunk/bedrock/__init__.py +0 -267
- amulet_core-1.9.24/amulet/level/translators/chunk/bedrock/bedrock_nbt_blockstate_translator.py +0 -46
- amulet_core-1.9.24/amulet/level/translators/chunk/bedrock/bedrock_numerical_translator.py +0 -39
- amulet_core-1.9.24/amulet/level/translators/chunk/bedrock/bedrock_psudo_numerical_translator.py +0 -37
- amulet_core-1.9.24/amulet/level/translators/chunk/java/java_1_18_translator.py +0 -40
- amulet_core-1.9.24/amulet/level/translators/chunk/java/java_blockstate_translator.py +0 -94
- amulet_core-1.9.24/amulet/level/translators/chunk/java/java_numerical_translator.py +0 -62
- amulet_core-1.9.24/amulet/libs/__init__.py +0 -0
- amulet_core-1.9.24/amulet/libs/leveldb/__init__.py +0 -7
- amulet_core-1.9.24/amulet/operations/__init__.py +0 -5
- amulet_core-1.9.24/amulet/operations/clone.py +0 -18
- amulet_core-1.9.24/amulet/operations/delete_chunk.py +0 -32
- amulet_core-1.9.24/amulet/operations/fill.py +0 -30
- amulet_core-1.9.24/amulet/operations/paste.py +0 -65
- amulet_core-1.9.24/amulet/operations/replace.py +0 -58
- amulet_core-1.9.24/amulet/utils/__init__.py +0 -14
- amulet_core-1.9.24/amulet/utils/numpy_helpers.py +0 -46
- amulet_core-1.9.24/amulet/utils/world_utils.py +0 -349
- amulet_core-1.9.24/amulet_core.egg-info/SOURCES.txt +0 -214
- amulet_core-1.9.24/setup.py +0 -23
- {amulet_core-1.9.24/amulet/api/wrapper/chunk → amulet_core-2.0a3/src/amulet/game/translate/_functions/_code_functions}/__init__.py +0 -0
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet/img/missing_world_icon.png +0 -0
- {amulet_core-1.9.24/amulet/level/formats → amulet_core-2.0a3/src/amulet/level/bedrock/chunk/components}/__init__.py +0 -0
- {amulet_core-1.9.24/amulet/level/formats/leveldb_world/interface → amulet_core-2.0a3/src/amulet/level/construction}/__init__.py +0 -0
- {amulet_core-1.9.24/amulet/level/interfaces → amulet_core-2.0a3/src/amulet/level/java_forge}/__init__.py +0 -0
- {amulet_core-1.9.24/amulet/level/interfaces/chunk → amulet_core-2.0a3/src/amulet/level/mcstructure}/__init__.py +0 -0
- {amulet_core-1.9.24/amulet/level/interfaces/chunk/anvil → amulet_core-2.0a3/src/amulet/level/nbt}/__init__.py +0 -0
- {amulet_core-1.9.24/amulet/level/translators → amulet_core-2.0a3/src/amulet/level/schematic}/__init__.py +0 -0
- {amulet_core-1.9.24/amulet/level/translators/chunk → amulet_core-2.0a3/src/amulet/level/sponge_schematic}/__init__.py +0 -0
- /amulet_core-1.9.24/amulet/level/translators/chunk/java/__init__.py → /amulet_core-2.0a3/src/amulet/py.typed +0 -0
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet_core.egg-info/dependency_links.txt +0 -0
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet_core.egg-info/entry_points.txt +0 -0
- {amulet_core-1.9.24 → amulet_core-2.0a3/src}/amulet_core.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
recursive-include src *.pyi py.typed *.py *.png *.cpp *.hpp
|
|
@@ -1,98 +1,103 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: amulet-core
|
|
3
|
-
Version:
|
|
4
|
-
Summary: A Python library for reading/writing Minecraft's various save formats.
|
|
5
|
-
Home-page: https://www.amuletmc.com
|
|
6
|
-
Author: James Clare, Ben Gothard et al.
|
|
7
|
-
Author-email: amuleteditor@gmail.com
|
|
8
|
-
Platform: any
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Requires-Python: >=3.
|
|
12
|
-
Description-Content-Type: text/markdown
|
|
13
|
-
Requires-Dist: numpy~=1.
|
|
14
|
-
Requires-Dist: amulet-nbt~=
|
|
15
|
-
Requires-Dist:
|
|
16
|
-
Requires-Dist:
|
|
17
|
-
Requires-Dist:
|
|
18
|
-
Requires-Dist:
|
|
19
|
-
Requires-Dist:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Requires-Dist:
|
|
23
|
-
Requires-Dist:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
Requires-Dist:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
##
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
To
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: amulet-core
|
|
3
|
+
Version: 2.0a3
|
|
4
|
+
Summary: A Python library for reading/writing Minecraft's various save formats.
|
|
5
|
+
Home-page: https://www.amuletmc.com
|
|
6
|
+
Author: James Clare, Ben Gothard et al.
|
|
7
|
+
Author-email: amuleteditor@gmail.com
|
|
8
|
+
Platform: any
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.11
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
Requires-Dist: numpy~=1.21
|
|
14
|
+
Requires-Dist: amulet-nbt~=4.0a2
|
|
15
|
+
Requires-Dist: portalocker~=2.4
|
|
16
|
+
Requires-Dist: amulet-leveldb~=1.0b0
|
|
17
|
+
Requires-Dist: platformdirs~=3.1
|
|
18
|
+
Requires-Dist: amulet-runtime-final~=1.1
|
|
19
|
+
Requires-Dist: pillow~=10.0
|
|
20
|
+
Requires-Dist: lz4~=4.3
|
|
21
|
+
Provides-Extra: docs
|
|
22
|
+
Requires-Dist: Sphinx>=1.7.4; extra == "docs"
|
|
23
|
+
Requires-Dist: sphinx-autodoc-typehints>=1.3.0; extra == "docs"
|
|
24
|
+
Requires-Dist: sphinx_rtd_theme>=0.3.1; extra == "docs"
|
|
25
|
+
Provides-Extra: dev
|
|
26
|
+
Requires-Dist: black>=22.3; extra == "dev"
|
|
27
|
+
Requires-Dist: pre_commit>=1.11.1; extra == "dev"
|
|
28
|
+
Requires-Dist: mypy; extra == "dev"
|
|
29
|
+
Requires-Dist: types-pyinstaller; extra == "dev"
|
|
30
|
+
Requires-Dist: isort; extra == "dev"
|
|
31
|
+
Requires-Dist: autoflake; extra == "dev"
|
|
32
|
+
|
|
33
|
+
# Amulet Core
|
|
34
|
+
|
|
35
|
+

|
|
36
|
+

|
|
37
|
+

|
|
38
|
+
[](https://amulet-core.readthedocs.io)
|
|
39
|
+
|
|
40
|
+
A Python 3 library to read and write data from Minecraft's various save formats.
|
|
41
|
+
|
|
42
|
+
This library provides the main world editing functionality for Amulet Map Editor
|
|
43
|
+
|
|
44
|
+
#### If you are looking for the actual editor it can be found at [Amulet Map Editor](https://github.com/Amulet-Team/Amulet-Map-Editor)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## Documentation
|
|
48
|
+
|
|
49
|
+
Our online documentation can be found here: https://amulet-core.readthedocs.io
|
|
50
|
+
|
|
51
|
+
## Installing
|
|
52
|
+
1) Install Python 3.7
|
|
53
|
+
2) We recommend setting up a [python virtual environment](https://docs.python.org/3/tutorial/venv.html) so you don't run into issues with dependency conflicts.
|
|
54
|
+
3) run `pip install amulet-core` to install the library and all its dependencies.
|
|
55
|
+
|
|
56
|
+
## Dependencies
|
|
57
|
+
|
|
58
|
+
This library uses a number of other libraries. These will be automatically installed when running the command above.
|
|
59
|
+
- Numpy
|
|
60
|
+
- [Amulet_NBT](https://github.com/Amulet-Team/Amulet-NBT)
|
|
61
|
+
- [PyMCTranslate](https://github.com/gentlegiantJGC/PyMCTranslate)
|
|
62
|
+
|
|
63
|
+
## Contributing
|
|
64
|
+
|
|
65
|
+
### For Development
|
|
66
|
+
Download the code to your computer, install python and run the following command from the root directory.
|
|
67
|
+
run `pip install -e .[dev]`
|
|
68
|
+
This command will install the library in development mode with the libraries required for development.
|
|
69
|
+
- [Black](https://github.com/ambv/black) (Required for formatting)
|
|
70
|
+
- Must be run before pushing a Pull Request
|
|
71
|
+
|
|
72
|
+
For information about contributing to this project, please see the contribution section [below](#contributing)
|
|
73
|
+
|
|
74
|
+
### Code Formatting
|
|
75
|
+
For code formatting, we use the formatting utility [black](https://github.com/psf/black).
|
|
76
|
+
To run it, run the following command from your favorite terminal after installing: `black amulet tests`
|
|
77
|
+
|
|
78
|
+
In order for your pull request to be accepted, this command must be run to format every file.
|
|
79
|
+
|
|
80
|
+
### Building the Documentation
|
|
81
|
+
To build the documentation locally, run the following command: `make html` and then navigate to the
|
|
82
|
+
generated directory `docs_build/html` in your favorite web browser
|
|
83
|
+
|
|
84
|
+
### Branch Naming
|
|
85
|
+
Branches should be created when a certain bug or feature may take multiple attempts to fix. Naming
|
|
86
|
+
them should follow the following convention (even for forked repositories when a pull request is being made):
|
|
87
|
+
|
|
88
|
+
* For features, use: `impl-<feature name>`
|
|
89
|
+
* For bug fixes, use: `bug-<bug tracker ID>`
|
|
90
|
+
* For improvements/rewrites, use: `improv-<feature name>`
|
|
91
|
+
* For prototyping, use: `proto-<feature name>`
|
|
92
|
+
|
|
93
|
+
### Pull Requests
|
|
94
|
+
We ask that submitted Pull Requests give moderately detailed notes about the changes and explain
|
|
95
|
+
any changes that were made to the program outside of those directly related to the feature/bug-fix.
|
|
96
|
+
Make sure to run all tests and formatting otherwise we cannot accept your pull request.
|
|
97
|
+
|
|
98
|
+
_Note: We will also re-run all tests before reviewing, this is to mitigate additional changes/commits
|
|
99
|
+
needed to pass all tests._
|
|
100
|
+
|
|
101
|
+
Once a Pull Request is submitted, we will mark the request for review, once that is done, we will
|
|
102
|
+
review the changes and provide any notes/things to change. Once all additional changes have been made,
|
|
103
|
+
we will merge the request.
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
# Amulet Core
|
|
2
|
-
|
|
3
|
-

|
|
4
|
-

|
|
5
|
-

|
|
6
|
-
[](https://amulet-core.readthedocs.io)
|
|
7
|
-
|
|
8
|
-
A Python 3 library to read and write data from Minecraft's various save formats.
|
|
9
|
-
|
|
10
|
-
This library provides the main world editing functionality for Amulet Map Editor
|
|
11
|
-
|
|
12
|
-
#### If you are looking for the actual editor it can be found at [Amulet Map Editor](https://github.com/Amulet-Team/Amulet-Map-Editor)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Documentation
|
|
16
|
-
|
|
17
|
-
Our online documentation can be found here: https://amulet-core.readthedocs.io
|
|
18
|
-
|
|
19
|
-
## Installing
|
|
20
|
-
1) Install Python 3.7
|
|
21
|
-
2) We recommend setting up a [python virtual environment](https://docs.python.org/3/tutorial/venv.html) so you don't run into issues with dependency conflicts.
|
|
22
|
-
3) run `pip install amulet-core` to install the library and all its dependencies.
|
|
23
|
-
|
|
24
|
-
## Dependencies
|
|
25
|
-
|
|
26
|
-
This library uses a number of other libraries. These will be automatically installed when running the command above.
|
|
27
|
-
- Numpy
|
|
28
|
-
- [Amulet_NBT](https://github.com/Amulet-Team/Amulet-NBT)
|
|
29
|
-
- [PyMCTranslate](https://github.com/gentlegiantJGC/PyMCTranslate)
|
|
30
|
-
|
|
31
|
-
## Contributing
|
|
32
|
-
|
|
33
|
-
### For Development
|
|
34
|
-
Download the code to your computer, install python and run the following command from the root directory.
|
|
35
|
-
run `pip install -e .[dev]`
|
|
36
|
-
This command will install the library in development mode with the libraries required for development.
|
|
37
|
-
- [Black](https://github.com/ambv/black) (Required for formatting)
|
|
38
|
-
- Must be run before pushing a Pull Request
|
|
39
|
-
|
|
40
|
-
For information about contributing to this project, please see the contribution section [below](#contributing)
|
|
41
|
-
|
|
42
|
-
### Code Formatting
|
|
43
|
-
For code formatting, we use the formatting utility [black](https://github.com/psf/black).
|
|
44
|
-
To run it, run the following command from your favorite terminal after installing: `black amulet tests`
|
|
45
|
-
|
|
46
|
-
In order for your pull request to be accepted, this command must be run to format every file.
|
|
47
|
-
|
|
48
|
-
### Building the Documentation
|
|
49
|
-
To build the documentation locally, run the following command: `make html` and then navigate to the
|
|
50
|
-
generated directory `docs_build/html` in your favorite web browser
|
|
51
|
-
|
|
52
|
-
### Branch Naming
|
|
53
|
-
Branches should be created when a certain bug or feature may take multiple attempts to fix. Naming
|
|
54
|
-
them should follow the following convention (even for forked repositories when a pull request is being made):
|
|
55
|
-
|
|
56
|
-
* For features, use: `impl-<feature name>`
|
|
57
|
-
* For bug fixes, use: `bug-<bug tracker ID>`
|
|
58
|
-
* For improvements/rewrites, use: `improv-<feature name>`
|
|
59
|
-
* For prototyping, use: `proto-<feature name>`
|
|
60
|
-
|
|
61
|
-
### Pull Requests
|
|
62
|
-
We ask that submitted Pull Requests give moderately detailed notes about the changes and explain
|
|
63
|
-
any changes that were made to the program outside of those directly related to the feature/bug-fix.
|
|
64
|
-
Make sure to run all tests and formatting otherwise we cannot accept your pull request.
|
|
65
|
-
|
|
66
|
-
_Note: We will also re-run all tests before reviewing, this is to mitigate additional changes/commits
|
|
67
|
-
needed to pass all tests._
|
|
68
|
-
|
|
69
|
-
Once a Pull Request is submitted, we will mark the request for review, once that is done, we will
|
|
70
|
-
review the changes and provide any notes/things to change. Once all additional changes have been made,
|
|
71
|
-
we will merge the request.
|
|
1
|
+
# Amulet Core
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
[](https://amulet-core.readthedocs.io)
|
|
7
|
+
|
|
8
|
+
A Python 3 library to read and write data from Minecraft's various save formats.
|
|
9
|
+
|
|
10
|
+
This library provides the main world editing functionality for Amulet Map Editor
|
|
11
|
+
|
|
12
|
+
#### If you are looking for the actual editor it can be found at [Amulet Map Editor](https://github.com/Amulet-Team/Amulet-Map-Editor)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## Documentation
|
|
16
|
+
|
|
17
|
+
Our online documentation can be found here: https://amulet-core.readthedocs.io
|
|
18
|
+
|
|
19
|
+
## Installing
|
|
20
|
+
1) Install Python 3.7
|
|
21
|
+
2) We recommend setting up a [python virtual environment](https://docs.python.org/3/tutorial/venv.html) so you don't run into issues with dependency conflicts.
|
|
22
|
+
3) run `pip install amulet-core` to install the library and all its dependencies.
|
|
23
|
+
|
|
24
|
+
## Dependencies
|
|
25
|
+
|
|
26
|
+
This library uses a number of other libraries. These will be automatically installed when running the command above.
|
|
27
|
+
- Numpy
|
|
28
|
+
- [Amulet_NBT](https://github.com/Amulet-Team/Amulet-NBT)
|
|
29
|
+
- [PyMCTranslate](https://github.com/gentlegiantJGC/PyMCTranslate)
|
|
30
|
+
|
|
31
|
+
## Contributing
|
|
32
|
+
|
|
33
|
+
### For Development
|
|
34
|
+
Download the code to your computer, install python and run the following command from the root directory.
|
|
35
|
+
run `pip install -e .[dev]`
|
|
36
|
+
This command will install the library in development mode with the libraries required for development.
|
|
37
|
+
- [Black](https://github.com/ambv/black) (Required for formatting)
|
|
38
|
+
- Must be run before pushing a Pull Request
|
|
39
|
+
|
|
40
|
+
For information about contributing to this project, please see the contribution section [below](#contributing)
|
|
41
|
+
|
|
42
|
+
### Code Formatting
|
|
43
|
+
For code formatting, we use the formatting utility [black](https://github.com/psf/black).
|
|
44
|
+
To run it, run the following command from your favorite terminal after installing: `black amulet tests`
|
|
45
|
+
|
|
46
|
+
In order for your pull request to be accepted, this command must be run to format every file.
|
|
47
|
+
|
|
48
|
+
### Building the Documentation
|
|
49
|
+
To build the documentation locally, run the following command: `make html` and then navigate to the
|
|
50
|
+
generated directory `docs_build/html` in your favorite web browser
|
|
51
|
+
|
|
52
|
+
### Branch Naming
|
|
53
|
+
Branches should be created when a certain bug or feature may take multiple attempts to fix. Naming
|
|
54
|
+
them should follow the following convention (even for forked repositories when a pull request is being made):
|
|
55
|
+
|
|
56
|
+
* For features, use: `impl-<feature name>`
|
|
57
|
+
* For bug fixes, use: `bug-<bug tracker ID>`
|
|
58
|
+
* For improvements/rewrites, use: `improv-<feature name>`
|
|
59
|
+
* For prototyping, use: `proto-<feature name>`
|
|
60
|
+
|
|
61
|
+
### Pull Requests
|
|
62
|
+
We ask that submitted Pull Requests give moderately detailed notes about the changes and explain
|
|
63
|
+
any changes that were made to the program outside of those directly related to the feature/bug-fix.
|
|
64
|
+
Make sure to run all tests and formatting otherwise we cannot accept your pull request.
|
|
65
|
+
|
|
66
|
+
_Note: We will also re-run all tests before reviewing, this is to mitigate additional changes/commits
|
|
67
|
+
needed to pass all tests._
|
|
68
|
+
|
|
69
|
+
Once a Pull Request is submitted, we will mark the request for review, once that is done, we will
|
|
70
|
+
review the changes and provide any notes/things to change. Once all additional changes have been made,
|
|
71
|
+
we will merge the request.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = [
|
|
3
|
-
"setuptools >= 42",
|
|
4
|
-
"wheel",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
]
|
|
9
|
-
build-backend = "setuptools.build_meta"
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = [
|
|
3
|
+
"setuptools >= 42",
|
|
4
|
+
"wheel",
|
|
5
|
+
"versioneer",
|
|
6
|
+
"pybind11 ~= 2.12",
|
|
7
|
+
"amulet_nbt ~= 4.0a2"
|
|
8
|
+
]
|
|
9
|
+
build-backend = "setuptools.build_meta"
|
|
@@ -1,54 +1,75 @@
|
|
|
1
|
-
[metadata]
|
|
2
|
-
name = amulet-core
|
|
3
|
-
url = https://www.amuletmc.com
|
|
4
|
-
author = James Clare, Ben Gothard et al.
|
|
5
|
-
author_email = amuleteditor@gmail.com
|
|
6
|
-
classifiers =
|
|
7
|
-
Programming Language :: Python :: 3
|
|
8
|
-
Operating System :: OS Independent
|
|
9
|
-
description = A Python library for reading/writing Minecraft's various save formats.
|
|
10
|
-
long_description = file: README.md
|
|
11
|
-
long_description_content_type = text/markdown
|
|
12
|
-
platforms = any
|
|
13
|
-
|
|
14
|
-
[options]
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
[
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
1
|
+
[metadata]
|
|
2
|
+
name = amulet-core
|
|
3
|
+
url = https://www.amuletmc.com
|
|
4
|
+
author = James Clare, Ben Gothard et al.
|
|
5
|
+
author_email = amuleteditor@gmail.com
|
|
6
|
+
classifiers =
|
|
7
|
+
Programming Language :: Python :: 3
|
|
8
|
+
Operating System :: OS Independent
|
|
9
|
+
description = A Python library for reading/writing Minecraft's various save formats.
|
|
10
|
+
long_description = file: README.md
|
|
11
|
+
long_description_content_type = text/markdown
|
|
12
|
+
platforms = any
|
|
13
|
+
|
|
14
|
+
[options]
|
|
15
|
+
package_dir =
|
|
16
|
+
=src
|
|
17
|
+
packages = find_namespace:
|
|
18
|
+
python_requires = >=3.11
|
|
19
|
+
install_requires =
|
|
20
|
+
numpy~=1.21
|
|
21
|
+
amulet-nbt~=4.0a2
|
|
22
|
+
portalocker~=2.4
|
|
23
|
+
amulet-leveldb~=1.0b0
|
|
24
|
+
platformdirs~=3.1
|
|
25
|
+
amulet-runtime-final~=1.1
|
|
26
|
+
pillow~=10.0
|
|
27
|
+
lz4~=4.3
|
|
28
|
+
|
|
29
|
+
[options.packages.find]
|
|
30
|
+
where = src
|
|
31
|
+
|
|
32
|
+
[options.package_data]
|
|
33
|
+
amulet =
|
|
34
|
+
*.pyi
|
|
35
|
+
py.typed
|
|
36
|
+
*.png
|
|
37
|
+
*.pyd
|
|
38
|
+
*.so
|
|
39
|
+
*.dylib
|
|
40
|
+
*.hpp
|
|
41
|
+
*.cpp
|
|
42
|
+
|
|
43
|
+
[options.exclude_package_data]
|
|
44
|
+
amulet =
|
|
45
|
+
*.py.cpp
|
|
46
|
+
|
|
47
|
+
[options.extras_require]
|
|
48
|
+
docs =
|
|
49
|
+
Sphinx>=1.7.4
|
|
50
|
+
sphinx-autodoc-typehints>=1.3.0
|
|
51
|
+
sphinx_rtd_theme>=0.3.1
|
|
52
|
+
dev =
|
|
53
|
+
black>=22.3
|
|
54
|
+
pre_commit>=1.11.1
|
|
55
|
+
mypy
|
|
56
|
+
types-pyinstaller
|
|
57
|
+
isort
|
|
58
|
+
autoflake
|
|
59
|
+
|
|
60
|
+
[options.entry_points]
|
|
61
|
+
pyinstaller40 =
|
|
62
|
+
hook-dirs = amulet.__pyinstaller:get_hook_dirs
|
|
63
|
+
|
|
64
|
+
[versioneer]
|
|
65
|
+
VCS = git
|
|
66
|
+
style = pep440
|
|
67
|
+
versionfile_source = src/amulet/_version.py
|
|
68
|
+
versionfile_build = amulet/_version.py
|
|
69
|
+
tag_prefix =
|
|
70
|
+
parentdir_prefix = amulet-
|
|
71
|
+
|
|
72
|
+
[egg_info]
|
|
73
|
+
tag_build =
|
|
74
|
+
tag_date = 0
|
|
75
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
from setuptools import setup, Extension
|
|
2
|
+
import versioneer
|
|
3
|
+
import sysconfig
|
|
4
|
+
from distutils import ccompiler
|
|
5
|
+
import sys
|
|
6
|
+
import pybind11
|
|
7
|
+
import glob
|
|
8
|
+
import os
|
|
9
|
+
import amulet_nbt
|
|
10
|
+
|
|
11
|
+
if (sysconfig.get_config_var("CXX") or ccompiler.get_default_compiler()).split()[
|
|
12
|
+
0
|
|
13
|
+
] == "msvc":
|
|
14
|
+
CompileArgs = ["/std:c++20"]
|
|
15
|
+
else:
|
|
16
|
+
CompileArgs = ["-std=c++20"]
|
|
17
|
+
|
|
18
|
+
if sys.platform == "darwin":
|
|
19
|
+
CompileArgs.append("-mmacosx-version-min=10.13")
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# TODO: Would it be better to compile a shared library and link against that?
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
AmuletNBTLib = (
|
|
26
|
+
"amulet_nbt",
|
|
27
|
+
dict(
|
|
28
|
+
sources=glob.glob(
|
|
29
|
+
os.path.join(glob.escape(amulet_nbt.get_source()), "**", "*.cpp"),
|
|
30
|
+
recursive=True,
|
|
31
|
+
),
|
|
32
|
+
include_dirs=[amulet_nbt.get_include()],
|
|
33
|
+
cflags=CompileArgs,
|
|
34
|
+
),
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
setup(
|
|
38
|
+
version=versioneer.get_version(),
|
|
39
|
+
cmdclass=versioneer.get_cmdclass(),
|
|
40
|
+
libraries=[AmuletNBTLib],
|
|
41
|
+
ext_modules=[
|
|
42
|
+
Extension(
|
|
43
|
+
name="amulet.__init__",
|
|
44
|
+
sources=glob.glob("src/**/*.cpp", recursive=True),
|
|
45
|
+
include_dirs=[
|
|
46
|
+
pybind11.get_include(),
|
|
47
|
+
amulet_nbt.get_include(),
|
|
48
|
+
"src",
|
|
49
|
+
],
|
|
50
|
+
libraries=["amulet_nbt"],
|
|
51
|
+
define_macros=[("PYBIND11_DETAILED_ERROR_MESSAGES", None)],
|
|
52
|
+
extra_compile_args=CompileArgs,
|
|
53
|
+
),
|
|
54
|
+
],
|
|
55
|
+
)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#include <pybind11/pybind11.h>
|
|
2
|
+
namespace py = pybind11;
|
|
3
|
+
|
|
4
|
+
void init_collections(py::module);
|
|
5
|
+
void init_utils(py::module);
|
|
6
|
+
void init_version(py::module);
|
|
7
|
+
void init_block(py::module);
|
|
8
|
+
void init_block_entity(py::module);
|
|
9
|
+
void init_biome(py::module);
|
|
10
|
+
void init_palette(py::module);
|
|
11
|
+
void init_chunk(py::module);
|
|
12
|
+
void init_chunk_components(py::module);
|
|
13
|
+
void init_level(py::module);
|
|
14
|
+
|
|
15
|
+
static bool init_run = false;
|
|
16
|
+
|
|
17
|
+
void init_amulet(py::module m){
|
|
18
|
+
if (init_run){ return; }
|
|
19
|
+
init_run = true;
|
|
20
|
+
|
|
21
|
+
py::module::import("amulet_nbt");
|
|
22
|
+
|
|
23
|
+
py::module::import("amulet._init").attr("init")(m);
|
|
24
|
+
|
|
25
|
+
// Submodules
|
|
26
|
+
init_collections(m);
|
|
27
|
+
init_utils(m);
|
|
28
|
+
init_version(m);
|
|
29
|
+
init_block(m);
|
|
30
|
+
init_block_entity(m);
|
|
31
|
+
init_biome(m);
|
|
32
|
+
init_palette(m);
|
|
33
|
+
init_chunk(m);
|
|
34
|
+
init_chunk_components(m);
|
|
35
|
+
init_level(m);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
PYBIND11_MODULE(__init__, m) { init_amulet(m); }
|
|
39
|
+
PYBIND11_MODULE(amulet, m) { init_amulet(m); }
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from . import (
|
|
4
|
+
biome,
|
|
5
|
+
block,
|
|
6
|
+
block_entity,
|
|
7
|
+
chunk,
|
|
8
|
+
chunk_components,
|
|
9
|
+
collections,
|
|
10
|
+
level,
|
|
11
|
+
palette,
|
|
12
|
+
utils,
|
|
13
|
+
version,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
__all__ = [
|
|
17
|
+
"IMG_DIRECTORY",
|
|
18
|
+
"biome",
|
|
19
|
+
"block",
|
|
20
|
+
"block_entity",
|
|
21
|
+
"chunk",
|
|
22
|
+
"chunk_components",
|
|
23
|
+
"collections",
|
|
24
|
+
"level",
|
|
25
|
+
"palette",
|
|
26
|
+
"utils",
|
|
27
|
+
"version",
|
|
28
|
+
]
|
|
29
|
+
IMG_DIRECTORY: str
|
|
30
|
+
__version__: str
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from PyInstaller.utils.hooks import collect_data_files, collect_submodules
|
|
2
|
-
|
|
3
|
-
hiddenimports = collect_submodules("amulet")
|
|
4
|
-
datas = collect_data_files("amulet")
|
|
1
|
+
from PyInstaller.utils.hooks import collect_data_files, collect_submodules
|
|
2
|
+
|
|
3
|
+
hiddenimports = collect_submodules("amulet")
|
|
4
|
+
datas = collect_data_files("amulet")
|