implements Palette<T>
cmu | |
net.minecraft.world.level.chunk.HashMapPalette | |
net.minecraft.class_2814 | |
net.minecraft.unmapped.C_luszrgkm | |
net.minecraft.world.chunk.BiMapPalette | |
net.minecraft.src.C_2135_ | |
net.minecraft.world.level.chunk.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 void |
| ||||||||||||
public int |
| ||||||||||||
public int |
| ||||||||||||
public void |
| ||||||||||||
public void |
|