public class RibbonRequirement extends AbstractPokemonRequirement<java.util.List<EnumRibbonType>>
keys
Constructor and Description |
---|
RibbonRequirement() |
RibbonRequirement(java.util.List<EnumRibbonType> ribbons) |
Modifier and Type | Method and Description |
---|---|
void |
applyData(Pokemon pixelmon) |
Requirement<Pokemon,EntityPixelmon,java.util.List<EnumRibbonType>> |
createInstance(java.util.List<EnumRibbonType> value)
Creates a new instance of the requirement with the given value
|
java.util.List<Requirement<Pokemon,EntityPixelmon,?>> |
createSimple(java.lang.String key,
java.lang.String spec) |
java.util.List<EnumRibbonType> |
getValue()
Gets the internal value of the requirement
|
boolean |
isDataMatch(Pokemon pixelmon) |
applyMinecraft, isMinecraftMatch
create, fits, getAliases
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPriority, shouldContinue
public RibbonRequirement()
public RibbonRequirement(java.util.List<EnumRibbonType> ribbons)
public java.util.List<Requirement<Pokemon,EntityPixelmon,?>> createSimple(java.lang.String key, java.lang.String spec)
createSimple
in class AbstractPokemonRequirement<java.util.List<EnumRibbonType>>
public Requirement<Pokemon,EntityPixelmon,java.util.List<EnumRibbonType>> createInstance(java.util.List<EnumRibbonType> value)
Requirement
value
- The valuepublic boolean isDataMatch(Pokemon pixelmon)
public void applyData(Pokemon pixelmon)
public java.util.List<EnumRibbonType> getValue()
Requirement