java.lang.Object
me.deecaad.weaponmechanics.weapon.explode.regeneration.BlockRegenSorter
All Implemented Interfaces:
Comparator<org.bukkit.block.Block>
Direct Known Subclasses:
LayerDistanceSorter

public abstract class BlockRegenSorter extends Object implements Comparator<org.bukkit.block.Block>
This class outlines a sorter to define the order that blocks should regenerate from an explosion. For most cases, generating the lowest layers before the highest layers is a good idea.
  • Field Details

    • origin

      protected org.bukkit.Location origin
    • explosion

      protected Explosion explosion
  • Constructor Details

    • BlockRegenSorter

      public BlockRegenSorter(org.bukkit.Location origin, Explosion explosion)