public class PokemonSpecification extends AbstractSpecification<Pokemon,PixelmonEntity>
Pokemon
and PixelmonEntity
types for PixelmondataType, minecraftType, originalSpec, requirements
Constructor and Description |
---|
PokemonSpecification(java.lang.String originalSpec,
java.util.List<Requirement<Pokemon,PixelmonEntity,?>> requirements) |
Modifier and Type | Method and Description |
---|---|
PokemonSpecification |
clone() |
Pokemon |
create()
Creates an instance of the reforged data object
|
Pokemon |
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
|
PixelmonEntity |
create(net.minecraft.world.World world) |
apply, getRequirement, getRequirements, getValue, matches, toString, write
public PokemonSpecification(java.lang.String originalSpec, java.util.List<Requirement<Pokemon,PixelmonEntity,?>> requirements)
public PokemonSpecification clone()
clone
in class java.lang.Object
public Pokemon create()
Specification
public Pokemon create(boolean shallow)
Specification
public PixelmonEntity create(net.minecraft.world.World world)