Skip to content

Releases: JaylyDev/nbt-to-mcstructure

0.5.0

13 Dec 17:51
c9999c0
Compare
Choose a tag to compare

Command Line

  • Added block mapping support to the converter
  • NBT files are now deleted after converting to mcstructure files

Regolith Filter

NBT to MCStructure Converter is now available as a Regolith filter too!

Getting Started
Add the following to your Regolith filter definitions to enable the NBT to MCStructure Converter:

"nbt-to-mcstructure": {
    "url": "https://github.com/JaylyDev/nbt-to-mcstructure",
    "version": "latest"
}

How It Works

  1. Directly place your .nbt structure files into the packs/BP/structures folder.
  2. Regolith will transfrom those files into the .mcstructure format.
  3. The filter will delete the original .nbt files in the compiled output.

Configuration
Once the filter is installed, a settings.json is installed, located in your data/nbt-to-mcstructure/ folder. This config file allows you to customize block mappings using either vanilla overwrites or a custom namespace.
To reduce dedundance and simplify your file, especially in large projects with multiple similar structures (e.g., trees, houses, castle assets), you can use wildcards in your block mappings.

{
    "block_mapping": [
        {
            "structure_id": "oak_extra_small_*",
            "mapping": {
                "minecraft:oak_log": "namespace:custom_oak_log"
            }
        }
    ]
}

We're still updating the tool to work with 1.21.50 and to introduce new functionalities!
If you encounter any bugs or have ideas for improvements, feel free to open an issue on GitHub or talk to us here.

0.4.2

17 Jun 08:38
7a020a9
Compare
Choose a tag to compare

What's Changed

  • Added support for waterlogged blocks
  • 1.21.0 support
  • Fix issues with state type conversion

Full Changelog: 0.4.0...0.4.2

0.4.0

12 Jun 21:27
15c8843
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.3.0...0.4.0

0.3.0

29 Mar 17:55
72178a5
Compare
Choose a tag to compare

What's Changed

  • This program can now be run with an executable attached in GitHub releases #7

    Currently only release Windows x64 in this pre-release, more platform to be released in v0.3 update.

  • Block data can now be converted from Java to Bedrock #3.

Full Changelog: 0.2.1...0.3.0

0.3.0-beta.7

28 Mar 18:18
8ba2dbd
Compare
Choose a tag to compare
0.3.0-beta.7 Pre-release
Pre-release

What's Changed

  • Block position data / Block NBT can now be converted from Java to Bedrock #3

Full Changelog: 0.3.0-beta.6...0.3.0-beta.7

0.3.0-beta.6

19 Mar 14:37
Compare
Choose a tag to compare
0.3.0-beta.6 Pre-release
Pre-release

0.2.1

18 Mar 18:21
1246e14
Compare
Choose a tag to compare

What's Changed

  • Fixed an issue that caused the game to not recognize those block states in #1
  • Remove unit test structures from structures folder in #4
  • Fixed an issue that caused the program runs indefinitely after converting hundreds of nbt in #5
  • Program now finds all .nbt files in strucures folder
  • Fix demo gif in readme

Binary releases are will be part of our v0.3 release.

Full Changelog: 0.2.0...0.2.1

0.2.0

15 Mar 14:50
Compare
Choose a tag to compare
  • Converts codebase from JavaScript to Python

v0.1.0 is internal. To summarise it's basically 0.2.0 built in Node.js