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

public class SetOminousBottleAmplifierFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eyz
net.minecraft.world.level.storage.loot.functions.SetOminousBottleAmplifierFunction
net.minecraft.class_9476
net.minecraft.loot.function.SetOminousBottleAmplifierLootFunction
net.minecraft.world.level.storage.loot.functions.SetOminousBottleAmplifierFunction

Field summary

Modifier and TypeField
static final com.mojang.serialization.MapCodec<SetOminousBottleAmplifierFunction>
a
CODEC
field_50215
CODEC
private final NumberProvider
b
amplifierGenerator
field_50216
amplifier

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, NumberProvider amplifier)

Method summary

Modifier and TypeMethod
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
getAllowedParameters()
public LootItemFunctionType<SetOminousBottleAmplifierFunction>
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 NumberProvider
c()
amplifier()
method_58740()
getAmplifier()
public static LootItemConditionalFunction$Builder<?>
a(fau arg0)
setAmplifier(NumberProvider arg0)
method_58737(class_5658 arg0)
builder(LootNumberProvider amplifier)