HomeJavaModsSimple block data
Simple block data

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);
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more