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 akg
intermediary net/minecraft/class_1191
named net/minecraft/datafixer/fix/LeavesFix
  • 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
      Mappings:
      Namespace Name Mixin selector
      official a Lakg;a:[[I
      intermediary field_5687 Lnet/minecraft/class_1191;field_5687:[[I
      named field_5687 Lnet/minecraft/datafixer/fix/LeavesFix;field_5687:[[I
    • LEAVES_MAP

      private static final Object2IntMap<String> LEAVES_MAP
      Mappings:
      Namespace Name Mixin selector
      official b Lakg;b: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

      private static final Set<String> LOGS_MAP
      Mappings:
      Namespace Name Mixin selector
      official c Lakg;c: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> Lakg;<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 class com.mojang.datafixers.DataFix
      Mappings:
      Namespace Name Mixin selector
      official makeRule Lakg;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary makeRule Lnet/minecraft/class_1191;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      named makeRule Lnet/minecraft/datafixer/fix/LeavesFix;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
    • method_5051

      public static int method_5051​(int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a Lakg;a(III)I
      intermediary method_5051 Lnet/minecraft/class_1191;method_5051(III)I
      named method_5051 Lnet/minecraft/datafixer/fix/LeavesFix;method_5051(III)I
    • method_5052

      private int method_5052​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lakg;a(I)I
      intermediary method_5052 Lnet/minecraft/class_1191;method_5052(I)I
      named method_5052 Lnet/minecraft/datafixer/fix/LeavesFix;method_5052(I)I
    • method_5062

      private int method_5062​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lakg;b(I)I
      intermediary method_5062 Lnet/minecraft/class_1191;method_5062(I)I
      named method_5062 Lnet/minecraft/datafixer/fix/LeavesFix;method_5062(I)I
    • method_5050

      private int method_5050​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official c Lakg;c(I)I
      intermediary method_5050 Lnet/minecraft/class_1191;method_5050(I)I
      named method_5050 Lnet/minecraft/datafixer/fix/LeavesFix;method_5050(I)I
    • method_5061

      public static int method_5061​(boolean bool, boolean bool2, boolean bool3, boolean bool4)
      Mappings:
      Namespace Name Mixin selector
      official a Lakg;a(ZZZZ)I
      intermediary method_5061 Lnet/minecraft/class_1191;method_5061(ZZZZ)I
      named method_5061 Lnet/minecraft/datafixer/fix/LeavesFix;method_5061(ZZZZ)I