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

public class SetBookCoverFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

etm
net.minecraft.world.level.storage.loot.functions.SetBookCoverFunction
net.minecraft.class_9374
net.minecraft.loot.function.SetBookCoverLootFunction
net.minecraft.src.C_313462_
net.minecraft.world.level.storage.loot.functions.SetBookCoverFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetBookCoverFunction>
a
CODEC
field_49870
CODEC
f_314861_
private final Optional<String>
b
author
field_49871
author
f_315706_
private final Optional<Filterable<String>>
c
title
field_49872
title
f_314087_
private final Optional<Integer>
d
generation
field_49873
generation
f_314489_

Constructor summary

ModifierConstructor
public (List<LootItemCondition> conditions, Optional<Filterable<String>> title, Optional<String> author, Optional<Integer> generation)

Method summary

Modifier and TypeMethod
protected ItemStack
a(cuq arg0, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_333079_, C_2811_ arg1)
private WrittenBookContent
a(cyb arg0)
apply(WrittenBookContent arg0)
method_58200(class_9302 arg0)
apply(WrittenBookContentComponent current)
m_320233_(C_313568_ arg0)
public LootItemFunctionType<SetBookCoverFunction>
b()
getType()
method_29321()
getType()
m_7162_()