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

public class SetCustomModelDataFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public LootItemFunctionType<SetCustomModelDataFunction>
b()
getType()
method_29321()
getType()
m_7162_()
public ItemStack
a(cuq arg0, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_333702_, C_2811_ arg1)