Class AbstractBooleanPokemonRequirement

All Implemented Interfaces:
Requirement<Pokemon,PixelmonEntity,Boolean>
Direct Known Subclasses:
BlackAndWhiteShaderRequirement, CanMegaEvolveRequirement, CelShaderRequirement, CrownedRequirement, EggRequirement, GigantamaxFactorRequirement, HiddenAbilityRequirement, IsBossRequirement, LegendaryRequirement, NoDropsRequirement, PrimalEvolutionRequirement, RainbowShaderRequirement, ResetEVsRequirement, ResetIVsRequirement, ShinyRequirement, ShornRequirement, UltraBeastRequirement, UltraBurstRequirement, UnbattleableRequirement, UnbreedableRequirement, UncatchableRequirement, UndexableRequirement, UntradeableRequirement, WildRequirement

public abstract class AbstractBooleanPokemonRequirement extends AbstractPokemonRequirement<Boolean>
Basic abstract implementation for specs following the basic implementation that have a boolean value so that boolean specs are handled consistently.
All boolean specs extending this class can be matched using the following formats:
> "spec" - defaults to true > "!spec" - becomes false > "!spec:true" - false > "spec:true" - true > "spec:false" - false > "spec:1" - true > "spec:0" - false
The "!" inverts the value on any boolean spec.