Package me.lokka30.levelledmobs.rules
Class WithinCoordinates
java.lang.Object
me.lokka30.levelledmobs.rules.WithinCoordinates
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getHasX()
boolean
getHasY()
boolean
getHasZ()
boolean
isEmpty()
boolean
isLocationWithinRange
(int coord, @NotNull WithinCoordinates.Axis axis) boolean
parseAxis
(@Nullable String number, @NotNull WithinCoordinates.Axis axis, boolean isStart) toString()
-
Field Details
-
startX
-
startY
-
startZ
-
endX
-
endY
-
endZ
-
infinityDirectionX
-
infinityDirectionY
-
infinityDirectionZ
-
-
Constructor Details
-
WithinCoordinates
public WithinCoordinates()
-
-
Method Details
-
parseAxis
public boolean parseAxis(@Nullable @Nullable String number, @NotNull @NotNull WithinCoordinates.Axis axis, boolean isStart) -
isEmpty
public boolean isEmpty() -
getHasX
public boolean getHasX() -
getHasY
public boolean getHasY() -
getHasZ
public boolean getHasZ() -
isLocationWithinRange
-
toString
-