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