Skip to content

com.rodiconmc.rodiblock 1.0.1 Latest version

Install 1/2: Add this to pom.xml:
Learn more about Maven or Gradle
<dependency>
  <groupId>com.rodiconmc</groupId>
  <artifactId>rodiblock</artifactId>
  <version>1.0.1</version>
</dependency>
Install 2/2: Run via command line
$ mvn install

About this package

Rodiblock

Lightweight library that allows placement of structures from Structure Block NBT files

Many of our games require structures to be placed into the world. To make this as easy as possible to save, we wanted to
use the Structure Blocks which were added in 1.10. However, there are no methods of simply placing a structure in the
world using the Bukkit or Spigot APIs. In addition, of the few libraries that exist
(mainly StructureBlockLib), we found to be too over-the-top for just
simply taking a structure NBT file and placing it in the world. So we decided to make a simple function that does just
that.

What this does right now

  • Reads an nbt structure file (saved from a structure block) and places it at a given location
  • Can mirror in the X or Z direction

What it can't do right now

  • Place entities (because that would require NMS code)
  • Rotate (Could be added in the future.)

Source Code

Check here for the source code: https://github.com/rodiconmc/Rodiblock

Javadocs

https://rodiconmc.github.io/Rodiblock/

Details

  • @rodiconmc rodiconmc
  • July 17, 2021
  • 2 dependencies
  • MIT License

Download activity

  • Total downloads 2
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions