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 axp
intermediary net/minecraft/class_1191
named net/minecraft/datafixer/fix/LeavesFix
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int[][]
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    (package private) static final Object2IntMap<String>
     
    (package private) static final Set<String>
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    static int
    getBoundaryClassBit(boolean westernmost, boolean easternmost, boolean northernmost, boolean southernmost)
     
    private int
    getX(int packedLocalPos)
     
    private int
    getY(int packedLocalPos)
     
    private int
    getZ(int packedLocalPos)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    static int
    packLocalPos(int localX, int localY, int localZ)
     

    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_29886

      private static final int field_29886
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Laxp;a:I
      intermediary field_29886 Lnet/minecraft/class_1191;field_29886:I
      named field_29886 Lnet/minecraft/datafixer/fix/LeavesFix;field_29886:I
    • field_29887

      private static final int field_29887
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Laxp;b:I
      intermediary field_29887 Lnet/minecraft/class_1191;field_29887:I
      named field_29887 Lnet/minecraft/datafixer/fix/LeavesFix;field_29887:I
    • field_29888

      private static final int field_29888
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Laxp;c:I
      intermediary field_29888 Lnet/minecraft/class_1191;field_29888:I
      named field_29888 Lnet/minecraft/datafixer/fix/LeavesFix;field_29888:I
    • field_29889

      private static final int field_29889
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Laxp;d:I
      intermediary field_29889 Lnet/minecraft/class_1191;field_29889:I
      named field_29889 Lnet/minecraft/datafixer/fix/LeavesFix;field_29889:I
    • field_29890

      private static final int field_29890
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Laxp;e:I
      intermediary field_29890 Lnet/minecraft/class_1191;field_29890:I
      named field_29890 Lnet/minecraft/datafixer/fix/LeavesFix;field_29890:I
    • field_29891

      private static final int field_29891
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Laxp;f:I
      intermediary field_29891 Lnet/minecraft/class_1191;field_29891:I
      named field_29891 Lnet/minecraft/datafixer/fix/LeavesFix;field_29891:I
    • field_29892

      private static final int field_29892
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Laxp;g:I
      intermediary field_29892 Lnet/minecraft/class_1191;field_29892:I
      named field_29892 Lnet/minecraft/datafixer/fix/LeavesFix;field_29892:I
    • field_29893

      private static final int field_29893
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Laxp;h:I
      intermediary field_29893 Lnet/minecraft/class_1191;field_29893:I
      named field_29893 Lnet/minecraft/datafixer/fix/LeavesFix;field_29893:I
    • AXIAL_OFFSETS

      private static final int[][] AXIAL_OFFSETS
      Mappings:
      Namespace Name Mixin selector
      official i Laxp;i:[[I
      intermediary field_5687 Lnet/minecraft/class_1191;field_5687:[[I
      named AXIAL_OFFSETS Lnet/minecraft/datafixer/fix/LeavesFix;AXIAL_OFFSETS:[[I
    • field_29894

      private static final int field_29894
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Laxp;j:I
      intermediary field_29894 Lnet/minecraft/class_1191;field_29894:I
      named field_29894 Lnet/minecraft/datafixer/fix/LeavesFix;field_29894:I
    • field_29895

      private static final int field_29895
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Laxp;k:I
      intermediary field_29895 Lnet/minecraft/class_1191;field_29895:I
      named field_29895 Lnet/minecraft/datafixer/fix/LeavesFix;field_29895:I
    • field_29896

      private static final int field_29896
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Laxp;l:I
      intermediary field_29896 Lnet/minecraft/class_1191;field_29896:I
      named field_29896 Lnet/minecraft/datafixer/fix/LeavesFix;field_29896:I
    • LEAVES_MAP

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

      static final Set<String> LOGS_MAP
      Mappings:
      Namespace Name Mixin selector
      official n Laxp;n: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> Laxp;<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
    • packLocalPos

      public static int packLocalPos(int localX, int localY, int localZ)
      Mappings:
      Namespace Name Mixin selector
      official a Laxp;a(III)I
      intermediary method_5051 Lnet/minecraft/class_1191;method_5051(III)I
      named packLocalPos Lnet/minecraft/datafixer/fix/LeavesFix;packLocalPos(III)I
    • getX

      private int getX(int packedLocalPos)
      Mappings:
      Namespace Name Mixin selector
      official a Laxp;a(I)I
      intermediary method_5052 Lnet/minecraft/class_1191;method_5052(I)I
      named getX Lnet/minecraft/datafixer/fix/LeavesFix;getX(I)I
    • getY

      private int getY(int packedLocalPos)
      Mappings:
      Namespace Name Mixin selector
      official b Laxp;b(I)I
      intermediary method_5062 Lnet/minecraft/class_1191;method_5062(I)I
      named getY Lnet/minecraft/datafixer/fix/LeavesFix;getY(I)I
    • getZ

      private int getZ(int packedLocalPos)
      Mappings:
      Namespace Name Mixin selector
      official c Laxp;c(I)I
      intermediary method_5050 Lnet/minecraft/class_1191;method_5050(I)I
      named getZ Lnet/minecraft/datafixer/fix/LeavesFix;getZ(I)I
    • getBoundaryClassBit

      public static int getBoundaryClassBit(boolean westernmost, boolean easternmost, boolean northernmost, boolean southernmost)
      Mappings:
      Namespace Name Mixin selector
      official a Laxp;a(ZZZZ)I
      intermediary method_5061 Lnet/minecraft/class_1191;method_5061(ZZZZ)I
      named getBoundaryClassBit Lnet/minecraft/datafixer/fix/LeavesFix;getBoundaryClassBit(ZZZZ)I