Skip to main content

structura-core

Reusable Minecraft Java 1.21.1 structure-processing core. It owns:

  • validated Java Structure NBT I/O;
  • legacy schematic conversion and numeric analysis;
  • NumPy/SciPy voxel geometry primitives (connected components, closing).

Structure input accepts gzip-compressed and raw NBT, including files with multiple palettes; output is gzip-compressed and reproducible byte for byte.

The library targets Minecraft Java 1.21.1 by default. Version constants live in structura_core.version; callers can still pass an explicit Amulet translation target to the legacy converter.

pip install -e '.[legacy]'
structura-analyze path/to/structure.nbt --json

The legacy extra is only needed for .schematic conversion and Sponge .schem export. Normal Structure NBT processing stays independent of amulet-core.

Legacy conversion keeps paintings and item frames by default, which is safe for generated structures. Preview tools can call convert(..., preserve_all_entities=True) to retain mobs, armor stands and loose items as well, including their exact fractional positions and NBT payloads.

Generated additions may replace explicit air, but never overwrite source solid blocks. Every saved position is bounds-checked.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

structura_core-0.2.2.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

structura_core-0.2.2-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

Details for the file structura_core-0.2.2.tar.gz.

File metadata

  • Download URL: structura_core-0.2.2.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for structura_core-0.2.2.tar.gz
Algorithm Hash digest
SHA256 6582ffaf57d573167f565e349d6935c9024da962be86a58a9648f545f3e3288c
MD5 a9499586010f464ec5b0571add3377ef
BLAKE2b-256 8774ed7b4aec1a19dab4503d3d062faf472e4720880d7d2ae369831232cf65a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for structura_core-0.2.2.tar.gz:

Publisher: publish.yml on kirimba1024/structura-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file structura_core-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: structura_core-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 34.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for structura_core-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d86bb9fdffb7384cc0ccf7ce30bc754541c3c55424b962d4b80aa8b8f7f0db0
MD5 948f0be9bd815b855ee69c0af8c1cb27
BLAKE2b-256 f163243ab9589b68e474c3d628f01449e54e4d7d567a41f2126a33f8d1af1a0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for structura_core-0.2.2-py3-none-any.whl:

Publisher: publish.yml on kirimba1024/structura-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.3

2 files

This release

0.2.2 This release

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page