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

public class SetInstrumentFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eyt
net.minecraft.world.level.storage.loot.functions.SetInstrumentFunction
net.minecraft.class_7431
net.minecraft.loot.function.SetInstrumentLootFunction
net.minecraft.world.level.storage.loot.functions.SetInstrumentFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetInstrumentFunction>
a
CODEC
field_45844
CODEC
private final TagKey<Instrument>
b
options
field_39184
options

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemFunctionType<SetInstrumentFunction>
b()
getType()
method_29321()
getType()
public ItemStack
a(cxp arg0, ewp arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
public static LootItemConditionalFunction$Builder<?>
a(ayk<cxi> arg0)
setInstrumentOptions(TagKey<Instrument> arg0)
method_43571(class_6862<class_7444> arg0)
builder(TagKey<Instrument> options)