public class CardSpecification extends AbstractSpecification<Card,net.minecraft.item.ItemStack>
Card
and ItemStack
types for TCGdataType, minecraftType, originalSpec, requirements
Constructor and Description |
---|
CardSpecification(java.lang.String originalSpec,
java.util.List<Requirement<Card,net.minecraft.item.ItemStack,?>> requirements) |
Modifier and Type | Method and Description |
---|---|
CardSpecification |
clone() |
Card |
create()
Creates an instance of the reforged data object
|
Card |
create(boolean shallow)
Creates an instance of the reforged data object
If shallow is true not all fields will be instantiated - shallow should be false by default
|
apply, getRequirement, getRequirements, getValue, matches, toString, write
public CardSpecification(java.lang.String originalSpec, java.util.List<Requirement<Card,net.minecraft.item.ItemStack,?>> requirements)
public CardSpecification clone()
clone
in class java.lang.Object
public Card create()
Specification
public Card create(boolean shallow)
Specification