Class ChunkProtoTickListFix.PoorMansPalettedContainer

java.lang.Object
net.minecraft.util.datafix.fixes.ChunkProtoTickListFix.PoorMansPalettedContainer
Enclosing class:
ChunkProtoTickListFix

public static final class ChunkProtoTickListFix.PoorMansPalettedContainer extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
     
    private final long[]
     
    private final long
     
    private final List<? extends com.mojang.serialization.Dynamic<?>>
     
    private static final long
     
    private final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PoorMansPalettedContainer(List<? extends com.mojang.serialization.Dynamic<?>> p_185087_, long[] p_185088_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long[]
     
    com.mojang.serialization.Dynamic<?>
    get(int p_185091_, int p_185092_, int p_185093_)
     
    private int
    getIndex(int p_185096_, int p_185097_, int p_185098_)
     
    List<? extends com.mojang.serialization.Dynamic<?>>
     

    Methods inherited from class java.lang.Object

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

    • SIZE_BITS

      private static final long SIZE_BITS
      See Also:
    • palette

      private final List<? extends com.mojang.serialization.Dynamic<?>> palette
    • data

      private final long[] data
    • bits

      private final int bits
    • mask

      private final long mask
    • valuesPerLong

      private final int valuesPerLong
  • Constructor Details

    • PoorMansPalettedContainer

      public PoorMansPalettedContainer(List<? extends com.mojang.serialization.Dynamic<?>> p_185087_, long[] p_185088_)
  • Method Details

    • get

      @Nullable public com.mojang.serialization.Dynamic<?> get(int p_185091_, int p_185092_, int p_185093_)
    • getIndex

      private int getIndex(int p_185096_, int p_185097_, int p_185098_)
    • palette

      public List<? extends com.mojang.serialization.Dynamic<?>> palette()
    • data

      public long[] data()