Class VoxelShape

java.lang.Object
net.minecraft.util.shapes.VoxelShape
Direct Known Subclasses:
ArrayVoxelShape, class_4084, class_4101, SliceVoxelShape

public abstract class VoxelShape extends Object
Mappings:
Namespace Name
official cew
intermediary net/minecraft/class_4100
named net/minecraft/util/shapes/VoxelShape
  • Field Details

    • voxels

      protected final VoxelSet voxels
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a:Lcem;
      intermediary field_19861 Lnet/minecraft/class_4100;field_19861:Lnet/minecraft/class_4086;
      named voxels Lnet/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;)V
      intermediary <init> Lnet/minecraft/class_4100;<init>(Lnet/minecraft/class_4086;)V
      named <init> Lnet/minecraft/util/shapes/VoxelShape;<init>(Lnet/minecraft/util/shape/VoxelSet;)V
  • Method Details

    • getMinimum

      public double getMinimum(Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      official b Lcew;b(Leq$a;)D
      intermediary method_18083 Lnet/minecraft/class_4100;method_18083(Lnet/minecraft/class_1354$class_2558;)D
      named getMinimum Lnet/minecraft/util/shapes/VoxelShape;getMinimum(Lnet/minecraft/util/math/Direction$Axis;)D
    • getMaximum

      public double getMaximum(Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      official c Lcew;c(Leq$a;)D
      intermediary method_18086 Lnet/minecraft/class_4100;method_18086(Lnet/minecraft/class_1354$class_2558;)D
      named getMaximum Lnet/minecraft/util/shapes/VoxelShape;getMaximum(Lnet/minecraft/util/math/Direction$Axis;)D
    • getBoundingBox

      public Box getBoundingBox()
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a()Lcea;
      intermediary method_18064 Lnet/minecraft/class_4100;method_18064()Lnet/minecraft/class_231;
      named getBoundingBox Lnet/minecraft/util/shapes/VoxelShape;getBoundingBox()Lnet/minecraft/util/math/Box;
    • getCoord

      protected double getCoord(Direction.Axis getMax, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a(Leq$a;I)D
      intermediary method_18074 Lnet/minecraft/class_4100;method_18074(Lnet/minecraft/class_1354$class_2558;I)D
      named getCoord Lnet/minecraft/util/shapes/VoxelShape;getCoord(Lnet/minecraft/util/math/Direction$Axis;I)D
    • getIncludedPoints

      protected abstract DoubleList getIncludedPoints(Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a(Leq$a;)Lit/unimi/dsi/fastutil/doubles/DoubleList;
      intermediary method_18070 Lnet/minecraft/class_4100;method_18070(Lnet/minecraft/class_1354$class_2558;)Lit/unimi/dsi/fastutil/doubles/DoubleList;
      named getIncludedPoints Lnet/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 b Lcew;b()Z
      intermediary method_18079 Lnet/minecraft/class_4100;method_18079()Z
      named isEmpty Lnet/minecraft/util/shapes/VoxelShape;isEmpty()Z
    • offset

      public VoxelShape offset(double double2, double double3, double double4)
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a(DDD)Lcew;
      intermediary method_18065 Lnet/minecraft/class_4100;method_18065(DDD)Lnet/minecraft/class_4100;
      named offset Lnet/minecraft/util/shapes/VoxelShape;offset(DDD)Lnet/minecraft/util/shapes/VoxelShape;
    • simplify

      public VoxelShape simplify()
      Mappings:
      Namespace Name Mixin selector
      official c Lcew;c()Lcew;
      intermediary method_18085 Lnet/minecraft/class_4100;method_18085()Lnet/minecraft/class_4100;
      named simplify Lnet/minecraft/util/shapes/VoxelShape;simplify()Lnet/minecraft/util/shapes/VoxelShape;
    • forEachEdge

      @Environment(CLIENT) public void forEachEdge(VoxelShapes.BoxConsumer boxConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a(Lcet$a;)V
      intermediary method_18067 Lnet/minecraft/class_4100;method_18067(Lnet/minecraft/class_4096$class_4097;)V
      named forEachEdge Lnet/minecraft/util/shapes/VoxelShape;forEachEdge(Lnet/minecraft/util/shapes/VoxelShapes$BoxConsumer;)V
    • forEachBox

      public void forEachBox(VoxelShapes.BoxConsumer boxConsumer)
      Mappings:
      Namespace Name Mixin selector
      official b Lcew;b(Lcet$a;)V
      intermediary method_18081 Lnet/minecraft/class_4100;method_18081(Lnet/minecraft/class_4096$class_4097;)V
      named forEachBox Lnet/minecraft/util/shapes/VoxelShape;forEachBox(Lnet/minecraft/util/shapes/VoxelShapes$BoxConsumer;)V
    • getBoundingBoxes

      public List<Box> getBoundingBoxes()
      Mappings:
      Namespace Name Mixin selector
      official d Lcew;d()Ljava/util/List;
      intermediary method_18087 Lnet/minecraft/class_4100;method_18087()Ljava/util/List;
      named getBoundingBoxes Lnet/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 a Lcew;a(Leq$a;DD)D
      intermediary method_18072 Lnet/minecraft/class_4100;method_18072(Lnet/minecraft/class_1354$class_2558;DD)D
      named getBoundingBoxes Lnet/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 b Lcew;b(Leq$a;DD)D
      intermediary method_18084 Lnet/minecraft/class_4100;method_18084(Lnet/minecraft/class_1354$class_2558;DD)D
      named method_18084 Lnet/minecraft/util/shapes/VoxelShape;method_18084(Lnet/minecraft/util/math/Direction$Axis;DD)D
    • getCoordIndex

      protected int getCoordIndex(Direction.Axis axis, double double2)
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a(Leq$a;D)I
      intermediary method_18071 Lnet/minecraft/class_4100;method_18071(Lnet/minecraft/class_1354$class_2558;D)I
      named getCoordIndex Lnet/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 b Lcew;b(DDD)Z
      intermediary method_18080 Lnet/minecraft/class_4100;method_18080(DDD)Z
      named contains Lnet/minecraft/util/shapes/VoxelShape;contains(DDD)Z
    • rayTrace

      @Nullable public BlockHitResult rayTrace(Vec3d vec3d, Vec3d vec3d2, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a(Lcee;Lcee;Lel;)Lceb;
      intermediary method_18066 Lnet/minecraft/class_4100;method_18066(Lnet/minecraft/class_236;Lnet/minecraft/class_236;Lnet/minecraft/class_2552;)Lnet/minecraft/class_234;
      named rayTrace Lnet/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

      public VoxelShape getFace(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a(Leq;)Lcew;
      intermediary method_18076 Lnet/minecraft/class_4100;method_18076(Lnet/minecraft/class_1354;)Lnet/minecraft/class_4100;
      named getFace Lnet/minecraft/util/shapes/VoxelShape;getFace(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/shapes/VoxelShape;
    • method_18075

      public double method_18075(Direction.Axis axis, Box box, double double2)
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a(Leq$a;Lcea;D)D
      intermediary method_18075 Lnet/minecraft/class_4100;method_18075(Lnet/minecraft/class_1354$class_2558;Lnet/minecraft/class_231;D)D
      named method_18075 Lnet/minecraft/util/shapes/VoxelShape;method_18075(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/util/math/Box;D)D
    • method_18069

      protected double method_18069(AxisCycleDirection axisCycleDirection, Box boundingBox, double d)
      Mappings:
      Namespace Name Mixin selector
      official a Lcew;a(Lej;Lcea;D)D
      intermediary method_18069 Lnet/minecraft/class_4100;method_18069(Lnet/minecraft/class_4334;Lnet/minecraft/class_231;D)D
      named method_18069 Lnet/minecraft/util/shapes/VoxelShape;method_18069(Lnet/minecraft/util/math/AxisCycleDirection;Lnet/minecraft/util/math/Box;D)D
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lcew;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_4100;toString()Ljava/lang/String;
      named toString Lnet/minecraft/util/shapes/VoxelShape;toString()Ljava/lang/String;