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$bintermediary net/minecraft/class_60$class_5641named 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 official aLdzk$b;a:[Leaw;intermediary field_27904Lnet/minecraft/class_60$class_5641;field_27904:[Lnet/minecraft/class_117;named functionsLnet/minecraft/loot/LootManager$AndFunction;functions:[Lnet/minecraft/loot/function/LootFunction;
-
applier
- Mappings:
Namespace Name Mixin selector official bLdzk$b;b:Ljava/util/function/BiFunction;intermediary field_27905Lnet/minecraft/class_60$class_5641;field_27905:Ljava/util/function/BiFunction;named applierLnet/minecraft/loot/LootManager$AndFunction;applier:Ljava/util/function/BiFunction;
-
-
Constructor Details
-
AndFunction
- Mappings:
Namespace Name Mixin selector official <init>Ldzk$b;<init>([Leaw;)Vintermediary <init>Lnet/minecraft/class_60$class_5641;<init>([Lnet/minecraft/class_117;)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 official aLdzk$b;a(Lcfx;Ldzh;)Lcfx;intermediary method_32405Lnet/minecraft/class_60$class_5641;method_32405(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;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 official aLdzi;a(Ldzs;)Vintermediary method_292Lnet/minecraft/class_46;method_292(Lnet/minecraft/class_58;)Vnamed validateLnet/minecraft/loot/context/LootContextAware;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
getType
- Specified by:
getTypein interfaceLootFunction- Mappings:
Namespace Name Mixin selector official bLeaw;b()Leax;intermediary method_29321Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;named getTypeLnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
-