I recommend using Ocelot over this!
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!
- 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.
Modified 50k-60k blocks per second.
Modified 2M blocks per second.
Modified 7M blocks per second.
Modified 14M blocks per second.
- 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.
<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>
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. [ ! ]