net.minecraft.world.level.storage.loot.functions

public class SetWrittenBookPagesFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

euf
net.minecraft.world.level.storage.loot.functions.SetWrittenBookPagesFunction
net.minecraft.class_9378
net.minecraft.loot.function.SetWrittenBookPagesLootFunction
net.minecraft.src.C_313545_
net.minecraft.world.level.storage.loot.functions.SetWrittenBookPagesFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Component>
a
PAGE_CODEC
field_50026
TEXT_CODEC
f_317055_
public static final com.mojang.serialization.MapCodec<SetWrittenBookPagesFunction>
b
CODEC
field_49889
CODEC
f_315235_
private final List<Filterable<Component>>
c
pages
field_49890
pages
f_316083_
private final ListOperation
d
pageOperation
field_49891
operation
f_314064_

Constructor summary

ModifierConstructor
protected (List<LootItemCondition> conditions, List<Filterable<Component>> pages, ListOperation operation)

Method summary

Modifier and TypeMethod
protected ItemStack
a(cuq arg0, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_329576_, C_2811_ arg1)
public WrittenBookContent
a(cyb arg0)
apply(WrittenBookContent arg0)
method_58221(class_9302 arg0)
apply(WrittenBookContentComponent current)
m_321326_(C_313568_ arg0)
public LootItemFunctionType<SetWrittenBookPagesFunction>
b()
getType()
method_29321()
getType()
m_7162_()