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

public class SetLoreFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dcq
net.minecraft.world.level.storage.loot.functions.SetLoreFunction
net.minecraft.class_3671
net.minecraft.loot.function.SetLoreLootFunction
net.minecraft.loot.functions.SetLore
net.minecraft.server.v1_16_R1.LootItemFunctionSetLore

Field summary

Modifier and TypeField
private final boolean
a
replace
field_16232
replace
field_215945_a
private final List<Component>
b
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 LootItemFunctionType
b()
getType()
method_29321()
getType()
func_230425_b_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
func_215855_a()
public ItemStack
a(bki arg0, dat 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(bki 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)