public class FormRequirement extends AbstractStringPokemonRequirement
defaultValue, value
keys
Constructor and Description |
---|
FormRequirement() |
FormRequirement(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
void |
applyData(Pokemon pixelmon) |
Requirement<Pokemon,PixelmonEntity,java.lang.String> |
createInstance(java.lang.String value)
Creates a new instance of the requirement with the given value
|
int |
getPriority()
Gets the order priority of the requirement.
|
boolean |
isDataMatch(Pokemon pixelmon) |
createSimple, getValue
applyMinecraft, isMinecraftMatch
create, fits, getAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldContinue
public FormRequirement()
public FormRequirement(java.lang.String value)
public int getPriority()
Requirement
public Requirement<Pokemon,PixelmonEntity,java.lang.String> createInstance(java.lang.String value)
Requirement
value
- The valuepublic boolean isDataMatch(Pokemon pixelmon)
public void applyData(Pokemon pixelmon)