Class PrototypedIngredientAlternativesItemStackTag
java.lang.Object
org.cyclops.commoncapabilities.api.capability.recipehandler.PrototypedIngredientAlternativesItemStackTag
- All Implemented Interfaces:
IPrototypedIngredientAlternatives<net.minecraft.world.item.ItemStack,
Integer>
public class PrototypedIngredientAlternativesItemStackTag
extends Object
implements IPrototypedIngredientAlternatives<net.minecraft.world.item.ItemStack,Integer>
An oredictionary-based
IPrototypedIngredientAlternatives
implementation.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from interface org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives
IPrototypedIngredientAlternatives.ISerializer<A extends IPrototypedIngredientAlternatives<?,
?>> -
Field Summary
Modifier and TypeFieldDescriptionFields inherited from interface org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives
SERIALIZERS
-
Constructor Summary
ConstructorDescriptionPrototypedIngredientAlternativesItemStackTag
(List<String> keys, Integer matchCondition, long quantity) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Collection
<IPrototypedIngredient<net.minecraft.world.item.ItemStack, Integer>> long
int
hashCode()
toString()
-
Field Details
-
SERIALIZER
-
-
Constructor Details
-
PrototypedIngredientAlternativesItemStackTag
-
-
Method Details
-
getAlternatives
public Collection<IPrototypedIngredient<net.minecraft.world.item.ItemStack,Integer>> getAlternatives()- Specified by:
getAlternatives
in interfaceIPrototypedIngredientAlternatives<net.minecraft.world.item.ItemStack,
Integer>
-
getSerializer
- Specified by:
getSerializer
in interfaceIPrototypedIngredientAlternatives<net.minecraft.world.item.ItemStack,
Integer>
-
equals
-
hashCode
public int hashCode() -
getQuantity
public long getQuantity() -
toString
-