Package net.minecraft.loot
Class LootManager.AndFunction
java.lang.Object
net.minecraft.loot.LootManager.AndFunction
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> LootContextAware
,LootFunction
- Enclosing class:
LootManager
- Mappings:
Namespace Name official dzk$b
intermediary net/minecraft/class_60$class_5641
named net/minecraft/loot/LootManager$AndFunction
-
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> protected final LootFunction[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(ItemStack itemStack, LootContext lootContext) 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
-
functions
- Mappings:
Namespace Name Mixin selector official a
Ldzk$b;a:[Leaw;
intermediary field_27904
Lnet/minecraft/class_60$class_5641;field_27904:[Lnet/minecraft/class_117;
named functions
Lnet/minecraft/loot/LootManager$AndFunction;functions:[Lnet/minecraft/loot/function/LootFunction;
-
applier
- Mappings:
Namespace Name Mixin selector official b
Ldzk$b;b:Ljava/util/function/BiFunction;
intermediary field_27905
Lnet/minecraft/class_60$class_5641;field_27905:Ljava/util/function/BiFunction;
named applier
Lnet/minecraft/loot/LootManager$AndFunction;applier:Ljava/util/function/BiFunction;
-
-
Constructor Details
-
AndFunction
- Mappings:
Namespace Name Mixin selector official <init>
Ldzk$b;<init>([Leaw;)V
intermediary <init>
Lnet/minecraft/class_60$class_5641;<init>([Lnet/minecraft/class_117;)V
named <init>
Lnet/minecraft/loot/LootManager$AndFunction;<init>([Lnet/minecraft/loot/function/LootFunction;)V
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<ItemStack,
LootContext, ItemStack> - Mappings:
Namespace Name Mixin selector official a
Ldzk$b;a(Lcfx;Ldzh;)Lcfx;
intermediary method_32405
Lnet/minecraft/class_60$class_5641;method_32405(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;
named apply
Lnet/minecraft/loot/LootManager$AndFunction;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
Ldzi;a(Ldzs;)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
Leaw;b()Leax;
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;
-