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 official ale$aintermediary net/minecraft/class_1191$class_1192named net/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Stringprivate static Stringprivate static Stringprivate @Nullable Int2IntMapFields inherited from class net.minecraft.datafixer.fix.LeavesFix.ListFixer
blockStateMap, field_29900, field_29901, field_29902, field_5693, field_5694, properties -
Constructor Summary
ConstructorsConstructorDescriptionLeavesLogFixer(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.schemas.Schema schema) -
Method Summary
Modifier and TypeMethodDescription(package private) voidcomputeLeafStates(int int2, int int3, int int4)private com.mojang.serialization.Dynamic<?>createLeafProperties(com.mojang.serialization.Dynamic<?> dynamic, String string, boolean bool, int int2)(package private) intgetDistanceToLog(int int2)booleanisLeaf(int int2)booleanisLog(int int2)protected booleanneedsFix()Methods inherited from class net.minecraft.datafixer.fix.LeavesFix.ListFixer
computeFixableBlockStates, computeFlags, isFixed, method_5077, method_5083, needsFix
-
Field Details
-
field_29897
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official hLale$a;h:Ljava/lang/String;intermediary field_29897Lnet/minecraft/class_1191$class_1192;field_29897:Ljava/lang/String;named field_29897Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;field_29897:Ljava/lang/String;
-
field_29898
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official iLale$a;i:Ljava/lang/String;intermediary field_29898Lnet/minecraft/class_1191$class_1192;field_29898:Ljava/lang/String;named field_29898Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;field_29898:Ljava/lang/String;
-
field_29899
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official jLale$a;j:Ljava/lang/String;intermediary field_29899Lnet/minecraft/class_1191$class_1192;field_29899:Ljava/lang/String;named field_29899Lnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;field_29899:Ljava/lang/String;
-
leafIndices
- Mappings:
Namespace Name Mixin selector official kLale$a;k:Lit/unimi/dsi/fastutil/ints/IntSet;intermediary field_5689Lnet/minecraft/class_1191$class_1192;field_5689:Lit/unimi/dsi/fastutil/ints/IntSet;named leafIndicesLnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;leafIndices:Lit/unimi/dsi/fastutil/ints/IntSet;
-
logIndices
- Mappings:
Namespace Name Mixin selector official lLale$a;l:Lit/unimi/dsi/fastutil/ints/IntSet;intermediary field_5691Lnet/minecraft/class_1191$class_1192;field_5691:Lit/unimi/dsi/fastutil/ints/IntSet;named logIndicesLnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;logIndices:Lit/unimi/dsi/fastutil/ints/IntSet;
-
leafStates
- Mappings:
Namespace Name Mixin selector official mLale$a;m:Lit/unimi/dsi/fastutil/ints/Int2IntMap;intermediary field_5690Lnet/minecraft/class_1191$class_1192;field_5690:Lit/unimi/dsi/fastutil/ints/Int2IntMap;named leafStatesLnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;leafStates:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
-
-
Constructor Details
-
LeavesLogFixer
public LeavesLogFixer(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.schemas.Schema schema)
-
-
Method Details
-
needsFix
protected boolean needsFix()- Specified by:
needsFixin classLeavesFix.ListFixer- Mappings:
Namespace Name Mixin selector official aLale$b;a()Zintermediary method_5076Lnet/minecraft/class_1191$class_1193;method_5076()Znamed needsFixLnet/minecraft/datafixer/fix/LeavesFix$ListFixer;needsFix()Z
-
createLeafProperties
private com.mojang.serialization.Dynamic<?> createLeafProperties(com.mojang.serialization.Dynamic<?> dynamic, String string, boolean bool, int int2)- Mappings:
Namespace Name Mixin selector official aLale$a;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;ZI)Lcom/mojang/serialization/Dynamic;intermediary method_5072Lnet/minecraft/class_1191$class_1192;method_5072(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;ZI)Lcom/mojang/serialization/Dynamic;named createLeafPropertiesLnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;createLeafProperties(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;ZI)Lcom/mojang/serialization/Dynamic;
-
isLog
public boolean isLog(int int2)- Mappings:
Namespace Name Mixin selector official aLale$a;a(I)Zintermediary method_5068Lnet/minecraft/class_1191$class_1192;method_5068(I)Znamed isLogLnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;isLog(I)Z
-
isLeaf
public boolean isLeaf(int int2)- Mappings:
Namespace Name Mixin selector official bLale$a;b(I)Zintermediary method_5071Lnet/minecraft/class_1191$class_1192;method_5071(I)Znamed isLeafLnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;isLeaf(I)Z
-
getDistanceToLog
int getDistanceToLog(int int2)- Mappings:
Namespace Name Mixin selector official dLale$a;d(I)Iintermediary method_5065Lnet/minecraft/class_1191$class_1192;method_5065(I)Inamed getDistanceToLogLnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;getDistanceToLog(I)I
-
computeLeafStates
void computeLeafStates(int int2, int int3, int int4)- Mappings:
Namespace Name Mixin selector official aLale$a;a(III)Vintermediary method_5070Lnet/minecraft/class_1191$class_1192;method_5070(III)Vnamed computeLeafStatesLnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;computeLeafStates(III)V
-