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