Skip to content

Updates Minecraft: Bedrock Edition block states to the latest revision

License

Notifications You must be signed in to change notification settings

CloudburstMC/BlockStateUpdater

Repository files navigation

BlockStateUpdater

Extracted block state mappings from the Minecraft: Bedrock Edition used to update versioned NBT tags found in LevelDB worlds to the latest version.

Usage

Updating legacy meta values to block states

NbtMap updatedTag = BlockStateUpdaters.updateBlockState(NbtMap.builder()
        .putString("name","minecraft:stone")
        .putShort("val",(short)1)
        .build(),0);

Maven

<repositories>
    <repository>
        <id>nukkitx-repo-release</id>
        <url>https://repo.nukkitx.com/maven-releases/</url>
    </repository>
</repositories>

<dependencies>
<dependency>
    <groupId>org.cloudburstmc</groupId>
    <artifactId>block-state-updater</artifactId>
    <version>1.19.80-SNAPSHOT</version>
</dependency>
</dependencies>

About

Updates Minecraft: Bedrock Edition block states to the latest revision

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages