Skip to content

Conversation

@phoenixr-codes
Copy link
Owner

This pr migrates from PyNBT to nbtx. nbtx is an alternative NBT parser/writer implementation developed and maintained by myself. The main reason why this migration was practised:

  • PyNBT is no longer maintained and has not been updated in a while
  • PyNBT is not type safe
  • nbtx supports conversion into Python objects out of the box

Furthermore this pr makes changes to the repo structure, especially the examples. Structures exported from the game can now be found under the samples directory and can be used for testing. Structures built from examples are saved into examples/out.

The makepack script has been replaced by a new script that automatically bundles all structures from examples/out into a mcpack file which can be imported by Minecraft. Note that it creates an entirely new add-on on each new execution.

@phoenixr-codes phoenixr-codes merged commit 8dad2b1 into main Sep 20, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants