Package net.minecraft.util.shape
Class VoxelSet
java.lang.Object
net.minecraft.util.shape.VoxelSet
- Direct Known Subclasses:
BitSetVoxelSet
,CroppedVoxelSet
- Mappings:
Namespace Name official doi
intermediary net/minecraft/class_251
named net/minecraft/util/shape/VoxelSet
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Direction.Axis[]
protected final int
protected final int
protected final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
contains
(int x, int y, int z) boolean
contains
(AxisCycleDirection cycle, int x, int y, int z) void
forEachBox
(VoxelSet.PositionBiConsumer consumer, boolean largest) void
forEachDirection
(VoxelSet.PositionConsumer positionConsumer) private void
forEachDirection
(VoxelSet.PositionConsumer positionConsumer, AxisCycleDirection direction) void
forEachEdge
(VoxelSet.PositionBiConsumer positionBiConsumer, boolean bool) private void
forEachEdge
(VoxelSet.PositionBiConsumer positionBiConsumer, AxisCycleDirection direction, boolean bool) int
getEndingAxisCoord
(Direction.Axis axis, int from, int to) abstract int
getMax
(Direction.Axis axis) abstract int
getMin
(Direction.Axis axis) int
getSize
(Direction.Axis axis) int
getXSize()
int
getYSize()
int
getZSize()
boolean
inBoundsAndContains
(int x, int y, int z) boolean
inBoundsAndContains
(AxisCycleDirection cycle, int x, int y, int z) boolean
isEmpty()
int
method_35592
(Direction.Axis axis, int int2, int int3) abstract void
set
(int x, int y, int z)
-
Field Details
-
AXES
- Mappings:
Namespace Name Mixin selector official d
Ldoi;d:[Lgm$a;
intermediary field_1375
Lnet/minecraft/class_251;field_1375:[Lnet/minecraft/class_2350$class_2351;
named AXES
Lnet/minecraft/util/shape/VoxelSet;AXES:[Lnet/minecraft/util/math/Direction$Axis;
-
sizeX
protected final int sizeX- Mappings:
Namespace Name Mixin selector official a
Ldoi;a:I
intermediary field_1374
Lnet/minecraft/class_251;field_1374:I
named sizeX
Lnet/minecraft/util/shape/VoxelSet;sizeX:I
-
sizeY
protected final int sizeY- Mappings:
Namespace Name Mixin selector official b
Ldoi;b:I
intermediary field_1373
Lnet/minecraft/class_251;field_1373:I
named sizeY
Lnet/minecraft/util/shape/VoxelSet;sizeY:I
-
sizeZ
protected final int sizeZ- Mappings:
Namespace Name Mixin selector official c
Ldoi;c:I
intermediary field_1372
Lnet/minecraft/class_251;field_1372:I
named sizeZ
Lnet/minecraft/util/shape/VoxelSet;sizeZ:I
-
-
Constructor Details
-
VoxelSet
protected VoxelSet(int sizeX, int sizeY, int sizeZ) - Mappings:
Namespace Name Mixin selector official <init>
Ldoi;<init>(III)V
intermediary <init>
Lnet/minecraft/class_251;<init>(III)V
named <init>
Lnet/minecraft/util/shape/VoxelSet;<init>(III)V
-
-
Method Details
-
inBoundsAndContains
- Mappings:
Namespace Name Mixin selector official a
Ldoi;a(Lgf;III)Z
intermediary method_1062
Lnet/minecraft/class_251;method_1062(Lnet/minecraft/class_2335;III)Z
named inBoundsAndContains
Lnet/minecraft/util/shape/VoxelSet;inBoundsAndContains(Lnet/minecraft/util/math/AxisCycleDirection;III)Z
-
inBoundsAndContains
public boolean inBoundsAndContains(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official d
Ldoi;d(III)Z
intermediary method_1044
Lnet/minecraft/class_251;method_1044(III)Z
named inBoundsAndContains
Lnet/minecraft/util/shape/VoxelSet;inBoundsAndContains(III)Z
-
contains
- Mappings:
Namespace Name Mixin selector official b
Ldoi;b(Lgf;III)Z
intermediary method_1057
Lnet/minecraft/class_251;method_1057(Lnet/minecraft/class_2335;III)Z
named contains
Lnet/minecraft/util/shape/VoxelSet;contains(Lnet/minecraft/util/math/AxisCycleDirection;III)Z
-
contains
public abstract boolean contains(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official b
Ldoi;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 abstract void set(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official c
Ldoi;c(III)V
intermediary method_1049
Lnet/minecraft/class_251;method_1049(III)V
named set
Lnet/minecraft/util/shape/VoxelSet;set(III)V
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official a
Ldoi;a()Z
intermediary method_1056
Lnet/minecraft/class_251;method_1056()Z
named isEmpty
Lnet/minecraft/util/shape/VoxelSet;isEmpty()Z
-
getMin
- Mappings:
Namespace Name Mixin selector official a
Ldoi;a(Lgm$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
- Mappings:
Namespace Name Mixin selector official b
Ldoi;b(Lgm$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
-
method_35592
- Mappings:
Namespace Name Mixin selector official a
Ldoi;a(Lgm$a;II)I
intermediary method_35592
Lnet/minecraft/class_251;method_35592(Lnet/minecraft/class_2350$class_2351;II)I
named method_35592
Lnet/minecraft/util/shape/VoxelSet;method_35592(Lnet/minecraft/util/math/Direction$Axis;II)I
-
getEndingAxisCoord
- Mappings:
Namespace Name Mixin selector official b
Ldoi;b(Lgm$a;II)I
intermediary method_1058
Lnet/minecraft/class_251;method_1058(Lnet/minecraft/class_2350$class_2351;II)I
named getEndingAxisCoord
Lnet/minecraft/util/shape/VoxelSet;getEndingAxisCoord(Lnet/minecraft/util/math/Direction$Axis;II)I
-
getSize
- Mappings:
Namespace Name Mixin selector official c
Ldoi;c(Lgm$a;)I
intermediary method_1051
Lnet/minecraft/class_251;method_1051(Lnet/minecraft/class_2350$class_2351;)I
named getSize
Lnet/minecraft/util/shape/VoxelSet;getSize(Lnet/minecraft/util/math/Direction$Axis;)I
-
getXSize
public int getXSize()- Mappings:
Namespace Name Mixin selector official b
Ldoi;b()I
intermediary method_1050
Lnet/minecraft/class_251;method_1050()I
named getXSize
Lnet/minecraft/util/shape/VoxelSet;getXSize()I
-
getYSize
public int getYSize()- Mappings:
Namespace Name Mixin selector official c
Ldoi;c()I
intermediary method_1047
Lnet/minecraft/class_251;method_1047()I
named getYSize
Lnet/minecraft/util/shape/VoxelSet;getYSize()I
-
getZSize
public int getZSize()- Mappings:
Namespace Name Mixin selector official d
Ldoi;d()I
intermediary method_1048
Lnet/minecraft/class_251;method_1048()I
named getZSize
Lnet/minecraft/util/shape/VoxelSet;getZSize()I
-
forEachEdge
- Mappings:
Namespace Name Mixin selector official a
Ldoi;a(Ldoi$b;Z)V
intermediary method_1064
Lnet/minecraft/class_251;method_1064(Lnet/minecraft/class_251$class_253;Z)V
named forEachEdge
Lnet/minecraft/util/shape/VoxelSet;forEachEdge(Lnet/minecraft/util/shape/VoxelSet$PositionBiConsumer;Z)V
-
forEachEdge
private void forEachEdge(VoxelSet.PositionBiConsumer positionBiConsumer, AxisCycleDirection direction, boolean bool) - Mappings:
Namespace Name Mixin selector official a
Ldoi;a(Ldoi$b;Lgf;Z)V
intermediary method_1052
Lnet/minecraft/class_251;method_1052(Lnet/minecraft/class_251$class_253;Lnet/minecraft/class_2335;Z)V
named forEachEdge
Lnet/minecraft/util/shape/VoxelSet;forEachEdge(Lnet/minecraft/util/shape/VoxelSet$PositionBiConsumer;Lnet/minecraft/util/math/AxisCycleDirection;Z)V
-
forEachBox
- Mappings:
Namespace Name Mixin selector official b
Ldoi;b(Ldoi$b;Z)V
intermediary method_1053
Lnet/minecraft/class_251;method_1053(Lnet/minecraft/class_251$class_253;Z)V
named forEachBox
Lnet/minecraft/util/shape/VoxelSet;forEachBox(Lnet/minecraft/util/shape/VoxelSet$PositionBiConsumer;Z)V
-
forEachDirection
- Mappings:
Namespace Name Mixin selector official a
Ldoi;a(Ldoi$a;)V
intermediary method_1046
Lnet/minecraft/class_251;method_1046(Lnet/minecraft/class_251$class_252;)V
named forEachDirection
Lnet/minecraft/util/shape/VoxelSet;forEachDirection(Lnet/minecraft/util/shape/VoxelSet$PositionConsumer;)V
-
forEachDirection
private void forEachDirection(VoxelSet.PositionConsumer positionConsumer, AxisCycleDirection direction) - Mappings:
Namespace Name Mixin selector official a
Ldoi;a(Ldoi$a;Lgf;)V
intermediary method_1061
Lnet/minecraft/class_251;method_1061(Lnet/minecraft/class_251$class_252;Lnet/minecraft/class_2335;)V
named forEachDirection
Lnet/minecraft/util/shape/VoxelSet;forEachDirection(Lnet/minecraft/util/shape/VoxelSet$PositionConsumer;Lnet/minecraft/util/math/AxisCycleDirection;)V
-