FastBlockBreak [1.8-1.19] icon

FastBlockBreak [1.8-1.19] -----

|| 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,
Code (Java):
    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,
Code (Java):
    // #setBlockFast(loc, Material.AIR, false);
    public void setBlockFast (Location location, Material material, boolean applyPhysics ) {
        FastBlockBreak. getBlockHandler ( ). setBlockFast (location, material, applyPhysics ) ;
    }
Maven
Code (Text):
    <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
Code (Text):
    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.
Resource Information
Author:
----------
Total Downloads: 273
First Release: May 14, 2022
Last Update: Jun 10, 2022
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings