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

public class SetWrittenBookPagesFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

esy
net.minecraft.world.level.storage.loot.functions.SetWrittenBookPagesFunction
net.minecraft.class_9378
net.minecraft.unmapped.C_kkafruck
net.minecraft.loot.function.SetWrittenBookPagesLootFunction
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
f_rmcfyocd
TEXT_CODEC
f_317055_
public static final com.mojang.serialization.MapCodec<SetWrittenBookPagesFunction>
b
CODEC
field_49889
f_gbmpftis
CODEC
CODEC
f_315235_
private final List<Filterable<Component>>
c
pages
field_49890
f_imzgthhl
pages
pages
f_316083_
private final ListOperation
d
pageOperation
field_49891
f_iotprnxm
operation
f_314064_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected ItemStack
a(cur arg0, eqk arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_329576_, C_2811_ arg1)
public WrittenBookContent
a(cya arg0)
apply(WrittenBookContent arg0)
method_58221(class_9302 arg0)
m_quadqdso(C_xfpcozbo arg0)
apply(WrittenBookContentComponent current)
m_321326_(C_313568_ arg0)
public LootItemFunctionType<SetWrittenBookPagesFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()