Contents
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) org.joml.Vector3dgetShape()toString()Methods inherited from interface Shape
containsPosition, containsPosition, forEachBlock, forEachBlock, forEachBlock, forEachBlock, forEachBlock, forEachBlock, getBox
-
Field Details
-
origin
public final org.joml.Vector3d origin -
shape
-
-
Constructor Details
-
OriginShape
public OriginShape() -
OriginShape
-
-
Method Details
-
getOrigin
public org.joml.Vector3d getOrigin() -
getShape
-
getBox
-
containsPosition
public boolean containsPosition(double x, double y, double z) - Specified by:
containsPositionin interfaceShape
-
expand
-
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
-