Class SetStewEffectLootFunction

java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.loot.function.SetStewEffectLootFunction
All Implemented Interfaces:
BiFunction<ItemStack,LootContext,ItemStack>, LootContextAware, LootFunction

public class SetStewEffectLootFunction extends ConditionalLootFunction
Mappings:
Namespace Name
official eeu
intermediary net/minecraft/class_152
named net/minecraft/loot/function/SetStewEffectLootFunction
  • Field Details

    • STEW_EFFECT_LIST_CODEC

      private static final com.mojang.serialization.Codec<List<SetStewEffectLootFunction.StewEffect>> STEW_EFFECT_LIST_CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Leeu;b:Lcom/mojang/serialization/Codec;
      intermediary field_45852 Lnet/minecraft/class_152;field_45852:Lcom/mojang/serialization/Codec;
      named STEW_EFFECT_LIST_CODEC Lnet/minecraft/loot/function/SetStewEffectLootFunction;STEW_EFFECT_LIST_CODEC:Lcom/mojang/serialization/Codec;
    • CODEC

      public static final com.mojang.serialization.Codec<SetStewEffectLootFunction> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Leeu;a:Lcom/mojang/serialization/Codec;
      intermediary field_45851 Lnet/minecraft/class_152;field_45851:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/loot/function/SetStewEffectLootFunction;CODEC:Lcom/mojang/serialization/Codec;
    • stewEffects

      private final List<SetStewEffectLootFunction.StewEffect> stewEffects
      Mappings:
      Namespace Name Mixin selector
      official c Leeu;c:Ljava/util/List;
      intermediary field_45853 Lnet/minecraft/class_152;field_45853:Ljava/util/List;
      named stewEffects Lnet/minecraft/loot/function/SetStewEffectLootFunction;stewEffects:Ljava/util/List;
  • Constructor Details

    • SetStewEffectLootFunction

      SetStewEffectLootFunction(List<LootCondition> conditions, List<SetStewEffectLootFunction.StewEffect> stewEffects)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leeu;<init>(Ljava/util/List;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_152;<init>(Ljava/util/List;Ljava/util/List;)V
      named <init> Lnet/minecraft/loot/function/SetStewEffectLootFunction;<init>(Ljava/util/List;Ljava/util/List;)V
  • Method Details

    • getType

      public LootFunctionType getType()
      Mappings:
      Namespace Name Mixin selector
      official b Leed;b()Leee;
      intermediary method_29321 Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;
      named getType Lnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
    • getRequiredParameters

      public Set<LootContextParameter<?>> getRequiredParameters()
      Mappings:
      Namespace Name Mixin selector
      official a Lecr;a()Ljava/util/Set;
      intermediary method_293 Lnet/minecraft/class_46;method_293()Ljava/util/Set;
      named getRequiredParameters Lnet/minecraft/loot/context/LootContextAware;getRequiredParameters()Ljava/util/Set;
    • process

      public ItemStack process(ItemStack stack, LootContext context)
      Specified by:
      process in class ConditionalLootFunction
      Mappings:
      Namespace Name Mixin selector
      official a Leec;a(Lcjf;Lecq;)Lcjf;
      intermediary method_522 Lnet/minecraft/class_120;method_522(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;
      named process Lnet/minecraft/loot/function/ConditionalLootFunction;process(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
    • builder

      public static SetStewEffectLootFunction.Builder builder()
      Mappings:
      Namespace Name Mixin selector
      official c Leeu;c()Leeu$a;
      intermediary method_637 Lnet/minecraft/class_152;method_637()Lnet/minecraft/class_152$class_153;
      named builder Lnet/minecraft/loot/function/SetStewEffectLootFunction;builder()Lnet/minecraft/loot/function/SetStewEffectLootFunction$Builder;