public class PokemonSpecification extends AbstractSpecification<Pokemon,EntityPixelmon>
Pokemon
and EntityPixelmon
types for PixelmondataType, minecraftType, originalSpec, requirements
Constructor and Description |
---|
PokemonSpecification(java.lang.String originalSpec,
java.util.List<Requirement<Pokemon,EntityPixelmon,?>> 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
|
EntityPixelmon |
create(net.minecraft.world.World world) |
public PokemonSpecification(java.lang.String originalSpec, java.util.List<Requirement<Pokemon,EntityPixelmon,?>> requirements)
public PokemonSpecification clone()
clone
in class java.lang.Object
public Pokemon create()
Specification
public Pokemon create(boolean shallow)
Specification
public EntityPixelmon create(net.minecraft.world.World world)