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

public class SetWritableBookPagesFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fba
net.minecraft.world.level.storage.loot.functions.SetWritableBookPagesFunction
net.minecraft.class_9377
net.minecraft.loot.function.SetWritableBookPagesLootFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetWritableBookPagesFunction>
a
CODEC
field_49886
CODEC
private final List<Filterable<String>>
b
pages
field_49887
pages
private final ListOperation
c
pageOperation
field_49888
operation

Constructor summary

ModifierConstructor
protected (List<LootItemCondition> conditions, List<Filterable<String>> 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 WritableBookContent
a(dcb arg0)
apply(WritableBookContent arg0)
method_58217(class_9301 arg0)
apply(WritableBookContentComponent current)
public LootItemFunctionType<SetWritableBookPagesFunction>
b()
getType()
method_29321()
getType()