net.minecraft.loot.function

public class SetCustomModelDataLootFunction

extends ConditionalLootFunction

All mapped superinterfaces:

LootFunction, LootContextAware

etr
net.minecraft.world.level.storage.loot.functions.SetCustomModelDataFunction
net.minecraft.class_9670
net.minecraft.loot.function.SetCustomModelDataLootFunction
net.minecraft.unmapped.C_zesqnwxo
net.minecraft.loot.function.SetCustomModelDataLootFunction
net.minecraft.src.C_313612_

Field summary

Modifier and TypeField
static final com.mojang.serialization.MapCodec<SetCustomModelDataLootFunction>
a
CODEC
field_51434
CODEC
f_jcqvtpts
CODEC
f_315713_
private final LootNumberProvider
b
valueProvider
field_51435
value
f_dlphczmf
value
f_316443_

Constructor summary

ModifierConstructor
private (List<LootCondition> conditions, LootNumberProvider value)

Method summary

Modifier and TypeMethod
public Set<LootContextParameter<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_oozesizv()
getRequiredParameters()
m_6231_()
public LootFunctionType<SetCustomModelDataLootFunction>
b()
getType()
method_29321()
getType()
m_ngvoddkv()
getType()
m_7162_()
public ItemStack
a(cuq o, err 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_333702_, C_2811_ arg1)