Class LeavesFix.LeavesSection

java.lang.Object
net.minecraft.util.datafix.fixes.LeavesFix.Section
net.minecraft.util.datafix.fixes.LeavesFix.LeavesSection
Enclosing class:
LeavesFix

public static final class LeavesFix.LeavesSection extends LeavesFix.Section
  • Field Details

    • 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 Details

    • LeavesSection

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

    • skippable

      protected boolean skippable()
      Specified by:
      skippable in class LeavesFix.Section
    • makeLeafTag

      private com.mojang.serialization.Dynamic<?> makeLeafTag(com.mojang.serialization.Dynamic<?> p_209770_1_, 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_)