FastBlockBreak [1.8-1.19]
1.0.6|| Lightweight utility to break blocks faster than spigot/bukkit allows! ||
FastBlockBreak Resource
This simple utility resource allows you to break (and also place) blocks faster than bukkit/spigot allows on versions 1.8.*+. It is important to note that as of 1.17.*, the bukkit implementation is already blazing fast and does not need to be implemented with NMS code. This means that all versions beyond this point will always without fail be supported.
As mentioned, this resource will work on all versions 1.8.* and above. It was tested using spigot.
So why use this resource?
When dealing with breaking/placing large amounts of blocks, it can be quite inefficient and resource intensive (mainly directed at older versions). FastBlockBreak aims at relieving the stress by using NMS without reflection. By using this very simple resource, you can easily break/place blocks faster across all versions.
How should I use this as a server owner?
This resource can be used as an external dependency (plugin), therefore if any plugin depends on FastBlockBreak, you will need to add the downloadable jar file into your servers plugin file.
How should I use this as a developer?
You can utilize the BlockHandler class like so,
private final BlockHandler blockHandler = new BlockHandler();
// #setBlockFast(loc, Material.AIR, false);
public void setBlockFast(Location location, Material material, boolean applyPhysics) {
blockHandler.setBlockFast(location, material, applyPhysics);
}
Alternatively, you can use the FastBlockBreak static method like so,
// #setBlockFast(loc, Material.AIR, false);
public void setBlockFast(Location location, Material material, boolean applyPhysics) {
FastBlockBreak.getBlockHandler().setBlockFast(location, material, applyPhysics);
}
Maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.iLucaH</groupId>
<artifactId>FastBlockBreak</artifactId>
<version>1.0.6</version>
</dependency>
Gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.iLucaH:FastBlockBreak:1.0.6'
}
More information can be found here.
Developers...
If you have any improvements, maybe a faster block break method, don't stay quiet! We are a community.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta