Package net.minecraft.util.datafix.fixes
Class ChunkProtoTickListFix.PoorMansPalettedContainer
java.lang.Object
net.minecraft.util.datafix.fixes.ChunkProtoTickListFix.PoorMansPalettedContainer
- Enclosing class:
ChunkProtoTickListFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPoorMansPalettedContainer
(List<? extends com.mojang.serialization.Dynamic<?>> p_185087_, long[] p_185088_) -
Method Summary
-
Field Details
-
SIZE_BITS
private static final long SIZE_BITS- See Also:
-
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
-
data
public long[] data()
-