Package net.minecraft.util.shape
Class CroppedVoxelSet
java.lang.Object
net.minecraft.util.shape.VoxelSet
net.minecraft.util.shape.CroppedVoxelSet
- Mappings:
Namespace Name named net/minecraft/util/shape/CroppedVoxelSet
intermediary net/minecraft/class_262
official exo
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.shape.VoxelSet
VoxelSet.PositionBiConsumer, VoxelSet.PositionConsumer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final int
private final int
private final int
private final int
private final VoxelSet
-
Constructor Summary
ModifierConstructorDescriptionprotected
CroppedVoxelSet
(VoxelSet parent, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) -
Method Summary
Modifier and TypeMethodDescriptionprivate int
clamp
(Direction.Axis axis, int value) boolean
contains
(int x, int y, int z) int
getMax
(Direction.Axis axis) int
getMin
(Direction.Axis axis) void
set
(int x, int y, int z) Methods inherited from class net.minecraft.util.shape.VoxelSet
contains, forEachBox, forEachDirection, forEachEdge, getEndingAxisCoord, getSize, getStartingAxisCoord, getXSize, getYSize, getZSize, inBoundsAndContains, inBoundsAndContains, isEmpty
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/util/shape/CroppedVoxelSet;parent:Lnet/minecraft/util/shape/VoxelSet;
intermediary field_1393
Lnet/minecraft/class_262;field_1393:Lnet/minecraft/class_251;
official d
Lexo;d:Lexf;
-
minX
private final int minX- Mappings:
Namespace Name Mixin selector named minX
Lnet/minecraft/util/shape/CroppedVoxelSet;minX:I
intermediary field_1392
Lnet/minecraft/class_262;field_1392:I
official e
Lexo;e:I
-
minY
private final int minY- Mappings:
Namespace Name Mixin selector named minY
Lnet/minecraft/util/shape/CroppedVoxelSet;minY:I
intermediary field_1391
Lnet/minecraft/class_262;field_1391:I
official f
Lexo;f:I
-
minZ
private final int minZ- Mappings:
Namespace Name Mixin selector named minZ
Lnet/minecraft/util/shape/CroppedVoxelSet;minZ:I
intermediary field_1390
Lnet/minecraft/class_262;field_1390:I
official g
Lexo;g:I
-
maxX
private final int maxX- Mappings:
Namespace Name Mixin selector named maxX
Lnet/minecraft/util/shape/CroppedVoxelSet;maxX:I
intermediary field_1389
Lnet/minecraft/class_262;field_1389:I
official h
Lexo;h:I
-
maxY
private final int maxY- Mappings:
Namespace Name Mixin selector named maxY
Lnet/minecraft/util/shape/CroppedVoxelSet;maxY:I
intermediary field_1388
Lnet/minecraft/class_262;field_1388:I
official i
Lexo;i:I
-
maxZ
private final int maxZ- Mappings:
Namespace Name Mixin selector named maxZ
Lnet/minecraft/util/shape/CroppedVoxelSet;maxZ:I
intermediary field_1394
Lnet/minecraft/class_262;field_1394:I
official j
Lexo;j:I
-
-
Constructor Details
-
CroppedVoxelSet
protected CroppedVoxelSet(VoxelSet parent, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/shape/CroppedVoxelSet;<init>(Lnet/minecraft/util/shape/VoxelSet;IIIIII)V
intermediary <init>
Lnet/minecraft/class_262;<init>(Lnet/minecraft/class_251;IIIIII)V
official <init>
Lexo;<init>(Lexf;IIIIII)V
-
-
Method Details
-
contains
public boolean contains(int x, int y, int z) -
set
public void set(int x, int y, int z) -
getMin
- Specified by:
getMin
in classVoxelSet
- Mappings:
Namespace Name Mixin selector named getMin
Lnet/minecraft/util/shape/VoxelSet;getMin(Lnet/minecraft/util/math/Direction$Axis;)I
intermediary method_1055
Lnet/minecraft/class_251;method_1055(Lnet/minecraft/class_2350$class_2351;)I
official a
Lexf;a(Lji$a;)I
-
getMax
- Specified by:
getMax
in classVoxelSet
- Mappings:
Namespace Name Mixin selector named getMax
Lnet/minecraft/util/shape/VoxelSet;getMax(Lnet/minecraft/util/math/Direction$Axis;)I
intermediary method_1045
Lnet/minecraft/class_251;method_1045(Lnet/minecraft/class_2350$class_2351;)I
official b
Lexf;b(Lji$a;)I
-
clamp
- Mappings:
Namespace Name Mixin selector named clamp
Lnet/minecraft/util/shape/CroppedVoxelSet;clamp(Lnet/minecraft/util/math/Direction$Axis;I)I
intermediary method_31944
Lnet/minecraft/class_262;method_31944(Lnet/minecraft/class_2350$class_2351;I)I
official a
Lexo;a(Lji$a;I)I
-