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

public class SetItemFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ety
net.minecraft.world.level.storage.loot.functions.SetItemFunction
net.minecraft.class_9671
net.minecraft.unmapped.C_zxtuciez
net.minecraft.loot.function.SetItemLootFunction
net.minecraft.loot.function.SetItemLootFunction
net.minecraft.src.C_313503_
net.minecraft.world.level.storage.loot.functions.SetItemFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetItemFunction>
a
CODEC
field_51436
f_mpyasfpt
CODEC
CODEC
f_316876_
private final Holder<Item>
b
item
field_51437
f_dnqfufcd
item
item
f_313907_

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, Holder<Item> item)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<SetItemFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public ItemStack
a(cuq arg0, err 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_332197_, C_2811_ arg1)