Package com.hypixel.hytale.math.shape
Class OriginShape<S extends Shape>
java.lang.Object
com.hypixel.hytale.math.shape.OriginShape<S>
- All Implemented Interfaces:
Shape
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsPosition(double x, double y, double z) voidexpand(double radius) booleanforEachBlock(double x, double y, double z, double epsilon, TriIntPredicate consumer) <T> booleanforEachBlock(double x, double y, double z, double epsilon, T t, TriIntObjPredicate<T> consumer) getBox(double x, double y, double z) getShape()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.hypixel.hytale.math.shape.Shape
containsPosition, containsPosition, forEachBlock, forEachBlock, forEachBlock, forEachBlock, forEachBlock, forEachBlock, getBox
-
Field Details
-
origin
-
shape
-
-
Constructor Details
-
OriginShape
public OriginShape() -
OriginShape
-
-
Method Details
-
getOrigin
-
getShape
-
getBox
-
containsPosition
public boolean containsPosition(double x, double y, double z) - Specified by:
containsPositionin interfaceShape
-
expand
public void expand(double radius) -
forEachBlock
- Specified by:
forEachBlockin interfaceShape
-
forEachBlock
public <T> boolean forEachBlock(double x, double y, double z, double epsilon, T t, TriIntObjPredicate<T> consumer) - Specified by:
forEachBlockin interfaceShape
-
toString
-