public class NatureRequirement extends AbstractPokemonRequirement<Nature>
keys| Constructor and Description |
|---|
NatureRequirement() |
NatureRequirement(Nature nature) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyData(Pokemon pixelmon) |
Requirement<Pokemon,PixelmonEntity,Nature> |
createInstance(Nature value)
Creates a new instance of the requirement with the given value
|
java.util.List<Requirement<Pokemon,PixelmonEntity,?>> |
createSimple(java.lang.String key,
java.lang.String spec) |
Nature |
getValue()
Gets the internal value of the requirement
|
boolean |
isDataMatch(Pokemon pixelmon) |
applyMinecraft, isMinecraftMatchcreate, fits, getAliasesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriority, shouldContinuepublic NatureRequirement()
public NatureRequirement(Nature nature)
public java.util.List<Requirement<Pokemon,PixelmonEntity,?>> createSimple(java.lang.String key, java.lang.String spec)
createSimple in class AbstractPokemonRequirement<Nature>public Requirement<Pokemon,PixelmonEntity,Nature> createInstance(Nature value)
Requirementvalue - The valuepublic boolean isDataMatch(Pokemon pixelmon)
public void applyData(Pokemon pixelmon)
public Nature getValue()
Requirement