public class PokemonSpecificationProxy
extends java.lang.Object
SpecificationFactory
where it handles passing in the classConstructor and Description |
---|
PokemonSpecificationProxy() |
Modifier and Type | Method and Description |
---|---|
static PokemonSpecification |
create(java.lang.Object... args)
Creates a
PokemonSpecification instance from the args by converting them to String |
static PokemonSpecification |
create(java.lang.String... specs)
Creates a
PokemonSpecification instance from a string array |
static PokemonSpecification |
fromNbt(net.minecraft.nbt.CompoundNBT nbt) |
static java.lang.String[] |
getRequirementNames() |
static void |
register(Requirement<Pokemon,PixelmonEntity,?> requirement)
Register a new
Requirement |
static PokemonSpecification |
requirements(java.lang.String spec)
Gets the list of
Requirement s created from the given spec |
public static void register(Requirement<Pokemon,PixelmonEntity,?> requirement)
Requirement
requirement
- The requirement being registeredpublic static PokemonSpecification requirements(java.lang.String spec)
Requirement
s created from the given specspec
- The spec being parsedpublic static PokemonSpecification create(java.lang.String... specs)
PokemonSpecification
instance from a string arrayspecs
- The specs being parsedpublic static PokemonSpecification create(java.lang.Object... args)
PokemonSpecification
instance from the args by converting them to Stringargs
- Args being convertedpublic static java.lang.String[] getRequirementNames()
public static PokemonSpecification fromNbt(net.minecraft.nbt.CompoundNBT nbt)