SolidFix icon

SolidFix -----

A resource developed to fix the notorious block glitch that occurs while breaking blocks rapidly



1.5 - Developer Update!
As the title suggests, this is primarily an update for developers who wish to modify the plugin for their own liking with an easy to use new API as well as an open source GitHub link!
Simply add my plugin as a dependency and you can use the BlockGlitchFixAPI class to get started.
Get registered block update radius.
Code (Text):
import me.geekles.blockglitchfix.api;
[...]
System.out.println("Radius: " + BlockGlitchFixAPI.API.getRadius());
 
Getting a list of players that are receiving block updates.
Code (Text):
for(Player player : BlockGlitchFixAPI.API.getPlayers()){
   player.sendMessage("Your blocks are being updated!");
}
Manually update nearby blocks for the player.
Code (Text):
BlockGlitchFixAPI.API.updateNearbyBlocks(myPlayer, 6 /*radius*/);

BlockGlitchFixAPI.API.updateNearbyBlocks(myPlayer, 6 /*radius*/, true /*enable stack trace message if updating nearby blocks fails*/);
You can also easily listen for when a player receives a block update!
Code (Text):
    @EventHandler
    public void onBlockUpdates(BlockUpdateEvent e) {
        Player player = e.getPlayer();
        Bukkit.broadcastMessage(player.getName() + " had their blocks updated!");
    }
Keep in mind those are only a few of the many things you can do with the new API, feel free to explore all the methods. I've documented their uses so it should be relatively simple to understand. Join my discord channel if you need any further assistance! https://discord.gg/PctzSp9
[​IMG]
I want to hear your opinions, thoughts, suggestions, etc. or if you just need support please check out my brand new discord channel! Join it if you want more active support and updates on all of my plugins and any potentially future projects that I may start. :D

[​IMG]
----------, Mar 7, 2018
Resource Information
Author:
----------
Total Downloads: 7,581
First Release: Mar 5, 2018
Last Update: Jul 13, 2022
Category: ---------------
All-Time Rating:
22 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings