Skip to content

iLucaH/FastBlockBreak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FastBlockBreak

Break blocks faster than spigot/bukkit allows. Due to Bukkit's v1.17.1+ block break implementation being already blazing fast, this resource is and will always be version compatible with all versions 1.8.*+.

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'
	}

Visit the jitpack repository for more information:

How to use

You can utilize the BlockHandler class like this;

    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);
    }

Or alternatively you can use the FastBlockBreak static method like this;

    // #setBlockFast(loc, Material.AIR, false);
    public void setBlockFast(Location location, Material material, boolean applyPhysics) {
        FastBlockBreak.getBlockHandler().setBlockFast(location, material, applyPhysics);
    }

About

Lightweight utility to break blocks faster than spigot/bukkit allows.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages