Class ChunkPaletteFormat.Section

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

static class ChunkPaletteFormat.Section extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int[]
     
    private final boolean
     
    private final List<com.mojang.serialization.Dynamic<?>>
     
    private final IntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>>
     
    private final com.mojang.serialization.Dynamic<?>
     
    private final Set<com.mojang.serialization.Dynamic<?>>
     
    private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList>
     
    private final it.unimi.dsi.fastutil.ints.IntList
     
    final int
     
  • Constructor Summary

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

    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<?>
     

    Methods inherited from class java.lang.Object

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

    • palette

      private final IntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>> palette
    • listTag

      private final 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 Set<com.mojang.serialization.Dynamic<?>> seen
    • buffer

      private final int[] buffer
  • Constructor Details

    • Section

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

    • 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()