Class FormRequirement
java.lang.Object
com.pixelmonmod.api.requirement.AbstractRequirement<Pokemon,PixelmonEntity,A>
  
com.pixelmonmod.api.pokemon.requirement.AbstractPokemonRequirement<String>
com.pixelmonmod.api.pokemon.requirement.AbstractStringPokemonRequirement
com.pixelmonmod.api.pokemon.requirement.impl.FormRequirement
- All Implemented Interfaces:
 Requirement<Pokemon,PixelmonEntity, String> 
- 
Field Summary
Fields inherited from class com.pixelmonmod.api.pokemon.requirement.AbstractStringPokemonRequirement
defaultValue, valueFields inherited from class com.pixelmonmod.api.requirement.AbstractRequirement
keys - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidApplies the parsed requirement to the datacreateInstance(String value) Creates a new instance of the requirement with the given valueintGets the order priority of the requirement.booleanisDataMatch(Pokemon pixelmon) If the data type matches the parsed requirementMethods inherited from class com.pixelmonmod.api.pokemon.requirement.AbstractStringPokemonRequirement
create, getValueMethods inherited from class com.pixelmonmod.api.pokemon.requirement.AbstractPokemonRequirement
applyMinecraft, isMinecraftMatchMethods inherited from class com.pixelmonmod.api.requirement.AbstractRequirement
create, fits, getAliasesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.api.requirement.Requirement
shouldContinue 
- 
Constructor Details
- 
FormRequirement
public FormRequirement() - 
FormRequirement
 
 - 
 - 
Method Details
- 
getPriority
public int getPriority()Description copied from interface:RequirementGets the order priority of the requirement. Higher number = higher priority (i.e. it is applied first)- Returns:
 - The priority
 
 - 
createInstance
Description copied from interface:RequirementCreates a new instance of the requirement with the given value- Parameters:
 value- The value- Returns:
 - The new requirement instance
 
 - 
isDataMatch
Description copied from interface:RequirementIf the data type matches the parsed requirement- Parameters:
 pixelmon- The data to check against- Returns:
 - True if a match
 
 - 
applyData
Description copied from interface:RequirementApplies the parsed requirement to the data- Parameters:
 pixelmon- The data
 
 -