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.unmapped.C_gsgjanri
net.minecraft.loot.function.SetBookCoverLootFunction
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
f_hinsrfyf
CODEC
CODEC
f_314861_
private final Optional<String>
b
author
field_49871
f_vdkvapyy
author
author
f_315706_
private final Optional<Filterable<String>>
c
title
field_49872
f_vidtbpsc
title
title
f_314087_
private final Optional<Integer>
d
generation
field_49873
f_vcluieka
generation
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)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext 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)
m_ydimxenh(C_xfpcozbo arg0)
apply(WrittenBookContentComponent current)
m_ydimxenh(WrittenBookContentComponent obj)
m_320233_(C_313568_ arg0)
public LootItemFunctionType<SetBookCoverFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()