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

public class SetNameFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ctr
net.minecraft.world.level.storage.loot.functions.SetNameFunction
net.minecraft.class_3670
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
LOGGER
field_215939_a
private final Component
c
name
field_16228
name
field_200539_a
private final LootContext$EntityTarget
d
resolutionContext
field_16229
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()
getRequiredParameters()
func_215855_a()
public static UnaryOperator<Component>
a(crx arg0, crx$c arg1)
createResolver(LootContext arg0, LootContext$EntityTarget arg1)
method_16190(class_47 arg0, class_47$class_50 arg1)
applySourceEntity(LootContext context, LootContext$EntityTarget sourceEntity)
func_215936_a(LootContext arg0, LootContext$EntityTarget arg1)
public ItemStack
a(ben arg0, crx 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)