Class LeavesFix.LeavesSection

    • Constructor Summary

      Constructors 
      Constructor Description
      LeavesSection​(com.mojang.datafixers.Typed<?> p_i49851_1_, com.mojang.datafixers.schemas.Schema p_i49851_2_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private int getDistance​(int p_208459_1_)  
      boolean isLeaf​(int p_208460_1_)  
      boolean isLog​(int p_208457_1_)  
      private com.mojang.serialization.Dynamic<?> makeLeafTag​(com.mojang.serialization.Dynamic<?> p_209770_1_, java.lang.String p_209770_2_, boolean p_209770_3_, int p_209770_4_)  
      private void setDistance​(int p_208454_1_, int p_208454_2_, int p_208454_3_)  
      protected boolean skippable()  
      • Methods inherited from class java.lang.Object

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

      • leaveIds

        @Nullable
        private it.unimi.dsi.fastutil.ints.IntSet leaveIds
      • logIds

        @Nullable
        private it.unimi.dsi.fastutil.ints.IntSet logIds
      • stateToIdMap

        @Nullable
        private it.unimi.dsi.fastutil.ints.Int2IntMap stateToIdMap
    • Constructor Detail

      • LeavesSection

        public LeavesSection​(com.mojang.datafixers.Typed<?> p_i49851_1_,
                             com.mojang.datafixers.schemas.Schema p_i49851_2_)
    • Method Detail

      • makeLeafTag

        private com.mojang.serialization.Dynamic<?> makeLeafTag​(com.mojang.serialization.Dynamic<?> p_209770_1_,
                                                                java.lang.String p_209770_2_,
                                                                boolean p_209770_3_,
                                                                int p_209770_4_)
      • isLog

        public boolean isLog​(int p_208457_1_)
      • isLeaf

        public boolean isLeaf​(int p_208460_1_)
      • getDistance

        private int getDistance​(int p_208459_1_)
      • setDistance

        private void setDistance​(int p_208454_1_,
                                 int p_208454_2_,
                                 int p_208454_3_)