Package net.minecraft.structure
Class WoodlandMansionGenerator.FlagMatrix
java.lang.Object
net.minecraft.structure.WoodlandMansionGenerator.FlagMatrix
- Enclosing class:
WoodlandMansionGenerator
A matrix used to store floor information. Each element in this matrix
corresponds to the cell on the floor.
- Mappings:
Namespace Name named net/minecraft/structure/WoodlandMansionGenerator$FlagMatrix
intermediary net/minecraft/class_3471$class_3478
official emi$g
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
anyMatchAround
(int i, int j, int value) void
fill
(int i0, int j0, int i1, int j1, int value) int
get
(int i, int j) void
set
(int i, int j, int value) void
update
(int i, int j, int expected, int newValue) Updates the element in(i, j)
tonewValue
if the current value is equal toexpected
.
-
Field Details
-
array
private final int[][] array- Mappings:
Namespace Name Mixin selector named array
Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;array:[[I
intermediary field_15451
Lnet/minecraft/class_3471$class_3478;field_15451:[[I
official a
Lemi$g;a:[[I
-
n
final int n- Mappings:
Namespace Name Mixin selector named n
Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;n:I
intermediary field_15454
Lnet/minecraft/class_3471$class_3478;field_15454:I
official b
Lemi$g;b:I
-
m
final int m- Mappings:
Namespace Name Mixin selector named m
Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;m:I
intermediary field_15453
Lnet/minecraft/class_3471$class_3478;field_15453:I
official c
Lemi$g;c:I
-
fallback
private final int fallback- Mappings:
Namespace Name Mixin selector named fallback
Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;fallback:I
intermediary field_15452
Lnet/minecraft/class_3471$class_3478;field_15452:I
official d
Lemi$g;d:I
-
-
Constructor Details
-
FlagMatrix
public FlagMatrix(int n, int m, int fallback) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;<init>(III)V
intermediary <init>
Lnet/minecraft/class_3471$class_3478;<init>(III)V
official <init>
Lemi$g;<init>(III)V
-
-
Method Details
-
set
public void set(int i, int j, int value) - Mappings:
Namespace Name Mixin selector named set
Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;set(III)V
intermediary method_15065
Lnet/minecraft/class_3471$class_3478;method_15065(III)V
official a
Lemi$g;a(III)V
-
fill
public void fill(int i0, int j0, int i1, int j1, int value) - Mappings:
Namespace Name Mixin selector named fill
Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;fill(IIIII)V
intermediary method_15062
Lnet/minecraft/class_3471$class_3478;method_15062(IIIII)V
official a
Lemi$g;a(IIIII)V
-
get
public int get(int i, int j) - Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;get(II)I
intermediary method_15066
Lnet/minecraft/class_3471$class_3478;method_15066(II)I
official a
Lemi$g;a(II)I
-
update
public void update(int i, int j, int expected, int newValue) Updates the element in(i, j)
tonewValue
if the current value is equal toexpected
.- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;update(IIII)V
intermediary method_15061
Lnet/minecraft/class_3471$class_3478;method_15061(IIII)V
official a
Lemi$g;a(IIII)V
-
anyMatchAround
public boolean anyMatchAround(int i, int j, int value) - Mappings:
Namespace Name Mixin selector named anyMatchAround
Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;anyMatchAround(III)Z
intermediary method_15067
Lnet/minecraft/class_3471$class_3478;method_15067(III)Z
official b
Lemi$g;b(III)Z
-