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
public static final class LeavesFix.LeavesLogFixer extends LeavesFix.ListFixer
- Mappings:
Namespace Name official akg$aintermediary net/minecraft/class_1191$class_1192named net/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer
-
Field Summary
Fields Modifier and Type Field Description private IntSetleafIndicesprivate Int2IntMapleafStatesprivate IntSetlogIndicesFields inherited from class net.minecraft.datafixer.fix.LeavesFix.ListFixer
blockStateMap, field_5693, field_5694, properties -
Constructor Summary
Constructors Constructor Description LeavesLogFixer(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.schemas.Schema schema) -
Method Summary
Modifier and Type Method Description 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)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
-
leafIndices
- Mappings:
Namespace Name Mixin selector official eLakg$a;e: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 fLakg$a;f: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 gLakg$a;g: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 aLakg$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 aLakg$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 aLakg$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 bLakg$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
private int getDistanceToLog(int int2)- Mappings:
Namespace Name Mixin selector official dLakg$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
private void computeLeafStates(int int2, int int3, int int4)- Mappings:
Namespace Name Mixin selector official aLakg$a;a(III)Vintermediary method_5070Lnet/minecraft/class_1191$class_1192;method_5070(III)Vnamed computeLeafStatesLnet/minecraft/datafixer/fix/LeavesFix$LeavesLogFixer;computeLeafStates(III)V
-