public class BossRequirement extends AbstractIntegerPokemonRequirement
defaultValue, value
keys
Constructor and Description |
---|
BossRequirement() |
BossRequirement(int value) |
Modifier and Type | Method and Description |
---|---|
void |
applyData(Pokemon pokemon) |
void |
applyMinecraft(EntityPixelmon entityPixelmon) |
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) |
boolean |
isMinecraftMatch(EntityPixelmon entityPixelmon) |
createSimple, getValue
create, fits, getAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPriority, shouldContinue
public BossRequirement()
public BossRequirement(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 pokemon)
public boolean isMinecraftMatch(EntityPixelmon entityPixelmon)
isMinecraftMatch
in interface Requirement<Pokemon,EntityPixelmon,java.lang.Integer>
isMinecraftMatch
in class AbstractPokemonRequirement<java.lang.Integer>
public void applyMinecraft(EntityPixelmon entityPixelmon)
applyMinecraft
in interface Requirement<Pokemon,EntityPixelmon,java.lang.Integer>
applyMinecraft
in class AbstractPokemonRequirement<java.lang.Integer>