Class ChunkPalettedStorageFix.UpgradeChunk

java.lang.Object
net.minecraft.util.datafix.fixes.ChunkPalettedStorageFix.UpgradeChunk
Enclosing class:
ChunkPalettedStorageFix

static final class ChunkPalettedStorageFix.UpgradeChunk extends Object
  • Field Details

    • sides

      private int sides
    • sections

      private final ChunkPalettedStorageFix.Section[] sections
    • level

      private final com.mojang.serialization.Dynamic<?> level
    • x

      private final int x
    • z

      private final int z
    • blockEntities

      private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<com.mojang.serialization.Dynamic<?>> blockEntities
  • Constructor Details

    • UpgradeChunk

      public UpgradeChunk(com.mojang.serialization.Dynamic<?> p_15222_)
  • Method Details

    • getBlockEntity

      @Nullable private com.mojang.serialization.Dynamic<?> getBlockEntity(int p_15237_)
    • removeBlockEntity

      @Nullable private com.mojang.serialization.Dynamic<?> removeBlockEntity(int p_15243_)
    • relative

      public static int relative(int p_15227_, ChunkPalettedStorageFix.Direction p_15228_)
    • setBlock

      private void setBlock(int p_15230_, com.mojang.serialization.Dynamic<?> p_15231_)
    • getSection

      @Nullable private ChunkPalettedStorageFix.Section getSection(int p_15245_)
    • getBlock

      public com.mojang.serialization.Dynamic<?> getBlock(int p_15225_)
    • write

      public com.mojang.serialization.Dynamic<?> write()