Class SequenceFunction
java.lang.Object
net.minecraft.world.level.storage.loot.functions.SequenceFunction
- All Implemented Interfaces:
- BiFunction<ItemStack,,- LootContext, - ItemStack> - LootItemFunction,- LootContextUser
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.world.level.storage.loot.functions.LootItemFunctionLootItemFunction.Builder
- 
Field SummaryFieldsModifier 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapply(ItemStack p_300658_, LootContext p_298148_) getType()static SequenceFunctionof(List<LootItemFunction> p_299752_) voidvalidate(ValidationContext p_297477_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunctionandThenMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUsergetReferencedContextParams
- 
Field Details- 
CODEC
- 
INLINE_CODEC
- 
functions
- 
compositeFunction
 
- 
- 
Constructor Details- 
SequenceFunction
 
- 
- 
Method Details- 
of
- 
apply- Specified by:
- applyin interface- BiFunction<ItemStack,- LootContext, - ItemStack> 
 
- 
validate- Specified by:
- validatein interface- LootContextUser
 
- 
getType- Specified by:
- getTypein interface- LootItemFunction
 
 
-