Class ChunkPaletteFormat.UpgradeChunk

  • Enclosing class:
    ChunkPaletteFormat

    static final class ChunkPaletteFormat.UpgradeChunk
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private it.unimi.dsi.fastutil.ints.Int2ObjectMap<com.mojang.serialization.Dynamic<?>> blockEntities  
      private com.mojang.serialization.Dynamic<?> level  
      private ChunkPaletteFormat.Section[] sections  
      private int sides  
      private int x  
      private int z  
    • Constructor Summary

      Constructors 
      Constructor Description
      UpgradeChunk​(com.mojang.serialization.Dynamic<?> p_i231449_1_)  
    • Field Detail

      • sides

        private int sides
      • 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 Detail

      • UpgradeChunk

        public UpgradeChunk​(com.mojang.serialization.Dynamic<?> p_i231449_1_)
    • Method Detail

      • getBlockEntity

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

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

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

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

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