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

    • PERSISTENT

      private static final String PERSISTENT
      See Also:
    • DECAYABLE

      private static final String DECAYABLE
      See Also:
    • DISTANCE

      private static final String DISTANCE
      See Also:
    • 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_16254_, com.mojang.datafixers.schemas.Schema p_16255_)
  • 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_16272_, String p_16273_, boolean p_16274_, int p_16275_)
    • isLog

      public boolean isLog(int p_16258_)
    • isLeaf

      public boolean isLeaf(int p_16277_)
    • getDistance

      int getDistance(int p_16279_)
    • setDistance

      void setDistance(int p_16260_, int p_16261_, int p_16262_)