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

public class SetWrittenBookPagesFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fbb
net.minecraft.world.level.storage.loot.functions.SetWrittenBookPagesFunction
net.minecraft.class_9378
net.minecraft.loot.function.SetWrittenBookPagesLootFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetWrittenBookPagesFunction>
a
CODEC
field_49889
CODEC
private final List<Filterable<Component>>
b
pages
field_49890
pages
private final ListOperation
c
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(cys arg0, eyn arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
public WrittenBookContent
a(dcc arg0)
apply(WrittenBookContent arg0)
method_58221(class_9302 arg0)
apply(WrittenBookContentComponent current)
public LootItemFunctionType<SetWrittenBookPagesFunction>
b()
getType()
method_29321()
getType()