Package net.minecraft.world.level.chunk
Class GlobalPalette<T>
java.lang.Object
net.minecraft.world.level.chunk.GlobalPalette<T>
- All Implemented Interfaces:
Palette<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getSize()
int
boolean
void
void
read(FriendlyByteBuf p_62654_)
valueFor(int p_62646_)
void
write(FriendlyByteBuf p_62656_)
-
Field Details
-
registry
-
defaultValue
-
-
Constructor Details
-
GlobalPalette
-
-
Method Details
-
idFor
-
maybeHas
-
valueFor
-
read
-
write
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacePalette<T>
-
getSize
public int getSize() -
read
-