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 intermediary net/minecraft/class_60$class_5641official dzk$bnamed net/minecraft/loot/LootManager$AndFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.loot.function.LootFunction
LootFunction.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BiFunction<ItemStack,LootContext, ItemStack> protected final LootFunction[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ItemStack itemStack, LootContext lootContext) getType()voidvalidate(LootTableReporter reporter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface net.minecraft.loot.context.LootContextAware
getRequiredParameters
-
Field Details
-
functions
- Mappings:
Namespace Name Mixin selector intermediary field_27904Lnet/minecraft/class_60$class_5641;field_27904:[Lnet/minecraft/class_117;official aLdzk$b;a:[Leaw;named functionsLnet/minecraft/loot/LootManager$AndFunction;functions:[Lnet/minecraft/loot/function/LootFunction;
-
applier
- Mappings:
Namespace Name Mixin selector intermediary field_27905Lnet/minecraft/class_60$class_5641;field_27905:Ljava/util/function/BiFunction;official bLdzk$b;b:Ljava/util/function/BiFunction;named applierLnet/minecraft/loot/LootManager$AndFunction;applier:Ljava/util/function/BiFunction;
-
-
Constructor Details
-
AndFunction
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_60$class_5641;<init>([Lnet/minecraft/class_117;)Vofficial <init>Ldzk$b;<init>([Leaw;)Vnamed <init>Lnet/minecraft/loot/LootManager$AndFunction;<init>([Lnet/minecraft/loot/function/LootFunction;)V
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<ItemStack,LootContext, ItemStack> - Mappings:
Namespace Name Mixin selector intermediary method_32405Lnet/minecraft/class_60$class_5641;method_32405(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;official aLdzk$b;a(Lcfx;Ldzh;)Lcfx;named applyLnet/minecraft/loot/LootManager$AndFunction;apply(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
-
validate
- Specified by:
validatein interfaceLootContextAware- Mappings:
Namespace Name Mixin selector intermediary method_292Lnet/minecraft/class_46;method_292(Lnet/minecraft/class_58;)Vofficial aLdzi;a(Ldzs;)Vnamed validateLnet/minecraft/loot/context/LootContextAware;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
getType
- Specified by:
getTypein interfaceLootFunction- Mappings:
Namespace Name Mixin selector intermediary method_29321Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;official bLeaw;b()Leax;named getTypeLnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
-