Compatibility
Minecraft: Java Edition
1.20.4
1.20.1
Platforms
Quilt
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed CC0-1.0
Published 9 months ago
Updated 5 months ago
Attach data to block positions.
WARNING! THIS LIBRARY IS IN BETA. Issues might be present. Report any issues to https://github.com/ansquare-eu/simple-block-data/issues
Usage: Enter into build.gradle. The latest version is v1.0.4
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
modApi include("com.github.ansquare-eu:simple-block-data:{version}")
}
Use BlockDataApi.set and .get methods to manipulate data at a BlockPos in a World. Code example:
boolean bool = BlockDataApi.getBoolean(pos, world, "key");
BlockDataApi.setBoolean(pos, world, "key", false);