Class BlockRegenSorter
java.lang.Object
me.deecaad.weaponmechanics.weapon.explode.regeneration.BlockRegenSorter
- All Implemented Interfaces:
Comparator<org.bukkit.block.Block>
- Direct Known Subclasses:
LayerDistanceSorter
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
origin
protected org.bukkit.Location origin -
explosion
-
-
Constructor Details
-
BlockRegenSorter
-