Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.
/ BlockEditAPI Public archive

A Spigot library for quickly modifying block(state)s.

Notifications You must be signed in to change notification settings

byteful/BlockEditAPI

Repository files navigation

I recommend using Ocelot over this!

Why use BlockEditAPI?

BlockEditAPI is a super easy-to-use library that saves a lot of time. It already does the NMS work for you, and it contains useful utilities that save plenty of time and reduce boilerplate code. BlockEditAPI performs really well. It can modify up to 15 million blocks per second!

How does BlockEditAPI perform?

  • Specifications for system: AMD Ryzen 3600X with 3200 MHZ DDR4 16 GB RAM
  • Specifications for MC server: PaperSpigot 1.8.8 with 4 GB of allocated RAM
  • How it was tested: 100x100x100 cube was set to stone and time was calculated in ms.

"Bukkit" Option:

Modified 50k-60k blocks per second.

"NMS_Safe" Option:

Modified 2M blocks per second.

"NMS_Fast" Option:

Modified 7M blocks per second.

"NMS_Unsafe" Option:

Modified 14M blocks per second.

Supported Versions & Software:

  • CraftBukkit > 1.8-1.17.1
  • Spigot > 1.8-1.17.1
  • PaperSpigot > 1.8-1.17.1

Note: Other forks of software listed above may work. The software will need the Bukkit API present and optionally, NMS.

Maven/Gradle Dependency:

Maven:

<repository>
  <id>jitpack.io</id>
  <url>https://jitpack.io</url>
</repository>
<dependency>
  <groupId>com.github.byteful</groupId>
  <artifactId>BlockEditAPI</artifactId>
  <version>master-SNAPSHOT</version>
</dependency>

Gradle

repositories {
  maven { url 'https://jitpack.io' }
}
dependencies {
  implementation 'com.github.byteful:BlockEditAPI:master-SNAPSHOT'
}

[ ! ] Note: Make sure you relocate BlockEditAPI to prevent any dependency collisions during runtime. [ ! ]