Package net.minecraft.datafixer.fix
Class LeavesFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.LeavesFix
public class LeavesFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official aup
intermediary net/minecraft/class_1191
named net/minecraft/datafixer/fix/LeavesFix
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int[][]
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
(package private) static final Object2IntMap<String>
-
Constructor Summary
ConstructorDescriptionLeavesFix
(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getBoundaryClassBit
(boolean westernmost, boolean easternmost, boolean northernmost, boolean southernmost) private int
getX
(int packedLocalPos) private int
getY
(int packedLocalPos) private int
getZ
(int packedLocalPos) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
static int
packLocalPos
(int localX, int localY, int localZ) Methods inherited from class com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
Field Details
-
field_29886
private static final int field_29886- See Also:
- Mappings:
Namespace Name Mixin selector official a
Laup;a:I
intermediary field_29886
Lnet/minecraft/class_1191;field_29886:I
named field_29886
Lnet/minecraft/datafixer/fix/LeavesFix;field_29886:I
-
field_29887
private static final int field_29887- See Also:
- Mappings:
Namespace Name Mixin selector official b
Laup;b:I
intermediary field_29887
Lnet/minecraft/class_1191;field_29887:I
named field_29887
Lnet/minecraft/datafixer/fix/LeavesFix;field_29887:I
-
field_29888
private static final int field_29888- See Also:
- Mappings:
Namespace Name Mixin selector official c
Laup;c:I
intermediary field_29888
Lnet/minecraft/class_1191;field_29888:I
named field_29888
Lnet/minecraft/datafixer/fix/LeavesFix;field_29888:I
-
field_29889
private static final int field_29889- See Also:
- Mappings:
Namespace Name Mixin selector official d
Laup;d:I
intermediary field_29889
Lnet/minecraft/class_1191;field_29889:I
named field_29889
Lnet/minecraft/datafixer/fix/LeavesFix;field_29889:I
-
field_29890
private static final int field_29890- See Also:
- Mappings:
Namespace Name Mixin selector official e
Laup;e:I
intermediary field_29890
Lnet/minecraft/class_1191;field_29890:I
named field_29890
Lnet/minecraft/datafixer/fix/LeavesFix;field_29890:I
-
field_29891
private static final int field_29891- See Also:
- Mappings:
Namespace Name Mixin selector official f
Laup;f:I
intermediary field_29891
Lnet/minecraft/class_1191;field_29891:I
named field_29891
Lnet/minecraft/datafixer/fix/LeavesFix;field_29891:I
-
field_29892
private static final int field_29892- See Also:
- Mappings:
Namespace Name Mixin selector official g
Laup;g:I
intermediary field_29892
Lnet/minecraft/class_1191;field_29892:I
named field_29892
Lnet/minecraft/datafixer/fix/LeavesFix;field_29892:I
-
field_29893
private static final int field_29893- See Also:
- Mappings:
Namespace Name Mixin selector official h
Laup;h:I
intermediary field_29893
Lnet/minecraft/class_1191;field_29893:I
named field_29893
Lnet/minecraft/datafixer/fix/LeavesFix;field_29893:I
-
AXIAL_OFFSETS
private static final int[][] AXIAL_OFFSETS- Mappings:
Namespace Name Mixin selector official i
Laup;i:[[I
intermediary field_5687
Lnet/minecraft/class_1191;field_5687:[[I
named AXIAL_OFFSETS
Lnet/minecraft/datafixer/fix/LeavesFix;AXIAL_OFFSETS:[[I
-
field_29894
private static final int field_29894- See Also:
- Mappings:
Namespace Name Mixin selector official j
Laup;j:I
intermediary field_29894
Lnet/minecraft/class_1191;field_29894:I
named field_29894
Lnet/minecraft/datafixer/fix/LeavesFix;field_29894:I
-
field_29895
private static final int field_29895- See Also:
- Mappings:
Namespace Name Mixin selector official k
Laup;k:I
intermediary field_29895
Lnet/minecraft/class_1191;field_29895:I
named field_29895
Lnet/minecraft/datafixer/fix/LeavesFix;field_29895:I
-
field_29896
private static final int field_29896- See Also:
- Mappings:
Namespace Name Mixin selector official l
Laup;l:I
intermediary field_29896
Lnet/minecraft/class_1191;field_29896:I
named field_29896
Lnet/minecraft/datafixer/fix/LeavesFix;field_29896:I
-
LEAVES_MAP
- Mappings:
Namespace Name Mixin selector official m
Laup;m:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_5688
Lnet/minecraft/class_1191;field_5688:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
named LEAVES_MAP
Lnet/minecraft/datafixer/fix/LeavesFix;LEAVES_MAP:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
LOGS_MAP
- Mappings:
Namespace Name Mixin selector official n
Laup;n:Ljava/util/Set;
intermediary field_5686
Lnet/minecraft/class_1191;field_5686:Ljava/util/Set;
named LOGS_MAP
Lnet/minecraft/datafixer/fix/LeavesFix;LOGS_MAP:Ljava/util/Set;
-
-
Constructor Details
-
LeavesFix
public LeavesFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) - Mappings:
Namespace Name Mixin selector official <init>
Laup;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
intermediary <init>
Lnet/minecraft/class_1191;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
named <init>
Lnet/minecraft/datafixer/fix/LeavesFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
packLocalPos
public static int packLocalPos(int localX, int localY, int localZ) - Mappings:
Namespace Name Mixin selector official a
Laup;a(III)I
intermediary method_5051
Lnet/minecraft/class_1191;method_5051(III)I
named packLocalPos
Lnet/minecraft/datafixer/fix/LeavesFix;packLocalPos(III)I
-
getX
private int getX(int packedLocalPos) - Mappings:
Namespace Name Mixin selector official a
Laup;a(I)I
intermediary method_5052
Lnet/minecraft/class_1191;method_5052(I)I
named getX
Lnet/minecraft/datafixer/fix/LeavesFix;getX(I)I
-
getY
private int getY(int packedLocalPos) - Mappings:
Namespace Name Mixin selector official b
Laup;b(I)I
intermediary method_5062
Lnet/minecraft/class_1191;method_5062(I)I
named getY
Lnet/minecraft/datafixer/fix/LeavesFix;getY(I)I
-
getZ
private int getZ(int packedLocalPos) - Mappings:
Namespace Name Mixin selector official c
Laup;c(I)I
intermediary method_5050
Lnet/minecraft/class_1191;method_5050(I)I
named getZ
Lnet/minecraft/datafixer/fix/LeavesFix;getZ(I)I
-
getBoundaryClassBit
public static int getBoundaryClassBit(boolean westernmost, boolean easternmost, boolean northernmost, boolean southernmost) - Mappings:
Namespace Name Mixin selector official a
Laup;a(ZZZZ)I
intermediary method_5061
Lnet/minecraft/class_1191;method_5061(ZZZZ)I
named getBoundaryClassBit
Lnet/minecraft/datafixer/fix/LeavesFix;getBoundaryClassBit(ZZZZ)I
-