Interface IAdvancedIngredient<STACK>
- All Superinterfaces:
ITypelessAdvancedIngredient<STACK>,Predicate<STACK>
- All Known Subinterfaces:
DoughIngredient,FluidAdvancedIngredient,ItemAdvancedIngredient
- All Known Implementing Classes:
BogglePatternAdvancedIngredient,ContaminatedAdvancedIngredient,CreateItemAttributeAdvancedIngredient,DoughItemAdvancedIngredient,DoughTypeIngredient,EnchantmentItemAdvancedIngredient,HolderSetFluidAdvancedIngredient,HolderSetItemAdvancedIngredient,ItemIDRegExAdvancedIngredient,ItemIngredientValueAdvancedIngredient,ItemItemAdvancedIngredient,PassAdvancedIngredient,PlayerMadeDoughIngredient,TagItemAdvancedIngredient,ThicknessDoughIngredient,ToppingDoughIngredient,TypeAttachedAdvancedIngredient
-
Method Summary
Modifier and TypeMethodDescriptionIAdvancedIngredientType<? super STACK> getType()default IAdvancedIngredient<? super STACK> simplify()TheIAdvancedIngredient(not necessarily of the sametype) which is the exact samepredicateas this, but which has the smallest possible overhead.Methods inherited from interface com.petrolpark.core.recipe.ingredient.advanced.ITypelessAdvancedIngredient
addToCounterDescription, addToDescription, checkedCast, modifyCounterExamples, modifyExamples, streamCounterExamples, streamExamples
-
Method Details
-
getType
IAdvancedIngredientType<? super STACK> getType() -
simplify
Description copied from interface:ITypelessAdvancedIngredientTheIAdvancedIngredient(not necessarily of the sametype) which is the exact samepredicateas this, but which has the smallest possible overhead. It is acceptable to mutate this Ingredient while calling this method, so careful caching the unsimplified version. Usually this will just returnthis.- Specified by:
simplifyin interfaceITypelessAdvancedIngredient<STACK>
-