Package net.minecraft.util.shapes
Class VoxelShape
java.lang.Object
net.minecraft.util.shapes.VoxelShape
- Direct Known Subclasses:
ArrayVoxelShape,class_4084,class_4101,SliceVoxelShape
- Mappings:
Namespace Name official cewintermediary net/minecraft/class_4100named net/minecraft/util/shapes/VoxelShape
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancontains(double double2, double double3, double double4) voidforEachBox(VoxelShapes.BoxConsumer boxConsumer) voidforEachEdge(VoxelShapes.BoxConsumer boxConsumer) doublegetBoundingBoxes(Direction.Axis axis, double double2, double double3) protected doublegetCoord(Direction.Axis getMax, int int2) protected intgetCoordIndex(Direction.Axis axis, double double2) protected abstract DoubleListdoublegetMaximum(Direction.Axis axis) doublegetMinimum(Direction.Axis axis) booleanisEmpty()protected doublemethod_18069(AxisCycleDirection axisCycleDirection, Box boundingBox, double d) doublemethod_18075(Direction.Axis axis, Box box, double double2) doublemethod_18084(Direction.Axis axis, double double2, double double3) offset(double double2, double double3, double double4) simplify()toString()
-
Field Details
-
voxels
- Mappings:
Namespace Name Mixin selector official aLcew;a:Lcem;intermediary field_19861Lnet/minecraft/class_4100;field_19861:Lnet/minecraft/class_4086;named voxelsLnet/minecraft/util/shapes/VoxelShape;voxels:Lnet/minecraft/util/shape/VoxelSet;
-
-
Constructor Details
-
VoxelShape
VoxelShape(VoxelSet voxelSet) - Mappings:
Namespace Name Mixin selector official <init>Lcew;<init>(Lcem;)Vintermediary <init>Lnet/minecraft/class_4100;<init>(Lnet/minecraft/class_4086;)Vnamed <init>Lnet/minecraft/util/shapes/VoxelShape;<init>(Lnet/minecraft/util/shape/VoxelSet;)V
-
-
Method Details
-
getMinimum
- Mappings:
Namespace Name Mixin selector official bLcew;b(Leq$a;)Dintermediary method_18083Lnet/minecraft/class_4100;method_18083(Lnet/minecraft/class_1354$class_2558;)Dnamed getMinimumLnet/minecraft/util/shapes/VoxelShape;getMinimum(Lnet/minecraft/util/math/Direction$Axis;)D
-
getMaximum
- Mappings:
Namespace Name Mixin selector official cLcew;c(Leq$a;)Dintermediary method_18086Lnet/minecraft/class_4100;method_18086(Lnet/minecraft/class_1354$class_2558;)Dnamed getMaximumLnet/minecraft/util/shapes/VoxelShape;getMaximum(Lnet/minecraft/util/math/Direction$Axis;)D
-
getBoundingBox
- Mappings:
Namespace Name Mixin selector official aLcew;a()Lcea;intermediary method_18064Lnet/minecraft/class_4100;method_18064()Lnet/minecraft/class_231;named getBoundingBoxLnet/minecraft/util/shapes/VoxelShape;getBoundingBox()Lnet/minecraft/util/math/Box;
-
getCoord
- Mappings:
Namespace Name Mixin selector official aLcew;a(Leq$a;I)Dintermediary method_18074Lnet/minecraft/class_4100;method_18074(Lnet/minecraft/class_1354$class_2558;I)Dnamed getCoordLnet/minecraft/util/shapes/VoxelShape;getCoord(Lnet/minecraft/util/math/Direction$Axis;I)D
-
getIncludedPoints
- Mappings:
Namespace Name Mixin selector official aLcew;a(Leq$a;)Lit/unimi/dsi/fastutil/doubles/DoubleList;intermediary method_18070Lnet/minecraft/class_4100;method_18070(Lnet/minecraft/class_1354$class_2558;)Lit/unimi/dsi/fastutil/doubles/DoubleList;named getIncludedPointsLnet/minecraft/util/shapes/VoxelShape;getIncludedPoints(Lnet/minecraft/util/math/Direction$Axis;)Lit/unimi/dsi/fastutil/doubles/DoubleList;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official bLcew;b()Zintermediary method_18079Lnet/minecraft/class_4100;method_18079()Znamed isEmptyLnet/minecraft/util/shapes/VoxelShape;isEmpty()Z
-
offset
- Mappings:
Namespace Name Mixin selector official aLcew;a(DDD)Lcew;intermediary method_18065Lnet/minecraft/class_4100;method_18065(DDD)Lnet/minecraft/class_4100;named offsetLnet/minecraft/util/shapes/VoxelShape;offset(DDD)Lnet/minecraft/util/shapes/VoxelShape;
-
simplify
- Mappings:
Namespace Name Mixin selector official cLcew;c()Lcew;intermediary method_18085Lnet/minecraft/class_4100;method_18085()Lnet/minecraft/class_4100;named simplifyLnet/minecraft/util/shapes/VoxelShape;simplify()Lnet/minecraft/util/shapes/VoxelShape;
-
forEachEdge
- Mappings:
Namespace Name Mixin selector official aLcew;a(Lcet$a;)Vintermediary method_18067Lnet/minecraft/class_4100;method_18067(Lnet/minecraft/class_4096$class_4097;)Vnamed forEachEdgeLnet/minecraft/util/shapes/VoxelShape;forEachEdge(Lnet/minecraft/util/shapes/VoxelShapes$BoxConsumer;)V
-
forEachBox
- Mappings:
Namespace Name Mixin selector official bLcew;b(Lcet$a;)Vintermediary method_18081Lnet/minecraft/class_4100;method_18081(Lnet/minecraft/class_4096$class_4097;)Vnamed forEachBoxLnet/minecraft/util/shapes/VoxelShape;forEachBox(Lnet/minecraft/util/shapes/VoxelShapes$BoxConsumer;)V
-
getBoundingBoxes
- Mappings:
Namespace Name Mixin selector official dLcew;d()Ljava/util/List;intermediary method_18087Lnet/minecraft/class_4100;method_18087()Ljava/util/List;named getBoundingBoxesLnet/minecraft/util/shapes/VoxelShape;getBoundingBoxes()Ljava/util/List;
-
getBoundingBoxes
@Environment(CLIENT) public double getBoundingBoxes(Direction.Axis axis, double double2, double double3) - Mappings:
Namespace Name Mixin selector official aLcew;a(Leq$a;DD)Dintermediary method_18072Lnet/minecraft/class_4100;method_18072(Lnet/minecraft/class_1354$class_2558;DD)Dnamed getBoundingBoxesLnet/minecraft/util/shapes/VoxelShape;getBoundingBoxes(Lnet/minecraft/util/math/Direction$Axis;DD)D
-
method_18084
@Environment(CLIENT) public double method_18084(Direction.Axis axis, double double2, double double3) - Mappings:
Namespace Name Mixin selector official bLcew;b(Leq$a;DD)Dintermediary method_18084Lnet/minecraft/class_4100;method_18084(Lnet/minecraft/class_1354$class_2558;DD)Dnamed method_18084Lnet/minecraft/util/shapes/VoxelShape;method_18084(Lnet/minecraft/util/math/Direction$Axis;DD)D
-
getCoordIndex
- Mappings:
Namespace Name Mixin selector official aLcew;a(Leq$a;D)Iintermediary method_18071Lnet/minecraft/class_4100;method_18071(Lnet/minecraft/class_1354$class_2558;D)Inamed getCoordIndexLnet/minecraft/util/shapes/VoxelShape;getCoordIndex(Lnet/minecraft/util/math/Direction$Axis;D)I
-
contains
protected boolean contains(double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official bLcew;b(DDD)Zintermediary method_18080Lnet/minecraft/class_4100;method_18080(DDD)Znamed containsLnet/minecraft/util/shapes/VoxelShape;contains(DDD)Z
-
rayTrace
- Mappings:
Namespace Name Mixin selector official aLcew;a(Lcee;Lcee;Lel;)Lceb;intermediary method_18066Lnet/minecraft/class_4100;method_18066(Lnet/minecraft/class_236;Lnet/minecraft/class_236;Lnet/minecraft/class_2552;)Lnet/minecraft/class_234;named rayTraceLnet/minecraft/util/shapes/VoxelShape;rayTrace(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/hit/BlockHitResult;
-
getFace
- Mappings:
Namespace Name Mixin selector official aLcew;a(Leq;)Lcew;intermediary method_18076Lnet/minecraft/class_4100;method_18076(Lnet/minecraft/class_1354;)Lnet/minecraft/class_4100;named getFaceLnet/minecraft/util/shapes/VoxelShape;getFace(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/shapes/VoxelShape;
-
method_18075
- Mappings:
Namespace Name Mixin selector official aLcew;a(Leq$a;Lcea;D)Dintermediary method_18075Lnet/minecraft/class_4100;method_18075(Lnet/minecraft/class_1354$class_2558;Lnet/minecraft/class_231;D)Dnamed method_18075Lnet/minecraft/util/shapes/VoxelShape;method_18075(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/util/math/Box;D)D
-
method_18069
- Mappings:
Namespace Name Mixin selector official aLcew;a(Lej;Lcea;D)Dintermediary method_18069Lnet/minecraft/class_4100;method_18069(Lnet/minecraft/class_4334;Lnet/minecraft/class_231;D)Dnamed method_18069Lnet/minecraft/util/shapes/VoxelShape;method_18069(Lnet/minecraft/util/math/AxisCycleDirection;Lnet/minecraft/util/math/Box;D)D
-
toString
-