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

public class SetLoreFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ctn
net.minecraft.world.level.storage.loot.functions.SetLoreFunction
net.minecraft.class_3671
net.minecraft.loot.function.SetLoreLootFunction
net.minecraft.world.storage.loot.functions.SetLore
net.minecraft.server.v1_15_R1.LootItemFunctionSetLore

Field summary

Modifier and TypeField
private final boolean
a
replace
field_16232
replace
field_215945_a
private final List<Component>
c
lore
field_16231
lore
field_215946_c
private final LootContext$EntityTarget
d
resolutionContext
field_16233
entity
field_215947_d

Constructor summary

ModifierConstructor
public (LootItemCondition[] conditions, boolean replace, List<Component> lore, LootContext$EntityTarget entity)

Method summary

Modifier and TypeMethod
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
func_215855_a()
public ItemStack
a(bek arg0, cru arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
func_215859_a(ItemStack arg0, LootContext arg1)
private ListTag
a(bek arg0, boolean arg1)
getLoreTag(ItemStack arg0, boolean arg1)
method_15964(class_1799 arg0, boolean arg1)
getLoreForMerge(ItemStack stack, boolean otherLoreExists)
func_215942_a(ItemStack arg0, boolean arg1)