public class AIRequirement extends AbstractPokemonRequirement<Aggression>
keys
Constructor and Description |
---|
AIRequirement() |
AIRequirement(Aggression aggression) |
Modifier and Type | Method and Description |
---|---|
void |
applyData(Pokemon pixelmon) |
void |
applyMinecraft(PixelmonEntity entityPixelmon) |
Requirement<Pokemon,PixelmonEntity,Aggression> |
createInstance(Aggression 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) |
Aggression |
getValue()
Gets the internal value of the requirement
|
boolean |
isDataMatch(Pokemon pixelmon) |
boolean |
isMinecraftMatch(PixelmonEntity entityPixelmon) |
create, fits, getAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPriority, shouldContinue
public AIRequirement()
public AIRequirement(Aggression aggression)
public java.util.List<Requirement<Pokemon,PixelmonEntity,?>> createSimple(java.lang.String key, java.lang.String spec)
createSimple
in class AbstractPokemonRequirement<Aggression>
public Requirement<Pokemon,PixelmonEntity,Aggression> createInstance(Aggression value)
Requirement
value
- The valuepublic boolean isDataMatch(Pokemon pixelmon)
public boolean isMinecraftMatch(PixelmonEntity entityPixelmon)
isMinecraftMatch
in interface Requirement<Pokemon,PixelmonEntity,Aggression>
isMinecraftMatch
in class AbstractPokemonRequirement<Aggression>
public void applyData(Pokemon pixelmon)
public void applyMinecraft(PixelmonEntity entityPixelmon)
applyMinecraft
in interface Requirement<Pokemon,PixelmonEntity,Aggression>
applyMinecraft
in class AbstractPokemonRequirement<Aggression>
public Aggression getValue()
Requirement