net.minecraft.world.item.component

public record WritableBookContent

implements BookContent<String, WritableBookContent>

daw
net.minecraft.world.item.component.WritableBookContent
net.minecraft.class_9301
net.minecraft.component.type.WritableBookContentComponent
net.minecraft.world.item.component.WritableBookContent

Field summary

Modifier and TypeField
private final List<Filterable<String>>
g
pages
comp_2418
pages
public static final WritableBookContent
a
EMPTY
field_49369
DEFAULT
public static final int
b
PAGE_EDIT_LENGTH
field_49370
MAX_PAGE_LENGTH
public static final int
c
MAX_PAGES
field_51411
MAX_PAGE_COUNT
private static final com.mojang.serialization.Codec<Filterable<String>>
h
PAGE_CODEC
field_49373
PAGE_CODEC
public static final com.mojang.serialization.Codec<List<Filterable<String>>>
d
PAGES_CODEC
field_49374
PAGES_CODEC
public static final com.mojang.serialization.Codec<WritableBookContent>
e
CODEC
field_49371
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, WritableBookContent>
f
STREAM_CODEC
field_49372
PACKET_CODEC

Constructor summary

ModifierConstructor
public (List<Filterable<String>> pages)

Method summary

Modifier and TypeMethod
public Stream<String>
a(boolean arg0)
getPages(boolean arg0)
method_57517(boolean arg0)
stream(boolean shouldFilter)
public WritableBookContent
b(List<asz<String>> arg0)
withReplacedPages(List<Filterable<String>> arg0)
method_58187(List<class_9262<String>> arg0)
withPages(List<RawFilteredPair<String>> arg0)
public List<Filterable<String>>
a()
pages()
comp_2422()
pages()