Package net.minecraft.loot.function
Class LootFunctionManager.AndFunction
java.lang.Object
net.minecraft.loot.function.LootFunctionManager.AndFunction
- All Implemented Interfaces:
BiFunction<ItemStack,LootContext,ItemStack>,LootContextAware,LootFunction
- Enclosing class:
- LootFunctionManager
static class LootFunctionManager.AndFunction extends Object implements LootFunction
- Mappings:
Namespace Name official deh$aintermediary net/minecraft/class_5640$class_5641named net/minecraft/loot/function/LootFunctionManager$AndFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.loot.function.LootFunction
LootFunction.Builder -
Field Summary
Fields Modifier and Type Field Description private BiFunction<ItemStack,LootContext,ItemStack>field_27905protected LootFunction[]functions -
Constructor Summary
Constructors Constructor Description AndFunction(LootFunction[] functions) -
Method Summary
Modifier and Type Method Description ItemStackapply(ItemStack itemStack, LootContext lootContext)LootFunctionTypegetType()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, validate
-
Field Details
-
functions
- Mappings:
Namespace Name Mixin selector official aLdeh$a;a:[Ldft;intermediary field_27904Lnet/minecraft/class_5640$class_5641;field_27904:[Lnet/minecraft/class_117;named functionsLnet/minecraft/loot/function/LootFunctionManager$AndFunction;functions:[Lnet/minecraft/loot/function/LootFunction;
-
field_27905
- Mappings:
Namespace Name Mixin selector official bLdeh$a;b:Ljava/util/function/BiFunction;intermediary field_27905Lnet/minecraft/class_5640$class_5641;field_27905:Ljava/util/function/BiFunction;named field_27905Lnet/minecraft/loot/function/LootFunctionManager$AndFunction;field_27905:Ljava/util/function/BiFunction;
-
-
Constructor Details
-
AndFunction
- Mappings:
Namespace Name Mixin selector official <init>Ldeh$a;<init>([Ldft;)Vintermediary <init>Lnet/minecraft/class_5640$class_5641;<init>([Lnet/minecraft/class_117;)Vnamed <init>Lnet/minecraft/loot/function/LootFunctionManager$AndFunction;<init>([Lnet/minecraft/loot/function/LootFunction;)V
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<ItemStack,LootContext,ItemStack>- Mappings:
Namespace Name Mixin selector official aLdeh$a;a(Lbnv;Ldei;)Lbnv;intermediary method_32405Lnet/minecraft/class_5640$class_5641;method_32405(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;named applyLnet/minecraft/loot/function/LootFunctionManager$AndFunction;apply(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
-
getType
- Specified by:
getTypein interfaceLootFunction- Mappings:
Namespace Name Mixin selector official aLdft;a()Ldfu;intermediary method_29321Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;named getTypeLnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
-