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

public class SetNameFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

cto
net.minecraft.world.level.storage.loot.functions.SetNameFunction
net.minecraft.class_3670
net.minecraft.unmapped.C_wsvkpiky
net.minecraft.loot.function.SetNameLootFunction
net.minecraft.world.storage.loot.functions.SetName
net.minecraft.server.v1_15_R1.LootItemFunctionSetName

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_16230
f_cvsxnvmg
LOGGER
field_215939_a
private final Component
c
name
field_16228
f_piwnqeba
name
field_200539_a
private final LootContext$EntityTarget
d
resolutionContext
field_16229
f_elaedipn
entity
field_215940_d

Constructor summary

ModifierConstructor
private (LootItemCondition[] conditions, Component name, LootContext$EntityTarget entity)

Method summary

Modifier and TypeMethod
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
func_215855_a()
public static UnaryOperator<Component>
a(cru arg0, cru$c arg1)
createResolver(LootContext arg0, LootContext$EntityTarget arg1)
method_16190(class_47 arg0, class_47$class_50 arg1)
m_sxelynuf(C_iakykpgh arg0, C_iakykpgh$C_qtufoufh arg1)
applySourceEntity(LootContext context, LootContext$EntityTarget sourceEntity)
func_215936_a(LootContext arg0, LootContext$EntityTarget arg1)
public ItemStack
a(bek arg0, cru 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)
func_215859_a(ItemStack arg0, LootContext arg1)