implements Palette<T>
chh | |
net.minecraft.world.level.chunk.HashMapPalette | |
net.minecraft.class_2814 | |
net.minecraft.world.chunk.BiMapPalette | |
net.minecraft.util.palette.HashMapPalette | |
net.minecraft.server.v1_16_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> idList, 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 |
|