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