Package net.minecraft.world.level.chunk
Class GlobalPalette<T>
java.lang.Object
net.minecraft.world.level.chunk.GlobalPalette<T>
- All Implemented Interfaces:
Palette<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.chunk.Palette
Palette.Factory -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()intgetSerializedSize(IdMap<T> p_445527_) intgetSize()intidFor(T p_62648_, PaletteResize<T> p_445739_) booleanvoidread(FriendlyByteBuf p_62654_, IdMap<T> p_447365_) valueFor(int p_62646_) voidwrite(FriendlyByteBuf p_62656_, IdMap<T> p_445976_)
-
Field Details
-
registry
-
-
Constructor Details
-
GlobalPalette
-
-
Method Details
-
idFor
-
maybeHas
-
valueFor
-
read
-
write
-
getSerializedSize
- Specified by:
getSerializedSizein interfacePalette<T>
-
getSize
public int getSize() -
copy
-