Package net.minecraft.world.level.chunk
Interface PaletteResize<T>
- All Known Implementing Classes:
PalettedContainer
public interface PaletteResize<T>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> PaletteResize<T> intCalled when the underlying palette needs to resize itself to support additional objects.
-
Method Details
-
onResize
Called when the underlying palette needs to resize itself to support additional objects.- Parameters:
pBits- The new palette size, in bits.- Returns:
- The new integer mapping for the object added.
-
noResizeExpected
-