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