implements Palette<T>
cag | |
net.minecraft.world.level.chunk.HashMapPalette | |
net.minecraft.class_2814 | |
net.minecraft.world.chunk.BiMapPalette | |
net.minecraft.util.palette.PaletteHashMap | |
net.minecraft.server.v1_15_R1.DataPaletteHash |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
private final IdMapper<T> |
| ||||||||||
private final CrudeIncrementalIntIdentityHashBiMap<T> |
| ||||||||||
private final PaletteResize<T> |
| ||||||||||
private final Function<CompoundTag, T> |
| ||||||||||
private final Function<T, CompoundTag> |
| ||||||||||
private final int |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (IdMapper<T> arg0, int indexBits, PaletteResize<T> resizeHandler, Function<CompoundTag, T> elementDeserializer, Function<T, CompoundTag> elementSerializer) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public int |
| ||||||||||
public boolean |
| ||||||||||
public T |
| ||||||||||
public void |
| ||||||||||
public int |
| ||||||||||
public int |
| ||||||||||
public void |
| ||||||||||
public void |
| ||||||||||
public void |
|