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.1.tar.gz (32.6 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.1-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: structura_core-0.2.1.tar.gz
  • Upload date:
  • Size: 32.6 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.1.tar.gz
Algorithm Hash digest
SHA256 0a6de408906cae3b7d2f272cfe0d850b82dc11033bb6c387700ae3cf9ef50ba9
MD5 628bcac48f304d274aad884d6f32bc88
BLAKE2b-256 b2b5a774f3ad19bc2a56b03fc9755be2fcb58e4066b60c83ef62d664ba155e62

See more details on using hashes here.

Provenance

The following attestation bundles were made for structura_core-0.2.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: structura_core-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e6c03f6b5fe3598f3f2e0db22d472e8d8aa66f296a93cf37960f0892239e437
MD5 56241d35bf148eee1845481e04224878
BLAKE2b-256 0572e6ac0e1c148105a08c16b10b668e58bbbbff57ba54bfd0b8a7e7bbd67761

See more details on using hashes here.

Provenance

The following attestation bundles were made for structura_core-0.2.1-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

0.2.2

2 files

This release

0.2.1 This release

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