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

public class SetInstrumentFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fqh
net.minecraft.world.level.storage.loot.functions.SetInstrumentFunction
net.minecraft.class_7431
net.minecraft.loot.function.SetInstrumentLootFunction
net.minecraft.src.C_213320_
net.minecraft.world.level.storage.loot.functions.SetInstrumentFunction

字段概要

修饰符与类型字段
public static final com.mojang.serialization.MapCodec<SetInstrumentFunction>
a
CODEC
field_45844
CODEC
f_290736_
private final TagKey<Instrument>
b
options
field_39184
options
f_231006_

构造函数概要

修饰符构造函数
private (List<LootItemCondition> conditions, TagKey<Instrument> options)

方法概要

修饰符与类型方法
public LootItemFunctionType<SetInstrumentFunction>
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_231018_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(bef<dlm> arg0)
setInstrumentOptions(TagKey<Instrument> arg0)
method_43571(class_6862<class_7444> arg0)
builder(TagKey<Instrument> options)
m_231011_(C_203208_<C_213079_> p_231012_)