Class ChunkPalettedStorageFix.Section

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

static class ChunkPalettedStorageFix.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 CrudeIncrementalIntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>>
     
    private final com.mojang.serialization.Dynamic<?>
     
    private final Set<com.mojang.serialization.Dynamic<?>>
     
    (package private) final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList>
     
    (package private) final it.unimi.dsi.fastutil.ints.IntList
     
    final int
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    private void
    addFix(int p_15200_, int p_15201_)
     
    com.mojang.serialization.Dynamic<?>
    getBlock(int p_15198_)
     
    void
    setBlock(int p_15203_, com.mojang.serialization.Dynamic<?> p_15204_)
     
    int
    upgrade(int p_15210_)
     
    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 CrudeIncrementalIntIdentityHashBiMap<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

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

      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_15195_)
  • Method Details

    • getBlock

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

      public void setBlock(int p_15203_, com.mojang.serialization.Dynamic<?> p_15204_)
    • upgrade

      public int upgrade(int p_15210_)
    • addFix

      private void addFix(int p_15200_, int p_15201_)
    • write

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