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

public class SetWritableBookPagesFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

esx
net.minecraft.world.level.storage.loot.functions.SetWritableBookPagesFunction
net.minecraft.class_9377
net.minecraft.loot.function.SetWritableBookPagesLootFunction
net.minecraft.src.C_313577_
net.minecraft.world.level.storage.loot.functions.SetWritableBookPagesFunction

Field summary

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

Constructor summary

ModifierConstructor
protected (List<LootItemCondition> conditions, List<Filterable<String>> 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)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_330509_, C_2811_ arg1)
public WritableBookContent
a(cxz arg0)
apply(WritableBookContent arg0)
method_58217(class_9301 arg0)
apply(WritableBookContentComponent current)
m_324955_(C_313850_ arg0)
public LootItemFunctionType<SetWritableBookPagesFunction>
b()
getType()
method_29321()
getType()
m_7162_()