Class RainbowShaderRequirement
java.lang.Object
com.pixelmonmod.api.requirement.AbstractRequirement<Pokemon,PixelmonEntity,A>
com.pixelmonmod.api.pokemon.requirement.AbstractPokemonRequirement<Boolean>
com.pixelmonmod.api.pokemon.requirement.AbstractBooleanPokemonRequirement
com.pixelmonmod.api.pokemon.requirement.impl.shader.RainbowShaderRequirement
- All Implemented Interfaces:
Requirement<Pokemon,
PixelmonEntity, Boolean>
-
Field Summary
Fields inherited from class com.pixelmonmod.api.pokemon.requirement.AbstractBooleanPokemonRequirement
value
Fields inherited from class com.pixelmonmod.api.requirement.AbstractRequirement
keys
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Applies the parsed requirement to the datavoid
applyMinecraft
(PixelmonEntity entity) Applis the parsed requirement to the minecraft datacreateInstance
(Boolean value) Creates a new instance of the requirement with the given valueboolean
isDataMatch
(Pokemon pixelmon) If the data type matches the parsed requirementMethods inherited from class com.pixelmonmod.api.pokemon.requirement.AbstractBooleanPokemonRequirement
create, create, fits, getValue, parseBoolean
Methods inherited from class com.pixelmonmod.api.pokemon.requirement.AbstractPokemonRequirement
isMinecraftMatch
Methods inherited from class com.pixelmonmod.api.requirement.AbstractRequirement
getAliases
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.pixelmonmod.api.requirement.Requirement
getPriority, shouldContinue
-
Constructor Details
-
RainbowShaderRequirement
public RainbowShaderRequirement() -
RainbowShaderRequirement
public RainbowShaderRequirement(boolean value)
-
-
Method Details
-
createInstance
Description copied from interface:Requirement
Creates a new instance of the requirement with the given value- Parameters:
value
- The value- Returns:
- The new requirement instance
-
isDataMatch
Description copied from interface:Requirement
If the data type matches the parsed requirement- Parameters:
pixelmon
- The data to check against- Returns:
- True if a match
-
applyData
Description copied from interface:Requirement
Applies the parsed requirement to the data- Parameters:
pixelmon
- The data
-
applyMinecraft
Description copied from interface:Requirement
Applis the parsed requirement to the minecraft data- Specified by:
applyMinecraft
in interfaceRequirement<Pokemon,
PixelmonEntity, Boolean> - Overrides:
applyMinecraft
in classAbstractPokemonRequirement<Boolean>
- Parameters:
entity
- The minecraft data
-