Class ChunkPaletteFormat.Section

  • Enclosing class:
    ChunkPaletteFormat

    static class ChunkPaletteFormat.Section
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int[] buffer  
      private boolean hasData  
      private java.util.List<com.mojang.serialization.Dynamic<?>> listTag  
      private IntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>> palette  
      private com.mojang.serialization.Dynamic<?> section  
      private java.util.Set<com.mojang.serialization.Dynamic<?>> seen  
      private it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList> toFix  
      private it.unimi.dsi.fastutil.ints.IntList update  
      int y  
    • Constructor Summary

      Constructors 
      Constructor Description
      Section​(com.mojang.serialization.Dynamic<?> p_i231448_1_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void addFix​(int p_199205_1_, int p_199205_2_)  
      com.mojang.serialization.Dynamic<?> getBlock​(int p_210056_1_)  
      void setBlock​(int p_210053_1_, com.mojang.serialization.Dynamic<?> p_210053_2_)  
      int upgrade​(int p_199207_1_)  
      com.mojang.serialization.Dynamic<?> write()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • listTag

        private final java.util.List<com.mojang.serialization.Dynamic<?>> listTag
      • section

        private final com.mojang.serialization.Dynamic<?> section
      • hasData

        private final boolean hasData
      • toFix

        private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList> toFix
      • update

        private final it.unimi.dsi.fastutil.ints.IntList update
      • y

        public final int y
      • seen

        private final java.util.Set<com.mojang.serialization.Dynamic<?>> seen
      • buffer

        private final int[] buffer
    • Constructor Detail

      • Section

        public Section​(com.mojang.serialization.Dynamic<?> p_i231448_1_)
    • Method Detail

      • getBlock

        public com.mojang.serialization.Dynamic<?> getBlock​(int p_210056_1_)
      • setBlock

        public void setBlock​(int p_210053_1_,
                             com.mojang.serialization.Dynamic<?> p_210053_2_)
      • upgrade

        public int upgrade​(int p_199207_1_)
      • addFix

        private void addFix​(int p_199205_1_,
                            int p_199205_2_)
      • write

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