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

public class SetLoreFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fdw
net.minecraft.world.level.storage.loot.functions.SetLoreFunction
net.minecraft.class_3671

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetLoreFunction>
a
CODEC
field_45847
private final List<Component>
b
lore
field_16231
private final ListOperation
c
mode
field_50024
private final Optional<LootContext$EntityTarget>
d
resolutionContext
field_16233

Constructor summary

ModifierConstructor
public (List<LootItemCondition> arg0, List<Component> arg1, ListOperation arg2, Optional<LootContext$EntityTarget> arg3)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<SetLoreFunction>
b()
getType()
method_29321()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
public ItemStack
a(dba arg0, fbo arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
private List<Component>
a(ddt arg0, fbo arg1)
updateLore(ItemLore arg0, LootContext arg1)
method_57658(class_9290 arg0, class_47 arg1)
public static SetLoreFunction$Builder
c()
setLore()
method_35544()