public class EVsRequirement extends AbstractIntegerPokemonRequirement
defaultValue, value
keys
Constructor and Description |
---|
EVsRequirement(java.util.Set<java.lang.String> keys,
int defaultValue) |
EVsRequirement(java.util.Set<java.lang.String> keys,
int defaultValue,
int value) |
Modifier and Type | Method and Description |
---|---|
void |
applyData(Pokemon object) |
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 EVsRequirement(java.util.Set<java.lang.String> keys, int defaultValue)
public EVsRequirement(java.util.Set<java.lang.String> keys, int defaultValue, 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 object)