Package net.minecraft.loot.function
Class SetStewEffectLootFunction.Builder
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<SetStewEffectLootFunction.Builder>
net.minecraft.loot.function.SetStewEffectLootFunction.Builder
- All Implemented Interfaces:
LootConditionConsumingBuilder<SetStewEffectLootFunction.Builder>
,LootFunction.Builder
- Enclosing class:
- SetStewEffectLootFunction
public static class SetStewEffectLootFunction.Builder extends ConditionalLootFunction.Builder<SetStewEffectLootFunction.Builder>
- Mappings:
Namespace Name official dgh$a
intermediary net/minecraft/class_152$class_153
named net/minecraft/loot/function/SetStewEffectLootFunction$Builder
-
Field Summary
Fields Modifier and Type Field Description private Map<StatusEffect,LootNumberProvider>
map
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description LootFunction
build()
protected SetStewEffectLootFunction.Builder
getThisBuilder()
SetStewEffectLootFunction.Builder
withEffect(StatusEffect effect, LootNumberProvider durationRange)
Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThis
-
Field Details
-
map
- Mappings:
Namespace Name Mixin selector official a
Ldgh$a;a:Ljava/util/Map;
intermediary field_1123
Lnet/minecraft/class_152$class_153;field_1123:Ljava/util/Map;
named map
Lnet/minecraft/loot/function/SetStewEffectLootFunction$Builder;map:Ljava/util/Map;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getThisBuilder
- Specified by:
getThisBuilder
in classConditionalLootFunction.Builder<SetStewEffectLootFunction.Builder>
- Mappings:
Namespace Name Mixin selector official a
Ldgh$a;a()Ldgh$a;
intermediary method_639
Lnet/minecraft/class_152$class_153;method_639()Lnet/minecraft/class_152$class_153;
named getThisBuilder
Lnet/minecraft/loot/function/SetStewEffectLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/SetStewEffectLootFunction$Builder;
-
withEffect
public SetStewEffectLootFunction.Builder withEffect(StatusEffect effect, LootNumberProvider durationRange)- Mappings:
Namespace Name Mixin selector official a
Ldgh$a;a(Laqn;Ldhv;)Ldgh$a;
intermediary method_640
Lnet/minecraft/class_152$class_153;method_640(Lnet/minecraft/class_1291;Lnet/minecraft/class_5658;)Lnet/minecraft/class_152$class_153;
named withEffect
Lnet/minecraft/loot/function/SetStewEffectLootFunction$Builder;withEffect(Lnet/minecraft/entity/effect/StatusEffect;Lnet/minecraft/loot/provider/number/LootNumberProvider;)Lnet/minecraft/loot/function/SetStewEffectLootFunction$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Ldft$a;b()Ldft;
intermediary method_515
Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;
named build
Lnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;
-