Class PrototypedIngredientAlternativesList<T,M>
java.lang.Object
org.cyclops.commoncapabilities.api.capability.recipehandler.PrototypedIngredientAlternativesList<T,M>
- Type Parameters:
T
- The instance type.M
- The matching condition parameter, may be Void.
- All Implemented Interfaces:
IPrototypedIngredientAlternatives<T,
M>
public class PrototypedIngredientAlternativesList<T,M>
extends Object
implements IPrototypedIngredientAlternatives<T,M>
A list-based
IPrototypedIngredientAlternatives
implementation.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives
IPrototypedIngredientAlternatives.ISerializer<A extends IPrototypedIngredientAlternatives<?,
?>> -
Field Summary
Fields inherited from interface org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives
SERIALIZERS
-
Constructor Summary
ConstructorDescriptionPrototypedIngredientAlternativesList
(List<IPrototypedIngredient<T, M>> alternatives) -
Method Summary
-
Field Details
-
SERIALIZER
-
-
Constructor Details
-
PrototypedIngredientAlternativesList
-
-
Method Details
-
getAlternatives
- Specified by:
getAlternatives
in interfaceIPrototypedIngredientAlternatives<T,
M>
-
getSerializer
- Specified by:
getSerializer
in interfaceIPrototypedIngredientAlternatives<T,
M>
-
equals
-
hashCode
public int hashCode() -
toString
-