Package net.minecraft.loot.functions
Class SetStewEffect.Builder
- java.lang.Object
-
- net.minecraft.loot.LootFunction.Builder<SetStewEffect.Builder>
-
- net.minecraft.loot.functions.SetStewEffect.Builder
-
- All Implemented Interfaces:
ILootFunction.IBuilder
,ILootConditionConsumer<SetStewEffect.Builder>
- Enclosing class:
- SetStewEffect
public static class SetStewEffect.Builder extends LootFunction.Builder<SetStewEffect.Builder>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<Effect,RandomValueRange>
effectDurationMap
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILootFunction
build()
protected SetStewEffect.Builder
getThis()
SetStewEffect.Builder
withEffect(Effect p_216077_1_, RandomValueRange p_216077_2_)
-
Methods inherited from class net.minecraft.loot.LootFunction.Builder
getConditions, unwrap, when
-
-
-
-
Field Detail
-
effectDurationMap
private final java.util.Map<Effect,RandomValueRange> effectDurationMap
-
-
Method Detail
-
getThis
protected SetStewEffect.Builder getThis()
- Specified by:
getThis
in classLootFunction.Builder<SetStewEffect.Builder>
-
withEffect
public SetStewEffect.Builder withEffect(Effect p_216077_1_, RandomValueRange p_216077_2_)
-
build
public ILootFunction build()
-
-