Package net.minecraft.datafixer.fix
Class LeavesFix.LeavesLogFixer
java.lang.Object
net.minecraft.datafixer.fix.LeavesFix.ListFixer
net.minecraft.datafixer.fix.LeavesFix.LeavesLogFixer
- Enclosing class:
LeavesFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer
intermediary net/minecraft/class_1191$class_1192
official bfa$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final String
private @Nullable Int2IntMap
private static final String
Fields inherited from class net.minecraft.datafixer.fix.LeavesFix.ListFixer
BLOCK_STATES_KEY, blockStateMap, NAME_KEY, paletteFinder, properties, PROPERTIES_KEY, y
-
Constructor Summary
ConstructorDescriptionLeavesLogFixer
(com.mojang.datafixers.Typed<?> sectionTyped, com.mojang.datafixers.schemas.Schema inputSchema) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
(package private) void
computeLeafStates
(int packedLocalPos, int propertyIndex, int distance) private com.mojang.serialization.Dynamic
<?> createLeafProperties
(com.mojang.serialization.Dynamic<?> tag, String name, boolean persistent, int distance) (package private) int
getDistanceToLog
(int index) boolean
isLeaf
(int index) boolean
isLog
(int index) Methods inherited from class net.minecraft.datafixer.fix.LeavesFix.ListFixer
blockStateAt, computeFixableBlockStates, computeFlags, finalizeFix, getY, isFixed
-
Field Details
-
PERSISTENT
- See Also:
- Mappings:
Namespace Name Mixin selector named PERSISTENT
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;PERSISTENT:Ljava/lang/String;
intermediary field_29897
Lnet/minecraft/class_1191$class_1192;field_29897:Ljava/lang/String;
official h
Lbfa$a;h:Ljava/lang/String;
-
DECAYABLE
- See Also:
- Mappings:
Namespace Name Mixin selector named DECAYABLE
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;DECAYABLE:Ljava/lang/String;
intermediary field_29898
Lnet/minecraft/class_1191$class_1192;field_29898:Ljava/lang/String;
official i
Lbfa$a;i:Ljava/lang/String;
-
DISTANCE
- See Also:
- Mappings:
Namespace Name Mixin selector named DISTANCE
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;DISTANCE:Ljava/lang/String;
intermediary field_29899
Lnet/minecraft/class_1191$class_1192;field_29899:Ljava/lang/String;
official j
Lbfa$a;j:Ljava/lang/String;
-
leafIndices
- Mappings:
Namespace Name Mixin selector named leafIndices
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;leafIndices:Lit/unimi/dsi/fastutil/ints/IntSet;
intermediary field_5689
Lnet/minecraft/class_1191$class_1192;field_5689:Lit/unimi/dsi/fastutil/ints/IntSet;
official k
Lbfa$a;k:Lit/unimi/dsi/fastutil/ints/IntSet;
-
logIndices
- Mappings:
Namespace Name Mixin selector named logIndices
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;logIndices:Lit/unimi/dsi/fastutil/ints/IntSet;
intermediary field_5691
Lnet/minecraft/class_1191$class_1192;field_5691:Lit/unimi/dsi/fastutil/ints/IntSet;
official l
Lbfa$a;l:Lit/unimi/dsi/fastutil/ints/IntSet;
-
leafStates
- Mappings:
Namespace Name Mixin selector named leafStates
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;leafStates:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
intermediary field_5690
Lnet/minecraft/class_1191$class_1192;field_5690:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
official m
Lbfa$a;m:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
-
-
Constructor Details
-
LeavesLogFixer
public LeavesLogFixer(com.mojang.datafixers.Typed<?> sectionTyped, com.mojang.datafixers.schemas.Schema inputSchema) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;<init>(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/schemas/Schema;)V
intermediary <init>
Lnet/minecraft/class_1191$class_1193;<init>(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/schemas/Schema;)V
official <init>
Lbfa$b;<init>(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/schemas/Schema;)V
-
-
Method Details
-
computeIsFixed
protected boolean computeIsFixed()- Specified by:
computeIsFixed
in classLeavesFix.ListFixer
- Mappings:
Namespace Name Mixin selector named computeIsFixed
Lnet/minecraft/datafixer/fix/LeavesFix$ListFixer;computeIsFixed()Z
intermediary method_5076
Lnet/minecraft/class_1191$class_1193;method_5076()Z
official a
Lbfa$b;a()Z
-
createLeafProperties
private com.mojang.serialization.Dynamic<?> createLeafProperties(com.mojang.serialization.Dynamic<?> tag, String name, boolean persistent, int distance) - Mappings:
Namespace Name Mixin selector named createLeafProperties
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;createLeafProperties(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;ZI)Lcom/mojang/serialization/Dynamic;
intermediary method_5072
Lnet/minecraft/class_1191$class_1192;method_5072(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;ZI)Lcom/mojang/serialization/Dynamic;
official a
Lbfa$a;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;ZI)Lcom/mojang/serialization/Dynamic;
-
isLog
public boolean isLog(int index) - Mappings:
Namespace Name Mixin selector named isLog
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;isLog(I)Z
intermediary method_5068
Lnet/minecraft/class_1191$class_1192;method_5068(I)Z
official a
Lbfa$a;a(I)Z
-
isLeaf
public boolean isLeaf(int index) - Mappings:
Namespace Name Mixin selector named isLeaf
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;isLeaf(I)Z
intermediary method_5071
Lnet/minecraft/class_1191$class_1192;method_5071(I)Z
official b
Lbfa$a;b(I)Z
-
getDistanceToLog
int getDistanceToLog(int index) - Mappings:
Namespace Name Mixin selector named getDistanceToLog
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;getDistanceToLog(I)I
intermediary method_5065
Lnet/minecraft/class_1191$class_1192;method_5065(I)I
official d
Lbfa$a;d(I)I
-
computeLeafStates
void computeLeafStates(int packedLocalPos, int propertyIndex, int distance) - Mappings:
Namespace Name Mixin selector named computeLeafStates
Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;computeLeafStates(III)V
intermediary method_5070
Lnet/minecraft/class_1191$class_1192;method_5070(III)V
official a
Lbfa$a;a(III)V
-