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

public class SetItemFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fqk
net.minecraft.world.level.storage.loot.functions.SetItemFunction
net.minecraft.class_9671
net.minecraft.loot.function.SetItemLootFunction
net.minecraft.src.C_313503_
net.minecraft.world.level.storage.loot.functions.SetItemFunction

字段概要

修饰符与类型字段
public static final com.mojang.serialization.MapCodec<SetItemFunction>
a
CODEC
field_51436
CODEC
f_316876_
private final Holder<Item>
b
item
field_51437
item
f_313907_

构造函数概要

修饰符构造函数
private (List<LootItemCondition> conditions, Holder<Item> item)

方法概要

修饰符与类型方法
public LootItemFunctionType<SetItemFunction>
a()
getType()
method_29321()
getType()
m_7162_()
public ItemStack
a(dlt arg0, fnz arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_332197_, C_2811_ arg1)