net.minecraft.world.item.component

public record WritableBookContent

implements BookContent<String, WritableBookContent>

cya
net.minecraft.world.item.component.WritableBookContent
net.minecraft.class_9301
net.minecraft.component.type.WritableBookContentComponent
net.minecraft.src.C_313850_
net.minecraft.world.item.component.WritableBookContent

Field summary

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

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)
m_320046_(boolean arg0)
public WritableBookContent
b(List<arl<String>> arg0)
withReplacedPages(List<Filterable<String>> arg0)
method_58187(List<class_9262<String>> arg0)
withPages(List<RawFilteredPair<String>> arg0)
m_319955_(List<C_313766_<String>> arg0)
public List<Filterable<String>>
a()
pages()
comp_2422()
pages()
m_319402_()