Enum Class StatusType

java.lang.Object
java.lang.Enum<StatusType>
com.pixelmonmod.pixelmon.battles.status.StatusType
All Implemented Interfaces:
ITranslatable, Serializable, Comparable<StatusType>, Constable

public enum StatusType extends Enum<StatusType> implements ITranslatable
Enum representations of all statuses.
  • Enum Constant Details

    • Burn

      public static final StatusType Burn
    • Confusion

      public static final StatusType Confusion
    • Cursed

      public static final StatusType Cursed
    • Infatuated

      public static final StatusType Infatuated
    • Flee

      public static final StatusType Flee
    • Flinch

      public static final StatusType Flinch
    • Flying

      public static final StatusType Flying
    • Freeze

      public static final StatusType Freeze
    • Leech

      public static final StatusType Leech
    • LightScreen

      public static final StatusType LightScreen
    • Mist

      public static final StatusType Mist
    • Paralysis

      public static final StatusType Paralysis
    • Poison

      public static final StatusType Poison
    • PoisonBadly

      public static final StatusType PoisonBadly
    • Protect

      public static final StatusType Protect
    • SafeGuard

      public static final StatusType SafeGuard
    • Sleep

      public static final StatusType Sleep
    • SmackedDown

      public static final StatusType SmackedDown
    • Substitute

      public static final StatusType Substitute
    • Sunny

      public static final StatusType Sunny
    • Wait

      public static final StatusType Wait
    • TrickRoom

      public static final StatusType TrickRoom
    • Perish

      public static final StatusType Perish
    • Yawn

      public static final StatusType Yawn
    • Disable

      public static final StatusType Disable
    • Immobilize

      public static final StatusType Immobilize
    • Recharge

      public static final StatusType Recharge
    • AquaRing

      public static final StatusType AquaRing
    • UnderGround

      public static final StatusType UnderGround
    • Transformed

      public static final StatusType Transformed
    • MeanLook

      public static final StatusType MeanLook
    • NoRetreat

      public static final StatusType NoRetreat
    • FutureSight

      public static final StatusType FutureSight
    • MagnetRise

      public static final StatusType MagnetRise
    • Spikes

      public static final StatusType Spikes
    • ToxicSpikes

      public static final StatusType ToxicSpikes
    • StealthRock

      public static final StatusType StealthRock
    • Steelsurge

      public static final StatusType Steelsurge
    • PartialTrap

      public static final StatusType PartialTrap
    • GMaxRepeatDamage

      public static final StatusType GMaxRepeatDamage
    • Reflect

      public static final StatusType Reflect
    • Submerged

      public static final StatusType Submerged
    • Raging

      public static final StatusType Raging
    • Telekinesis

      public static final StatusType Telekinesis
    • Tailwind

      public static final StatusType Tailwind
    • DestinyBond

      public static final StatusType DestinyBond
    • Taunt

      public static final StatusType Taunt
    • TempMoveset

      public static final StatusType TempMoveset
    • HealingWish

      public static final StatusType HealingWish
    • Roosting

      public static final StatusType Roosting
    • Wish

      public static final StatusType Wish
    • Encore

      public static final StatusType Encore
    • Focus

      public static final StatusType Focus
    • MagicCoat

      public static final StatusType MagicCoat
    • Ingrain

      public static final StatusType Ingrain
    • Stockpile

      public static final StatusType Stockpile
    • Snatch

      public static final StatusType Snatch
    • Minimize

      public static final StatusType Minimize
    • Gravity

      public static final StatusType Gravity
    • Hail

      public static final StatusType Hail
    • Rainy

      public static final StatusType Rainy
    • Sandstorm

      public static final StatusType Sandstorm
    • Torment

      public static final StatusType Torment
    • Foresight

      public static final StatusType Foresight
    • GastroAcid

      public static final StatusType GastroAcid
    • GuardSplit

      public static final StatusType GuardSplit
    • PowerSplit

      public static final StatusType PowerSplit
    • WonderRoom

      public static final StatusType WonderRoom
    • LockOn

      public static final StatusType LockOn
    • GlaiveRush

      public static final StatusType GlaiveRush
    • Endure

      public static final StatusType Endure
    • WideGuard

      public static final StatusType WideGuard
    • Charge

      public static final StatusType Charge
    • Nightmare

      public static final StatusType Nightmare
    • MeFirst

      public static final StatusType MeFirst
    • PowerTrick

      public static final StatusType PowerTrick
    • Autotomize

      public static final StatusType Autotomize
    • DefenseCurl

      public static final StatusType DefenseCurl
    • SkyDropping

      public static final StatusType SkyDropping
    • SkyDropped

      public static final StatusType SkyDropped
    • FollowMe

      public static final StatusType FollowMe
    • Imprison

      public static final StatusType Imprison
    • HealBlock

      public static final StatusType HealBlock
    • MudSport

      public static final StatusType MudSport
    • WaterSport

      public static final StatusType WaterSport
    • FirePledge

      public static final StatusType FirePledge
    • GrassPledge

      public static final StatusType GrassPledge
    • WaterPledge

      public static final StatusType WaterPledge
    • HelpingHand

      public static final StatusType HelpingHand
    • QuickGuard

      public static final StatusType QuickGuard
    • Embargo

      public static final StatusType Embargo
    • Grudge

      public static final StatusType Grudge
    • LuckyChant

      public static final StatusType LuckyChant
    • MagicRoom

      public static final StatusType MagicRoom
    • LunarDance

      public static final StatusType LunarDance
    • Vanish

      public static final StatusType Vanish
    • MultiTurn

      public static final StatusType MultiTurn
    • Bide

      public static final StatusType Bide
    • Uproar

      public static final StatusType Uproar
    • EchoedVoice

      public static final StatusType EchoedVoice
    • FuryCutter

      public static final StatusType FuryCutter
    • DarkAura

      public static final StatusType DarkAura
    • FairyAura

      public static final StatusType FairyAura
    • CraftyShield

      public static final StatusType CraftyShield
    • None

      public static final StatusType None
    • ElectricTerrain

      public static final StatusType ElectricTerrain
    • Electrify

      public static final StatusType Electrify
    • FairyLock

      public static final StatusType FairyLock
    • GrassyTerrain

      public static final StatusType GrassyTerrain
    • IonDeluge

      public static final StatusType IonDeluge
    • KingsShield

      public static final StatusType KingsShield
    • BanefulBunker

      public static final StatusType BanefulBunker
    • MatBlock

      public static final StatusType MatBlock
    • MistyTerrain

      public static final StatusType MistyTerrain
    • Powder

      public static final StatusType Powder
    • SpikyShield

      public static final StatusType SpikyShield
    • StickyWeb

      public static final StatusType StickyWeb
    • PsychicTerrain

      public static final StatusType PsychicTerrain
    • MysteriousAirCurrent

      public static final StatusType MysteriousAirCurrent
    • AuroraVeil

      public static final StatusType AuroraVeil
    • BeakBlast

      public static final StatusType BeakBlast
    • SpeedSwap

      public static final StatusType SpeedSwap
    • TarShot

      public static final StatusType TarShot
    • ShellTrap

      public static final StatusType ShellTrap
    • ThroatChop

      public static final StatusType ThroatChop
    • MaxGuard

      public static final StatusType MaxGuard
    • Obstruct

      public static final StatusType Obstruct
    • LaserFocus

      public static final StatusType LaserFocus
    • Frostbite

      public static final StatusType Frostbite
    • Drowsy

      public static final StatusType Drowsy
    • Splinters

      public static final StatusType Splinters
    • Obscured

      public static final StatusType Obscured
    • LunarBlessing

      public static final StatusType LunarBlessing
    • PowerShift

      public static final StatusType PowerShift
    • Fixated

      public static final StatusType Fixated
    • SpringtideStorm

      public static final StatusType SpringtideStorm
    • SaltCure

      public static final StatusType SaltCure
    • BerryEaten

      public static final StatusType BerryEaten
    • Commanded

      public static final StatusType Commanded
    • InMouth

      public static final StatusType InMouth
    • ParadoxBoost

      public static final StatusType ParadoxBoost
    • SilkTrap

      public static final StatusType SilkTrap
    • StoredBoosts

      public static final StatusType StoredBoosts
    • StoredBoostsTargeted

      public static final StatusType StoredBoostsTargeted
    • Overlord

      public static final StatusType Overlord
    • Snow

      public static final StatusType Snow
    • OfRuinTracker

      public static final StatusType OfRuinTracker
    • MoveOrderModifier

      public static final StatusType MoveOrderModifier
    • InPursuit

      public static final StatusType InPursuit
    • SyrupBomb

      public static final StatusType SyrupBomb
    • BurningBulwark

      public static final StatusType BurningBulwark
    • ZPowerHeal

      public static final StatusType ZPowerHeal
    • ChiStrike

      public static final StatusType ChiStrike
    • Pumped

      public static final StatusType Pumped
  • Method Details

    • values

      public static StatusType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StatusType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isStatus

      public boolean isStatus(StatusType... statuses)
      Checks if the status is one of a list of statuses.
      Parameters:
      statuses - The list of statuses to compare this status against.
      Returns:
      Whether the status is one of a list of statuses.
    • getStatusEffect

      public static StatusType getStatusEffect(String string)
      Gets a status enum from a string.
      Parameters:
      string - The string to match to an enum.
      Returns:
      The found status enum, or null if it is not found.
    • isStatusEffect

      public static boolean isStatusEffect(String string)
      Determines if the string has a status type associated with it.
      Parameters:
      string - The string to match to an enum.
      Returns:
      Whether the string has a status type associated with it.
    • getEffect

      public static StatusType getEffect(int integer)
      Gets a status from its enum index.
      Parameters:
      integer - The index of the enum.
      Returns:
      The status associated with the index, or null if the index is out of bounds.
    • getEffectInstance

      public static StatusPersist getEffectInstance(int integer)
      Gets a non-volatile status from its enum index.
      Parameters:
      integer - The index of the enum.
      Returns:
      The non-volatile status associated with the index, or null if the index doesn't map to one.
    • isPrimaryStatus

      public static boolean isPrimaryStatus(StatusType status)
      Determines whether the status is a non-volatile status.
      Parameters:
      status - The status to check.
      Returns:
      Whether the status is a non-volatile status.
    • isPrimaryStatus

      public boolean isPrimaryStatus()
      Determines whether the status is a non-volatile status.
      Returns:
      Whether the status is a non-volatile status.
    • getTexturePos

      public static float[] getTexturePos(StatusType type)
      Determines the position of the status indicator's texture.
      Parameters:
      type - The status to find a position for.
      Returns:
      The position of the status, or {-1, -1} if the status is volatile.
    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface ITranslatable
    • getColor

      public static int getColor(StatusType statusType)
      Returns the color of the type relevant to this type of status.
      Returns:
      The color of the status condition's image.