Class LootDataManager.FunctionSequence
java.lang.Object
net.minecraft.world.level.storage.loot.LootDataManager.FunctionSequence
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> LootItemFunction
,LootContextUser
- Enclosing class:
- LootDataManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.storage.loot.functions.LootItemFunction
LootItemFunction.Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BiFunction<ItemStack,
LootContext, ItemStack> protected final LootItemFunction[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(ItemStack p_279166_, LootContext p_279343_) getType()
void
validate
(ValidationContext p_279400_) 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.world.level.storage.loot.LootContextUser
getReferencedContextParams
-
Field Details
-
functions
-
compositeFunction
-
-
Constructor Details
-
FunctionSequence
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<ItemStack,
LootContext, ItemStack>
-
validate
- Specified by:
validate
in interfaceLootContextUser
-
getType
- Specified by:
getType
in interfaceLootItemFunction
-