net.minecraft.world.phys.shapes

public abstract class VoxelShape

cwc
net.minecraft.world.phys.shapes.VoxelShape
net.minecraft.class_265
net.minecraft.util.shape.VoxelShape
net.minecraft.util.math.shapes.VoxelShape
net.minecraft.server.v1_15_R1.VoxelShape

Field summary

Modifier and TypeField
protected final DiscreteVoxelShape
a
shape
field_1401
voxels
field_197768_g
private VoxelShape[]
b
faces
field_19318
shapeCache
field_222864_b

Constructor summary

ModifierConstructor
(DiscreteVoxelShape voxels)

Method summary

Modifier and TypeMethod
public double
b(fp$a arg0)
min(Direction$Axis arg0)
method_1091(class_2350$class_2351 arg0)
getMinimum(Direction$Axis axis)
func_197762_b(Direction$Axis arg0)
public double
c(fp$a arg0)
max(Direction$Axis arg0)
method_1105(class_2350$class_2351 arg0)
getMaximum(Direction$Axis axis)
func_197758_c(Direction$Axis arg0)
public AABB
a()
bounds()
method_1107()
getBoundingBox()
func_197752_a()
getBoundingBox()
protected double
a(fp$a arg0, int arg1)
get(Direction$Axis arg0, int arg1)
method_1099(class_2350$class_2351 arg0, int arg1)
getPointPosition(Direction$Axis axis, int index)
func_197759_b(Direction$Axis arg0, int arg1)
protected abstract it.unimi.dsi.fastutil.doubles.DoubleList
a(fp$a arg0)
getCoords(Direction$Axis arg0)
method_1109(class_2350$class_2351 arg0)
getPointPositions(Direction$Axis axis)
func_197757_a(Direction$Axis arg0)
public boolean
b()
isEmpty()
method_1110()
isEmpty()
func_197766_b()
isEmpty()
public VoxelShape
a(double arg0, double arg1, double arg2)
move(double arg0, double arg1, double arg2)
method_1096(double arg0, double arg1, double arg2)
offset(double x, double y, double z)
func_197751_a(double arg0, double arg1, double arg2)
public VoxelShape
c()
optimize()
method_1097()
simplify()
func_197753_c()
public void
b(cvz$a arg0)
forAllBoxes(Shapes$DoubleLineConsumer arg0)
method_1089(class_259$class_260 arg0)
forEachBox(VoxelShapes$BoxConsumer arg0)
func_197755_b(VoxelShapes$ILineConsumer arg0)
public List<AABB>
d()
toAabbs()
method_1090()
getBoundingBoxes()
func_197756_d()
protected int
a(fp$a arg0, double arg1)
findIndex(Direction$Axis arg0, double arg1)
method_1100(class_2350$class_2351 arg0, double arg1)
getCoordIndex(Direction$Axis arg0, double coord)
func_197749_a(Direction$Axis arg0, double arg1)
protected boolean
b(double arg0, double arg1, double arg2)
isFullWide(double arg0, double arg1, double arg2)
method_1095(double arg0, double arg1, double arg2)
contains(double x, double y, double z)
func_211542_b(double arg0, double arg1, double arg2)
public BlockHitResult
a(cvi arg0, cvi arg1, fk arg2)
clip(Vec3 arg0, Vec3 arg1, BlockPos arg2)
method_1092(class_243 arg0, class_243 arg1, class_2338 arg2)
rayTrace(Vec3d start, Vec3d end, BlockPos pos)
func_212433_a(Vec3d arg0, Vec3d arg1, BlockPos arg2)
rayTrace(Vec3D arg0, Vec3D arg1, BlockPosition arg2)
public VoxelShape
a(fp arg0)
getFaceShape(Direction arg0)
method_20538(class_2350 arg0)
getFace(Direction facing)
func_212434_a(Direction arg0)
private VoxelShape
b(fp arg0)
calculateFace(Direction arg0)
method_1098(class_2350 arg0)
getUncachedFace(Direction facing)
func_222863_b(Direction arg0)
public double
a(fp$a arg0, cvc arg1, double arg2)
collide(Direction$Axis arg0, AABB arg1, double arg2)
method_1108(class_2350$class_2351 arg0, class_238 arg1, double arg2)
calculateMaxDistance(Direction$Axis axis, Box box, double maxDist)
func_212430_a(Direction$Axis arg0, AxisAlignedBB arg1, double arg2)
protected double
a(fi arg0, cvc arg1, double arg2)
collideX(AxisCycle arg0, AABB arg1, double arg2)
method_1103(class_2335 arg0, class_238 arg1, double arg2)
calculateMaxDistance(AxisCycleDirection axisCycle, Box box, double maxDist)
func_212431_a(AxisRotation arg0, AxisAlignedBB arg1, double arg2)
public void
a(cvz$a arg0)
forAllEdges(Shapes$DoubleLineConsumer arg0)
method_1104(class_259$class_260 arg0)
forEachEdge(VoxelShapes$BoxConsumer arg0)
func_197754_a(VoxelShapes$ILineConsumer arg0)
public double
a(fp$a arg0, double arg1, double arg2)
min(Direction$Axis arg0, double arg1, double arg2)
method_1093(class_2350$class_2351 arg0, double arg1, double arg2)
getBeginningCoord(Direction$Axis arg0, double from, double to)
func_197764_a(Direction$Axis arg0, double arg1, double arg2)
public double
b(fp$a arg0, double arg1, double arg2)
max(Direction$Axis arg0, double arg1, double arg2)
method_1102(class_2350$class_2351 arg0, double arg1, double arg2)
getEndingCoord(Direction$Axis arg0, double from, double to)
func_197760_b(Direction$Axis arg0, double arg1, double arg2)