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

public class SetCustomModelDataFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

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

Field summary

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

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, NumberProvider value)

Method summary

Modifier and TypeMethod
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
public LootItemFunctionType<SetCustomModelDataFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public ItemStack
a(cuq arg0, eqj 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)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_333702_, C_2811_ arg1)