public class LogicalOrRequirement extends AbstractRecursivePokemonRequirement
requirements
Constructor and Description |
---|
LogicalOrRequirement() |
LogicalOrRequirement(java.util.List<Requirement<Pokemon,EntityPixelmon,?>> requirements) |
Modifier and Type | Method and Description |
---|---|
void |
applyData(Pokemon pokemon) |
void |
applyMinecraft(EntityPixelmon entityPixelmon) |
Requirement<Pokemon,EntityPixelmon,java.util.List<Requirement<Pokemon,EntityPixelmon,?>>> |
createInstance(java.util.List<Requirement<Pokemon,EntityPixelmon,?>> value)
Creates a new instance of the requirement with the given value
|
boolean |
isDataMatch(Pokemon pokemon) |
boolean |
isMinecraftMatch(EntityPixelmon entityPixelmon) |
create, fits, getAliases, getPriority, getValue, shouldContinue
public LogicalOrRequirement()
public LogicalOrRequirement(java.util.List<Requirement<Pokemon,EntityPixelmon,?>> requirements)
public Requirement<Pokemon,EntityPixelmon,java.util.List<Requirement<Pokemon,EntityPixelmon,?>>> createInstance(java.util.List<Requirement<Pokemon,EntityPixelmon,?>> value)
Requirement
value
- The valuepublic boolean isDataMatch(Pokemon pokemon)
public boolean isMinecraftMatch(EntityPixelmon entityPixelmon)
public void applyData(Pokemon pokemon)
public void applyMinecraft(EntityPixelmon entityPixelmon)