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_27905
protected LootFunction[]
functions
-
Constructor Summary
Constructors Constructor Description AndFunction(LootFunction[] functions)
-
Method Summary
Modifier and Type Method Description ItemStack
apply(ItemStack itemStack, LootContext lootContext)
LootFunctionType
getType()
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, validate
-
Field Details
-
functions
-
field_27905
-
-
Constructor Details
-
AndFunction
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<ItemStack,LootContext,ItemStack>
-
getType
- Specified by:
getType
in interfaceLootFunction
-