Package net.minecraft.loot.function
Class AndLootFunction
java.lang.Object
net.minecraft.loot.function.AndLootFunction
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> LootContextAware
,LootFunction
- Mappings:
Namespace Name official ein
intermediary net/minecraft/class_5641
named net/minecraft/loot/function/AndLootFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.loot.function.LootFunction
LootFunction.Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BiFunction<ItemStack,
LootContext, ItemStack> static final com.mojang.serialization.Codec<AndLootFunction>
static final com.mojang.serialization.Codec<AndLootFunction>
private final List<LootFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(ItemStack itemStack, LootContext lootContext) static AndLootFunction
create
(List<LootFunction> terms) getType()
void
validate
(LootTableReporter reporter) 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
Methods inherited from interface net.minecraft.loot.context.LootContextAware
getRequiredParameters
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lein;a:Lcom/mojang/serialization/Codec;
intermediary field_45834
Lnet/minecraft/class_5641;field_45834:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/loot/function/AndLootFunction;CODEC:Lcom/mojang/serialization/Codec;
-
INLINE_CODEC
- Mappings:
Namespace Name Mixin selector official b
Lein;b:Lcom/mojang/serialization/Codec;
intermediary field_45835
Lnet/minecraft/class_5641;field_45835:Lcom/mojang/serialization/Codec;
named INLINE_CODEC
Lnet/minecraft/loot/function/AndLootFunction;INLINE_CODEC:Lcom/mojang/serialization/Codec;
-
terms
- Mappings:
Namespace Name Mixin selector official c
Lein;c:Ljava/util/List;
intermediary field_27904
Lnet/minecraft/class_5641;field_27904:Ljava/util/List;
named terms
Lnet/minecraft/loot/function/AndLootFunction;terms:Ljava/util/List;
-
applier
- Mappings:
Namespace Name Mixin selector official d
Lein;d:Ljava/util/function/BiFunction;
intermediary field_27905
Lnet/minecraft/class_5641;field_27905:Ljava/util/function/BiFunction;
named applier
Lnet/minecraft/loot/function/AndLootFunction;applier:Ljava/util/function/BiFunction;
-
-
Constructor Details
-
AndLootFunction
- Mappings:
Namespace Name Mixin selector official <init>
Lein;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_5641;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/loot/function/AndLootFunction;<init>(Ljava/util/List;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lein;a(Ljava/util/List;)Lein;
intermediary method_53353
Lnet/minecraft/class_5641;method_53353(Ljava/util/List;)Lnet/minecraft/class_5641;
named create
Lnet/minecraft/loot/function/AndLootFunction;create(Ljava/util/List;)Lnet/minecraft/loot/function/AndLootFunction;
-
apply
- Specified by:
apply
in interfaceBiFunction<ItemStack,
LootContext, ItemStack> - Mappings:
Namespace Name Mixin selector official a
Lein;a(Lcmy;Legw;)Lcmy;
intermediary method_32405
Lnet/minecraft/class_5641;method_32405(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;
named apply
Lnet/minecraft/loot/function/AndLootFunction;apply(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
-
validate
- Specified by:
validate
in interfaceLootContextAware
- Mappings:
Namespace Name Mixin selector official a
Legx;a(Lehf;)V
intermediary method_292
Lnet/minecraft/class_46;method_292(Lnet/minecraft/class_58;)V
named validate
Lnet/minecraft/loot/context/LootContextAware;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
getType
- Specified by:
getType
in interfaceLootFunction
- 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;
-