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 official eja
intermediary net/minecraft/class_152
named net/minecraft/loot/function/SetStewEffectLootFunction
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
private static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<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 official b
Leja;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
- Mappings:
Namespace Name Mixin selector official a
Leja;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
- Mappings:
Namespace Name Mixin selector official c
Leja;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>
Leja;<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
- Mappings:
Namespace Name Mixin selector official b
Leij;b()Leik;
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
- Mappings:
Namespace Name Mixin selector official a
Legx;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
- Specified by:
process
in classConditionalLootFunction
- Mappings:
Namespace Name Mixin selector official a
Leii;a(Lcmy;Legw;)Lcmy;
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
- Mappings:
Namespace Name Mixin selector official c
Leja;c()Leja$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;
-