Class LeavesFix


  • public class LeavesFix
    extends com.mojang.datafixers.DataFix
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int[][] DIRECTIONS  
      private static it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> LEAVES  
      private static java.util.Set<java.lang.String> LOGS  
    • Constructor Summary

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static int getIndex​(int p_208411_0_, int p_208411_1_, int p_208411_2_)  
      static int getSideMask​(boolean p_210537_0_, boolean p_210537_1_, boolean p_210537_2_, boolean p_210537_3_)  
      private int getX​(int p_208412_1_)  
      private int getY​(int p_208421_1_)  
      private int getZ​(int p_208409_1_)  
      protected com.mojang.datafixers.TypeRewriteRule makeRule()  
      • 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 Detail

      • DIRECTIONS

        private static final int[][] DIRECTIONS
      • LEAVES

        private static final it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> LEAVES
      • LOGS

        private static final java.util.Set<java.lang.String> LOGS
    • Constructor Detail

      • LeavesFix

        public LeavesFix​(com.mojang.datafixers.schemas.Schema p_i49629_1_,
                         boolean p_i49629_2_)
    • Method Detail

      • makeRule

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

        public static int getIndex​(int p_208411_0_,
                                   int p_208411_1_,
                                   int p_208411_2_)
      • getX

        private int getX​(int p_208412_1_)
      • getY

        private int getY​(int p_208421_1_)
      • getZ

        private int getZ​(int p_208409_1_)
      • getSideMask

        public static int getSideMask​(boolean p_210537_0_,
                                      boolean p_210537_1_,
                                      boolean p_210537_2_,
                                      boolean p_210537_3_)