net.minecraft.loot.function

public class SetNameLootFunction

extends ConditionalLootFunction

All mapped superinterfaces:

LootFunction, LootContextAware

dmz
net.minecraft.world.level.storage.loot.functions.SetNameFunction
net.minecraft.class_3670
net.minecraft.loot.function.SetNameLootFunction
net.minecraft.unmapped.C_wsvkpiky
net.minecraft.loot.function.SetNameLootFunction
net.minecraft.src.C_2955_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_16230
LOGGER
f_cvsxnvmg
LOGGER
f_81122_
final Text
b
name
field_16228
name
f_piwnqeba
name
f_81123_
final LootContext$EntityTarget
c
resolutionContext
field_16229
entity
f_elaedipn
entity
f_81124_

Constructor summary

ModifierConstructor
(LootCondition[] conditions, Text name, LootContext$EntityTarget entity)

Method summary

Modifier and TypeMethod
public LootFunctionType
a()
getType()
method_29321()
getType()
m_ngvoddkv()
getType()
m_7162_()
public Set<LootContextParameter<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_oozesizv()
getRequiredParameters()
m_6231_()
public static UnaryOperator<Text>
a(dlc o, dlc$c o)
createResolver(LootContext arg0, LootContext$EntityTarget arg1)
method_16190(class_47 arg0, class_47$class_50 arg1)
applySourceEntity(LootContext context, LootContext$EntityTarget sourceEntity)
m_sxelynuf(C_iakykpgh arg0, C_iakykpgh$C_qtufoufh arg1)
applySourceEntity(LootContext context, LootContext$EntityTarget sourceEntity)
m_81139_(C_2811_ p_81140_, C_2811_$C_2815_ p_81141_)
public ItemStack
a(buw o, dlc arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_81138_, C_2811_ arg1)
public static ConditionalLootFunction$Builder<?>
a(qk o)
setName(Component arg0)
method_35549(class_2561 arg0)
builder(Text name)
m_mkzkegwm(C_rdaqiwdt arg0)
builder(Text name)
m_165457_(C_4996_ p_165458_)
public static ConditionalLootFunction$Builder<?>
a(qk o, dlc$c o)
setName(Component arg0, LootContext$EntityTarget arg1)
method_35550(class_2561 arg0, class_47$class_50 arg1)
builder(Text name, LootContext$EntityTarget target)
m_ohquhtnw(C_rdaqiwdt arg0, C_iakykpgh$C_qtufoufh arg1)
builder(Text name, LootContext$EntityTarget target)
m_165459_(C_4996_ p_165460_, C_2811_$C_2815_ p_165461_)