Package net.minecraft.loot.function
Class SetStewEffectLootFunction
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.loot.function.SetStewEffectLootFunction
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> LootContextAware
,LootFunction
- Mappings:
Namespace Name named net/minecraft/loot/function/SetStewEffectLootFunction
intermediary net/minecraft/class_152
official esv
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
private static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<SetStewEffectLootFunction> private static final com.mojang.serialization.Codec
<List<SetStewEffectLootFunction.StewEffect>> private final List
<SetStewEffectLootFunction.StewEffect> Fields inherited from class net.minecraft.loot.function.ConditionalLootFunction
conditions
-
Constructor Summary
ConstructorDescriptionSetStewEffectLootFunction
(List<LootCondition> conditions, List<SetStewEffectLootFunction.StewEffect> stewEffects) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getType()
process
(ItemStack stack, LootContext context) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction
addConditionsField, apply, builder, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
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 named STEW_EFFECT_LIST_CODEC
Lnet/minecraft/loot/function/SetStewEffectLootFunction;STEW_EFFECT_LIST_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_45852
Lnet/minecraft/class_152;field_45852:Lcom/mojang/serialization/Codec;
official b
Lesv;b:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/loot/function/SetStewEffectLootFunction;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_45851
Lnet/minecraft/class_152;field_45851:Lcom/mojang/serialization/MapCodec;
official a
Lesv;a:Lcom/mojang/serialization/MapCodec;
-
stewEffects
- Mappings:
Namespace Name Mixin selector named stewEffects
Lnet/minecraft/loot/function/SetStewEffectLootFunction;stewEffects:Ljava/util/List;
intermediary field_45853
Lnet/minecraft/class_152;field_45853:Ljava/util/List;
official c
Lesv;c:Ljava/util/List;
-
-
Constructor Details
-
SetStewEffectLootFunction
SetStewEffectLootFunction(List<LootCondition> conditions, List<SetStewEffectLootFunction.StewEffect> stewEffects) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/loot/function/SetStewEffectLootFunction;<init>(Ljava/util/List;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_152;<init>(Ljava/util/List;Ljava/util/List;)V
official <init>
Lesv;<init>(Ljava/util/List;Ljava/util/List;)V
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceLootFunction
- Specified by:
getType
in classConditionalLootFunction
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
intermediary method_29321
Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;
official b
Lerw;b()Lerx;
-
getRequiredParameters
- Mappings:
Namespace Name Mixin selector named getRequiredParameters
Lnet/minecraft/loot/context/LootContextAware;getRequiredParameters()Ljava/util/Set;
intermediary method_293
Lnet/minecraft/class_46;method_293()Ljava/util/Set;
official a
Leqk;a()Ljava/util/Set;
-
process
- Specified by:
process
in classConditionalLootFunction
- Mappings:
Namespace Name Mixin selector named process
Lnet/minecraft/loot/function/ConditionalLootFunction;process(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
intermediary method_522
Lnet/minecraft/class_120;method_522(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;
official a
Lerv;a(Lcuq;Leqj;)Lcuq;
-
builder
- Mappings:
Namespace Name Mixin selector named builder
Lnet/minecraft/loot/function/SetStewEffectLootFunction;builder()Lnet/minecraft/loot/function/SetStewEffectLootFunction$Builder;
intermediary method_637
Lnet/minecraft/class_152;method_637()Lnet/minecraft/class_152$class_153;
official c
Lesv;c()Lesv$a;
-