Class SequenceFunction
java.lang.Object
net.minecraft.world.level.storage.loot.functions.SequenceFunction
- All Implemented Interfaces:
 BiFunction<ItemStack,,LootContext, ItemStack> LootItemFunction,LootContextUser
- 
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.storage.loot.functions.LootItemFunction
LootItemFunction.Builder - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SequenceFunction>private final BiFunction<ItemStack,LootContext, ItemStack> private final List<LootItemFunction>static final com.mojang.serialization.Codec<SequenceFunction> - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionapply(ItemStack p_299268_, LootContext p_298221_) getType()static SequenceFunctionof(List<LootItemFunction> p_298958_) voidvalidate(ValidationContext p_298605_) 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
- 
CODEC
 - 
INLINE_CODEC
 - 
functions
 - 
compositeFunction
 
 - 
 - 
Constructor Details
- 
SequenceFunction
 
 - 
 - 
Method Details
- 
of
 - 
apply
- Specified by:
 applyin interfaceBiFunction<ItemStack,LootContext, ItemStack> 
 - 
validate
- Specified by:
 validatein interfaceLootContextUser
 - 
getType
- Specified by:
 getTypein interfaceLootItemFunction
 
 -