Class LeavesFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.LeavesFix

public class LeavesFix
extends com.mojang.datafixers.DataFix
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  LeavesFix.LeavesLogFixer  
    static class  LeavesFix.ListFixer  
  • Field Summary

    Fields
    Modifier and Type Field Description
    private static int[][] field_5687  
    private static Object2IntMap<String> LEAVES_MAP  
    private static Set<String> LOGS_MAP  
  • Constructor Summary

    Constructors
    Constructor Description
    LeavesFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)  
  • Method Summary

    Modifier and Type Method Description
    protected com.mojang.datafixers.TypeRewriteRule makeRule()  
    private int method_5050​(int int2)  
    static int method_5051​(int int2, int int3, int int4)  
    private int method_5052​(int int2)  
    static int method_5061​(boolean bool, boolean bool2, boolean bool3, boolean bool4)  
    private int method_5062​(int int2)  

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • field_5687

      private static final int[][] field_5687
    • LEAVES_MAP

      private static final Object2IntMap<String> LEAVES_MAP
    • LOGS_MAP

      private static final Set<String> LOGS_MAP
  • Constructor Details

    • LeavesFix

      public LeavesFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • method_5051

      public static int method_5051​(int int2, int int3, int int4)
    • method_5052

      private int method_5052​(int int2)
    • method_5062

      private int method_5062​(int int2)
    • method_5050

      private int method_5050​(int int2)
    • method_5061

      public static int method_5061​(boolean bool, boolean bool2, boolean bool3, boolean bool4)