Package net.minecraft.world.level.chunk
Interface PalettedContainerRO<T>
- All Known Implementing Classes:
PalettedContainer
public interface PalettedContainerRO<T>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
static interface
PalettedContainerRO.Unpacker<T,
C extends PalettedContainerRO<T>> -
Method Summary
Modifier and TypeMethodDescriptionvoid
count
(PalettedContainer.CountConsumer<T> p_238355_) get
(int p_238291_, int p_238292_, int p_238293_) void
int
boolean
pack
(IdMap<T> p_238441_, PalettedContainer.Strategy p_238442_) recreate()
void
write
(FriendlyByteBuf p_238417_)
-
Method Details
-
get
-
getAll
-
write
-
getSerializedSize
int getSerializedSize() -
maybeHas
-
count
-
recreate
PalettedContainer<T> recreate() -
pack
-