Package net.pdevita.creeperheal2.core
Class Boundary
-
- All Implemented Interfaces:
public final class Boundary
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBoundary.Companion
-
Constructor Summary
Constructors Constructor Description Boundary(Location initialLocation, MergeableLinkedList<ExplodedBlock> explosionBlocks, MergeableLinkedList<ExplodedEntity> explosionEntities)Boundary(MergeableLinkedList<ExplodedBlock> explosionBlocks)Boundary(List<Block> blockList)Boundary(Integer highX, Integer highY, Integer highZ, Integer lowX, Integer lowY, Integer lowZ, World world)
-
Method Summary
Modifier and Type Method Description final IntegergetHighX()final UnitsetHighX(Integer highX)final IntegergetHighY()final UnitsetHighY(Integer highY)final IntegergetHighZ()final UnitsetHighZ(Integer highZ)final IntegergetLowX()final UnitsetLowX(Integer lowX)final IntegergetLowY()final UnitsetLowY(Integer lowY)final IntegergetLowZ()final UnitsetLowZ(Integer lowZ)final WorldgetWorld()final UnitsetWorld(World world)final Booleanoverlaps(Boundary other)final BoundingBoxtoBoundingBox()final Triple<Integer, Integer, Integer>centerAsVector()final Locationcenter()final BooleaninBoundary(Location loc)StringtoString()-
-
Constructor Detail
-
Boundary
Boundary(Location initialLocation, MergeableLinkedList<ExplodedBlock> explosionBlocks, MergeableLinkedList<ExplodedEntity> explosionEntities)
-
Boundary
Boundary(MergeableLinkedList<ExplodedBlock> explosionBlocks)
-
Boundary
Boundary(List<Block> blockList)
-
-
Method Detail
-
getWorld
final World getWorld()
-
toBoundingBox
final BoundingBox toBoundingBox()
-
centerAsVector
final Triple<Integer, Integer, Integer> centerAsVector()
-
center
final Location center()
-
inBoundary
final Boolean inBoundary(Location loc)
-
-
-
-