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
named net/minecraft/datafixer/fix/LeavesFix
intermediary net/minecraft/class_1191
official bfi
  • 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 schema, boolean bool)
     
  • 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
      named field_29886 Lnet/minecraft/datafixer/fix/LeavesFix;field_29886:I
      intermediary field_29886 Lnet/minecraft/class_1191;field_29886:I
      official a Lbfi;a:I
    • field_29887

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

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

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

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

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

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

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

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

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

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

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

      static final Object2IntMap<String> LEAVES_MAP
      Mappings:
      Namespace Name Mixin selector
      named LEAVES_MAP Lnet/minecraft/datafixer/fix/LeavesFix;LEAVES_MAP:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_5688 Lnet/minecraft/class_1191;field_5688:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      official m Lbfi;m:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
    • LOGS_MAP

      static final Set<String> LOGS_MAP
      Mappings:
      Namespace Name Mixin selector
      named LOGS_MAP Lnet/minecraft/datafixer/fix/LeavesFix;LOGS_MAP:Ljava/util/Set;
      intermediary field_5686 Lnet/minecraft/class_1191;field_5686:Ljava/util/Set;
      official n Lbfi;n:Ljava/util/Set;
  • Constructor Details

    • LeavesFix

      public LeavesFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
  • 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
      named packLocalPos Lnet/minecraft/datafixer/fix/LeavesFix;packLocalPos(III)I
      intermediary method_5051 Lnet/minecraft/class_1191;method_5051(III)I
      official a Lbfi;a(III)I
    • getX

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

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

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

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