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

public class SetWrittenBookPagesFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ezd
net.minecraft.world.level.storage.loot.functions.SetWrittenBookPagesFunction
net.minecraft.class_9378
net.minecraft.loot.function.SetWrittenBookPagesLootFunction
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
public static final com.mojang.serialization.MapCodec<SetWrittenBookPagesFunction>
b
CODEC
field_49889
CODEC
private final List<Filterable<Component>>
c
pages
field_49890
pages
private final ListOperation
d
pageOperation
field_49891
operation

Constructor summary

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

Method summary

Modifier and TypeMethod
protected ItemStack
a(cxp arg0, ewp arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
public WrittenBookContent
a(dax arg0)
apply(WrittenBookContent arg0)
method_58221(class_9302 arg0)
apply(WrittenBookContentComponent current)
public LootItemFunctionType<SetWrittenBookPagesFunction>
b()
getType()
method_29321()
getType()