public class VoxelShapeProxy extends Object
Modifier and Type | Field and Description |
---|---|
static VoxelShapeProxy |
EMPTY |
Modifier and Type | Method and Description |
---|---|
static VoxelShapeProxy |
fromAABBHandles(List<AxisAlignedBBHandle> aabbObjectHandles) |
static VoxelShapeProxy |
fromNMSAABB(List<?> aabbObjects) |
AxisAlignedBBHandle |
getBoundingBox() |
List<AxisAlignedBBHandle> |
getCubes() |
boolean |
isEmpty() |
double |
traceXAxis(AxisAlignedBBHandle boundingBox,
double coordinate) |
double |
traceYAxis(AxisAlignedBBHandle boundingBox,
double coordinate) |
double |
traceZAxis(AxisAlignedBBHandle boundingBox,
double coordinate) |
public static final VoxelShapeProxy EMPTY
public static VoxelShapeProxy fromAABBHandles(List<AxisAlignedBBHandle> aabbObjectHandles)
public static VoxelShapeProxy fromNMSAABB(List<?> aabbObjects)
public double traceXAxis(AxisAlignedBBHandle boundingBox, double coordinate)
public double traceYAxis(AxisAlignedBBHandle boundingBox, double coordinate)
public double traceZAxis(AxisAlignedBBHandle boundingBox, double coordinate)
public boolean isEmpty()
public List<AxisAlignedBBHandle> getCubes()
public AxisAlignedBBHandle getBoundingBox()
Copyright © 2019. All rights reserved.