Package net.minecraft.world.level.chunk
Class PalettedContainer.Strategy
java.lang.Object
net.minecraft.world.level.chunk.PalettedContainer.Strategy
- Enclosing class:
PalettedContainer<T>
-
Field Summary
Modifier and TypeFieldDescription(package private) static final Palette.Factory
static final Palette.Factory
static final Palette.Factory
static final PalettedContainer.Strategy
static final PalettedContainer.Strategy
static final Palette.Factory
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) <A> int
calculateBitsForSerialization
(IdMap<A> p_188152_, int p_188153_) abstract <A> PalettedContainer.Configuration
<A> getConfiguration
(IdMap<A> p_188149_, int p_188150_) int
getIndex
(int p_188146_, int p_188147_, int p_188148_) int
size()
-
Field Details
-
SINGLE_VALUE_PALETTE_FACTORY
-
LINEAR_PALETTE_FACTORY
-
HASHMAP_PALETTE_FACTORY
-
GLOBAL_PALETTE_FACTORY
-
SECTION_STATES
-
SECTION_BIOMES
-
sizeBits
private final int sizeBits
-
-
Constructor Details
-
Strategy
Strategy(int p_188143_)
-
-
Method Details
-
size
public int size() -
getIndex
public int getIndex(int p_188146_, int p_188147_, int p_188148_) -
getConfiguration
public abstract <A> PalettedContainer.Configuration<A> getConfiguration(IdMap<A> p_188149_, int p_188150_) -
calculateBitsForSerialization
-