Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 1.09 KB

README.md

File metadata and controls

50 lines (42 loc) · 1.09 KB

bedrock-blockstate-updater

A java api, for Minecraft: Bedrock Edition, which allows updating nbt blockstates to the latest version using the bedrock block upgrade schema provided by pmmp.

Usage

NbtMap updatedBlockState = BlockStateUpdaters.update(NbtMap.builder().
        putString("name", "minecraft:stone").
        putCompound("states", NbtMap.builder().
                putString("stone_type", "granite").
                build()).
        build());

Maven

  1. Clone this repository for the version you want to use.
  2. Run mvn clean install to build the jar.
  3. Add the maven dependency to your projects pom.xml.
<dependencies>
    <dependency>
        <groupId>ms.kevi</groupId>
        <artifactId>bedrock-blockstate-updater</artifactId>
        <version>YOUR_VERSION</version>
    </dependency>
<dependencies>

Versions

  • 1.10.0
  • 1.12.0
  • 1.13.0
  • 1.14.0
  • 1.16.0.57_beta
  • 1.16.0.59_beta
  • 1.16.0.68_beta
  • 1.16.100
  • 1.16.210
  • 1.17.30
  • 1.17.40
  • 1.18.10
  • 1.18.20.27_beta
  • 1.18.30
  • 1.19.0.34_beta
  • 1.19.20