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

    • BLOCK_STATES_TAG

      protected static final String BLOCK_STATES_TAG
      See Also:
    • NAME_TAG

      protected static final String NAME_TAG
      See Also:
    • PROPERTIES_TAG

      protected static final String PROPERTIES_TAG
      See Also:
    • blockStateType

      private final com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>> blockStateType
    • paletteFinder

      protected final com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>>> paletteFinder
    • palette

      protected final List<com.mojang.serialization.Dynamic<?>> palette
    • index

      protected final int index
    • storage

      @Nullable protected PackedBitStorage storage
  • Constructor Details

    • Section

      public Section(com.mojang.datafixers.Typed<?> p_16286_, com.mojang.datafixers.schemas.Schema p_16287_)
  • Method Details

    • readStorage

      protected void readStorage(com.mojang.serialization.Dynamic<?> p_16291_)
    • write

      public com.mojang.datafixers.Typed<?> write(com.mojang.datafixers.Typed<?> p_16289_)
    • isSkippable

      public boolean isSkippable()
    • getBlock

      public int getBlock(int p_16303_)
    • getStateId

      protected int getStateId(String p_16293_, boolean p_16294_, int p_16295_)
    • getIndex

      int getIndex()
    • skippable

      protected abstract boolean skippable()