Class SlicedVoxelShape

java.lang.Object
net.minecraft.util.shape.VoxelShape
net.minecraft.util.shape.SlicedVoxelShape

public class SlicedVoxelShape extends VoxelShape
Mappings:
Namespace Name
official eav
intermediary net/minecraft/class_263
named net/minecraft/util/shape/SlicedVoxelShape
  • Field Details

    • POINTS

      private static final DoubleList POINTS
      Mappings:
      Namespace Name Mixin selector
      official d Leav;d:Lit/unimi/dsi/fastutil/doubles/DoubleList;
      intermediary field_1395 Lnet/minecraft/class_263;field_1395:Lit/unimi/dsi/fastutil/doubles/DoubleList;
      named POINTS Lnet/minecraft/util/shape/SlicedVoxelShape;POINTS:Lit/unimi/dsi/fastutil/doubles/DoubleList;
    • shape

      private final VoxelShape shape
      Mappings:
      Namespace Name Mixin selector
      official b Leav;b:Leax;
      intermediary field_1397 Lnet/minecraft/class_263;field_1397:Lnet/minecraft/class_265;
      named shape Lnet/minecraft/util/shape/SlicedVoxelShape;shape:Lnet/minecraft/util/shape/VoxelShape;
    • axis

      private final Direction.Axis axis
      Mappings:
      Namespace Name Mixin selector
      official c Leav;c:Lgv$a;
      intermediary field_1396 Lnet/minecraft/class_263;field_1396:Lnet/minecraft/class_2350$class_2351;
      named axis Lnet/minecraft/util/shape/SlicedVoxelShape;axis:Lnet/minecraft/util/math/Direction$Axis;
  • Constructor Details

    • SlicedVoxelShape

      public SlicedVoxelShape(VoxelShape shape, Direction.Axis axis, int sliceWidth)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leav;<init>(Leax;Lgv$a;I)V
      intermediary <init> Lnet/minecraft/class_263;<init>(Lnet/minecraft/class_265;Lnet/minecraft/class_2350$class_2351;I)V
      named <init> Lnet/minecraft/util/shape/SlicedVoxelShape;<init>(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Direction$Axis;I)V
  • Method Details

    • createVoxelSet

      private static VoxelSet createVoxelSet(VoxelSet voxelSet, Direction.Axis axis, int sliceWidth)
      Mappings:
      Namespace Name Mixin selector
      official a Leav;a(Lean;Lgv$a;I)Lean;
      intermediary method_1088 Lnet/minecraft/class_263;method_1088(Lnet/minecraft/class_251;Lnet/minecraft/class_2350$class_2351;I)Lnet/minecraft/class_251;
      named createVoxelSet Lnet/minecraft/util/shape/SlicedVoxelShape;createVoxelSet(Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/math/Direction$Axis;I)Lnet/minecraft/util/shape/VoxelSet;
    • getPointPositions

      protected DoubleList getPointPositions(Direction.Axis axis)
      Specified by:
      getPointPositions in class VoxelShape
      Mappings:
      Namespace Name Mixin selector
      official a Leax;a(Lgv$a;)Lit/unimi/dsi/fastutil/doubles/DoubleList;
      intermediary method_1109 Lnet/minecraft/class_265;method_1109(Lnet/minecraft/class_2350$class_2351;)Lit/unimi/dsi/fastutil/doubles/DoubleList;
      named getPointPositions Lnet/minecraft/util/shape/VoxelShape;getPointPositions(Lnet/minecraft/util/math/Direction$Axis;)Lit/unimi/dsi/fastutil/doubles/DoubleList;