Class CroppedVoxelSet

java.lang.Object
net.minecraft.util.shape.VoxelSet
net.minecraft.util.shape.CroppedVoxelSet

public final class CroppedVoxelSet
extends VoxelSet
Mappings:
Namespace Name
official djm
intermediary net/minecraft/class_262
named net/minecraft/util/shape/CroppedVoxelSet
  • Field Details

    • parent

      private final VoxelSet parent
      Mappings:
      Namespace Name Mixin selector
      official d Ldjm;d:Ldjd;
      intermediary field_1393 Lnet/minecraft/class_262;field_1393:Lnet/minecraft/class_251;
      named parent Lnet/minecraft/util/shape/CroppedVoxelSet;parent:Lnet/minecraft/util/shape/VoxelSet;
    • xMin

      private final int xMin
      Mappings:
      Namespace Name Mixin selector
      official e Ldjm;e:I
      intermediary field_1392 Lnet/minecraft/class_262;field_1392:I
      named xMin Lnet/minecraft/util/shape/CroppedVoxelSet;xMin:I
    • yMin

      private final int yMin
      Mappings:
      Namespace Name Mixin selector
      official f Ldjm;f:I
      intermediary field_1391 Lnet/minecraft/class_262;field_1391:I
      named yMin Lnet/minecraft/util/shape/CroppedVoxelSet;yMin:I
    • zMin

      private final int zMin
      Mappings:
      Namespace Name Mixin selector
      official g Ldjm;g:I
      intermediary field_1390 Lnet/minecraft/class_262;field_1390:I
      named zMin Lnet/minecraft/util/shape/CroppedVoxelSet;zMin:I
    • xMax

      private final int xMax
      Mappings:
      Namespace Name Mixin selector
      official h Ldjm;h:I
      intermediary field_1389 Lnet/minecraft/class_262;field_1389:I
      named xMax Lnet/minecraft/util/shape/CroppedVoxelSet;xMax:I
    • yMax

      private final int yMax
      Mappings:
      Namespace Name Mixin selector
      official i Ldjm;i:I
      intermediary field_1388 Lnet/minecraft/class_262;field_1388:I
      named yMax Lnet/minecraft/util/shape/CroppedVoxelSet;yMax:I
    • zMax

      private final int zMax
      Mappings:
      Namespace Name Mixin selector
      official j Ldjm;j:I
      intermediary field_1394 Lnet/minecraft/class_262;field_1394:I
      named zMax Lnet/minecraft/util/shape/CroppedVoxelSet;zMax:I
  • Constructor Details

    • CroppedVoxelSet

      protected CroppedVoxelSet​(VoxelSet parent, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldjm;<init>(Ldjd;IIIIII)V
      intermediary <init> Lnet/minecraft/class_262;<init>(Lnet/minecraft/class_251;IIIIII)V
      named <init> Lnet/minecraft/util/shape/CroppedVoxelSet;<init>(Lnet/minecraft/util/shape/VoxelSet;IIIIII)V
  • Method Details

    • contains

      public boolean contains​(int x, int y, int z)
      Specified by:
      contains in class VoxelSet
      Mappings:
      Namespace Name Mixin selector
      official b Ldjd;b(III)Z
      intermediary method_1063 Lnet/minecraft/class_251;method_1063(III)Z
      named contains Lnet/minecraft/util/shape/VoxelSet;contains(III)Z
    • set

      public void set​(int x, int y, int z)
      Specified by:
      set in class VoxelSet
      Mappings:
      Namespace Name Mixin selector
      official c Ldjd;c(III)V
      intermediary method_1049 Lnet/minecraft/class_251;method_1049(III)V
      named set Lnet/minecraft/util/shape/VoxelSet;set(III)V
    • getMin

      public int getMin​(Direction.Axis axis)
      Specified by:
      getMin in class VoxelSet
      Mappings:
      Namespace Name Mixin selector
      official a Ldjd;a(Lgc$a;)I
      intermediary method_1055 Lnet/minecraft/class_251;method_1055(Lnet/minecraft/class_2350$class_2351;)I
      named getMin Lnet/minecraft/util/shape/VoxelSet;getMin(Lnet/minecraft/util/math/Direction$Axis;)I
    • getMax

      public int getMax​(Direction.Axis axis)
      Specified by:
      getMax in class VoxelSet
      Mappings:
      Namespace Name Mixin selector
      official b Ldjd;b(Lgc$a;)I
      intermediary method_1045 Lnet/minecraft/class_251;method_1045(Lnet/minecraft/class_2350$class_2351;)I
      named getMax Lnet/minecraft/util/shape/VoxelSet;getMax(Lnet/minecraft/util/math/Direction$Axis;)I
    • clamp

      private int clamp​(Direction.Axis axis, int value)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjm;a(Lgc$a;I)I
      intermediary method_31944 Lnet/minecraft/class_262;method_31944(Lnet/minecraft/class_2350$class_2351;I)I
      named clamp Lnet/minecraft/util/shape/CroppedVoxelSet;clamp(Lnet/minecraft/util/math/Direction$Axis;I)I