Class SetStewEffectFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<SetStewEffectFunction.Builder>
net.minecraft.world.level.storage.loot.functions.SetStewEffectFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<SetStewEffectFunction.Builder>
- Enclosing class:
SetStewEffectFunction
public static class SetStewEffectFunction.Builder
extends LootItemConditionalFunction.Builder<SetStewEffectFunction.Builder>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<SetStewEffectFunction.EffectEntry>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected SetStewEffectFunction.Builder
getThis()
withEffect
(MobEffect p_165473_, NumberProvider p_165474_) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
when
-
Field Details
-
effects
private final com.google.common.collect.ImmutableList.Builder<SetStewEffectFunction.EffectEntry> effects
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<SetStewEffectFunction.Builder>
-
withEffect
-
build
-