Class LeavesFix.Section

java.lang.Object
net.minecraft.util.datafix.fixes.LeavesFix.Section
Direct Known Subclasses:
LeavesFix.LeavesSection, TrappedChestBlockEntityFix.TrappedChestSection
Enclosing class:
LeavesFix

public abstract static class LeavesFix.Section extends Object
  • Field Details

  • Constructor Details

    • Section

      public Section(Typed<?> section, Schema inputSchema)
  • Method Details

    • readStorage

      protected void readStorage(Dynamic<?> tag)
    • write

      public Typed<?> write(Typed<?> section)
    • isSkippable

      public boolean isSkippable()
    • getBlock

      public int getBlock(int pos)
    • getStateId

      protected int getStateId(String blockName, boolean persistent, int distance)
    • getIndex

      int getIndex()
    • skippable

      protected abstract boolean skippable()