Class ChunkPaletteFormat.UpgradeChunk

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

static final class ChunkPaletteFormat.UpgradeChunk extends Object
  • Field Details

    • sides

      private int sides
    • sections

      private final ChunkPaletteFormat.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_i231449_1_)
  • Method Details

    • getBlockEntity

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

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

      public static int relative(int p_199223_0_, ChunkPaletteFormat.Direction p_199223_1_)
    • setBlock

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

      @Nullable private ChunkPaletteFormat.Section getSection(int p_199221_1_)
    • getBlock

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

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