implements Palette<T>
| bxh | |
| net.minecraft.class_2814 | |
| net.minecraft.world.chunk.HashMapPalette | |
| net.minecraft.world.chunk.BlockStatePaletteHashMap | |
| net.minecraft.world.chunk.BlockStatePaletteHashMap |
Field summary
| Modifier and Type | Field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private final Id2ObjectBiMap<T> |
| ||||||||||
| private final CrudeIncrementalIntIdentityHashMap<T> |
| ||||||||||
| private final PaletteResizer<T> |
| ||||||||||
| private final Function<NbtCompound, T> |
| ||||||||||
| private final Function<T, NbtCompound> |
| ||||||||||
| private final int |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Id2ObjectBiMap<T> registry, int bits, PaletteResizer<T> resizer, Function<NbtCompound, T> reader, Function<T, NbtCompound> writer) |
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public int |
| ||||||||||
| public boolean |
| ||||||||||
| public T |
| ||||||||||
| public void |
| ||||||||||
| public int |
| ||||||||||
| public int |
| ||||||||||
| public void |
| ||||||||||
| public void |
| ||||||||||
| public void |
|