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
-
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
-
field_27905
-
-
Constructor Details
-
AndFunction
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<ItemStack,LootContext,ItemStack>
-
getType
- Specified by:
getTypein interfaceLootFunction
-