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
FieldsModifier and TypeFieldDescriptionprivate final BiFunction<ItemStack,LootContext, ItemStack> protected final LootItemFunction[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ItemStack p_279166_, LootContext p_279343_) getType()voidvalidate(ValidationContext p_279400_) 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.world.level.storage.loot.LootContextUser
getReferencedContextParams
-
Field Details
-
functions
-
compositeFunction
-
-
Constructor Details
-
FunctionSequence
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<ItemStack,LootContext, ItemStack>
-
validate
- Specified by:
validatein interfaceLootContextUser
-
getType
- Specified by:
getTypein interfaceLootItemFunction
-