Class AnimatedRequirement
java.lang.Object
com.pixelmonmod.api.requirement.AbstractRequirement<Pokemon,StatueEntity,Boolean>
com.pixelmonmod.api.statue.requirement.AbstractStatueRequirement<Boolean>
com.pixelmonmod.api.statue.requirement.AbstractBooleanStatueRequirement
com.pixelmonmod.api.statue.requirement.impl.AnimatedRequirement
- All Implemented Interfaces:
Requirement<Pokemon,StatueEntity, Boolean>
-
Field Summary
Fields inherited from class com.pixelmonmod.api.statue.requirement.AbstractBooleanStatueRequirement
valueFields inherited from class com.pixelmonmod.api.requirement.AbstractRequirement
keys -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApplies the parsed requirement to the datavoidapplyMinecraft(StatueEntity entity) Applis the parsed requirement to the minecraft datacreateInstance(Boolean value) Creates a new instance of the requirement with the given valuebooleanisDataMatch(Pokemon pixelmon) If the data type matches the parsed requirementbooleanisMinecraftMatch(StatueEntity entity) If the minecraft type matches the parsed requirementMethods inherited from class com.pixelmonmod.api.statue.requirement.AbstractBooleanStatueRequirement
create, create, fits, getValue, parseBooleanMethods inherited from class com.pixelmonmod.api.requirement.AbstractRequirement
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
getPriority, shouldContinue
-
Constructor Details
-
AnimatedRequirement
public AnimatedRequirement() -
AnimatedRequirement
public AnimatedRequirement(boolean value)
-
-
Method Details
-
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
-
isMinecraftMatch
Description copied from interface:RequirementIf the minecraft type matches the parsed requirement- Specified by:
isMinecraftMatchin interfaceRequirement<Pokemon,StatueEntity, Boolean> - Overrides:
isMinecraftMatchin classAbstractStatueRequirement<Boolean>- Parameters:
entity- The minecraft data to check against- Returns:
- True if a match
-
applyMinecraft
Description copied from interface:RequirementApplis the parsed requirement to the minecraft data- Specified by:
applyMinecraftin interfaceRequirement<Pokemon,StatueEntity, Boolean> - Overrides:
applyMinecraftin classAbstractStatueRequirement<Boolean>- Parameters:
entity- The minecraft data
-