Simple block data

Quick rating

Community listing page, reviews may not be monitored by the author.

Simple block data

By farpoOwner

No reviews yet

Attach data to block positions

Mod Loaders
Minecraft

About

Description

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