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

public class SetLoreFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ess
net.minecraft.world.level.storage.loot.functions.SetLoreFunction
net.minecraft.class_3671
net.minecraft.unmapped.C_tsdbxwal
net.minecraft.loot.function.SetLoreLootFunction
net.minecraft.loot.function.SetLoreLootFunction
net.minecraft.src.C_2953_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetLore

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetLoreFunction>
a
CODEC
field_45847
f_axfxcaek
CODEC
CODEC
f_290456_
private final List<Component>
b
lore
field_16231
f_ysyovrhc
lore
lore
f_81080_
private final ListOperation
c
mode
field_50024
f_egepvjmh
operation
f_315221_
private final Optional<LootContext$EntityTarget>
d
resolutionContext
field_16233
f_bpsimmoz
entity
entity
f_81081_

Constructor summary

ModifierConstructor
public (List<LootItemCondition> conditions, List<Component> lore, ListOperation operation, Optional<LootContext$EntityTarget> entity)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<SetLoreFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
public ItemStack
a(cur arg0, eqk 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_81090_, C_2811_ arg1)
private List<Component>
a(cxo arg0, eqk arg1)
updateLore(ItemLore arg0, LootContext arg1)
method_57658(class_9290 arg0, class_47 arg1)
m_lclzzrwo(C_zzkbopci arg0, C_iakykpgh arg1)
getNewLoreTexts(LoreComponent current, LootContext context)
m_321742_(C_313731_ p_335535_, C_2811_ arg1)
public static SetLoreFunction$Builder
c()
setLore()
method_35544()
m_tsxjfqqj()
builder()
builder()
m_165443_()