Class 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 dma$a
intermediary net/minecraft/class_152$class_153
named net/minecraft/loot/function/SetStewEffectLootFunction$Builder
  • Field Details

    • map

      private final Map<StatusEffect,LootNumberProvider> map
      Mappings:
      Namespace Name Mixin selector
      official a Ldma$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

      protected SetStewEffectLootFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<SetStewEffectLootFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      official a Ldma$a;a()Ldma$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 Ldma$a;a(Lawl;Ldno;)Ldma$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

      public LootFunction build()
      Mappings:
      Namespace Name Mixin selector
      official b Ldll$a;b()Ldll;
      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;