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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
static <A> Palette<A>
create
(int p_187899_, IdMap<A> p_187900_, PaletteResize<A> p_187901_, List<A> p_187902_) int
int
getSize()
int
boolean
void
read
(FriendlyByteBuf p_62654_) valueFor
(int p_62646_) void
write
(FriendlyByteBuf p_62656_)
-
Field Details
-
registry
-
-
Constructor Details
-
GlobalPalette
-
-
Method Details
-
create
public static <A> Palette<A> create(int p_187899_, IdMap<A> p_187900_, PaletteResize<A> p_187901_, List<A> p_187902_) -
idFor
-
maybeHas
-
valueFor
-
read
-
write
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacePalette<T>
-
getSize
public int getSize() -
copy
-