Class SetOminousBottleAmplifierFunction
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.world.level.storage.loot.functions.SetOminousBottleAmplifierFunction
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> LootItemFunction
,LootContextUser
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
LootItemConditionalFunction.Builder<T extends LootItemConditionalFunction.Builder<T>>, LootItemConditionalFunction.DummyBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NumberProvider
(package private) static final com.mojang.serialization.MapCodec
<SetOminousBottleAmplifierFunction> Fields inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
predicates
-
Constructor Summary
ModifierConstructorDescriptionprivate
SetOminousBottleAmplifierFunction
(List<LootItemCondition> p_328459_, NumberProvider p_330589_) -
Method Summary
Modifier and TypeMethodDescriptionSet
<LootContextParam<?>> getType()
run
(ItemStack p_327902_, LootContext p_335574_) static LootItemConditionalFunction.Builder
<?> setAmplifier
(NumberProvider p_329950_) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
apply, commonFields, simpleBuilder, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
CODEC
-
amplifierGenerator
-
-
Constructor Details
-
SetOminousBottleAmplifierFunction
private SetOminousBottleAmplifierFunction(List<LootItemCondition> p_328459_, NumberProvider p_330589_)
-
-
Method Details
-
getReferencedContextParams
-
getType
- Specified by:
getType
in interfaceLootItemFunction
- Specified by:
getType
in classLootItemConditionalFunction
-
run
- Specified by:
run
in classLootItemConditionalFunction
-
amplifier
-
setAmplifier
-