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

public class SetInstrumentFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eit
net.minecraft.world.level.storage.loot.functions.SetInstrumentFunction
net.minecraft.class_7431
net.minecraft.unmapped.C_yethsfxd
net.minecraft.loot.function.SetInstrumentLootFunction
net.minecraft.loot.function.SetInstrumentFunction
net.minecraft.src.C_213320_
net.minecraft.world.level.storage.loot.functions.SetInstrumentFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SetInstrumentFunction>
a
CODEC
field_45844
f_hcyegylm
CODEC
CODEC
f_290736_
private final TagKey<Instrument>
b
options
field_39184
f_lbvcjxbq
options
options
f_231006_

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, TagKey<Instrument> options)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public ItemStack
a(cmy arg0, egw 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_231018_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(asw<cmq> arg0)
setInstrumentOptions(TagKey<Instrument> arg0)
method_43571(class_6862<class_7444> arg0)
m_gecwzuvx(C_ednuhnnn<C_vywrdemv> arg0)
builder(TagKey<Instrument> options)
builder(TagKey<Instrument> options)
m_231011_(C_203208_<C_213079_> p_231012_)