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