Package net.minecraft.world.level.chunk
Class SingleValuePalette<T>
java.lang.Object
net.minecraft.world.level.chunk.SingleValuePalette<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()static <A> Palette<A> intgetSerializedSize(IdMap<T> p_446532_) intgetSize()intidFor(T p_188219_, PaletteResize<T> p_446869_) booleanvoidread(FriendlyByteBuf p_188223_, IdMap<T> p_446078_) valueFor(int p_188212_) voidwrite(FriendlyByteBuf p_188226_, IdMap<T> p_446461_)
-
Field Details
-
value
-
-
Constructor Details
-
SingleValuePalette
-
-
Method Details
-
create
-
idFor
-
maybeHas
-
valueFor
-
read
-
write
-
getSerializedSize
- Specified by:
getSerializedSizein interfacePalette<T>
-
getSize
public int getSize() -
copy
-