Class BlockBreakContext.Destroyed

  • All Implemented Interfaces:
    io.github.pylonmc.rebar.block.context.BlockBreakContext

    
    public final class BlockBreakContext.Destroyed
     implements BlockBreakContext
                        

    The block has been destroyed for another reason, such as a lever dropping because the block it was attached to was broken. It is not really documented exactly when the event that this relies on is actually fired for some reason.

    Unfortunate quirk of Paper/Spigot/Bukkit/Mojang that this is needed.

    See BlockDestroyEvent for more details