public enum StatusType extends java.lang.Enum<StatusType> implements ITranslatable
Modifier and Type | Method and Description |
---|---|
static StatusType |
getEffect(int integer)
Gets a status from its enum index.
|
static StatusPersist |
getEffectInstance(int integer)
Gets a non-volatile status from its enum index.
|
static StatusType |
getStatusEffect(java.lang.String string)
Gets a status enum from a string.
|
static float[] |
getTexturePos(StatusType type)
Determines the position of the status indicator's texture.
|
java.lang.String |
getTranslationKey() |
boolean |
isPrimaryStatus()
Determines whether the status is a non-volatile status.
|
static boolean |
isPrimaryStatus(StatusType status)
Determines whether the status is a non-volatile status.
|
boolean |
isStatus(StatusType... statuses)
Checks if the status is one of a list of statuses.
|
static boolean |
isStatusEffect(java.lang.String string)
Determines if the string has a status type associated with it.
|
static StatusType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getLocalizedName, getTranslatedName
public static final StatusType Burn
public static final StatusType Confusion
public static final StatusType Cursed
public static final StatusType Infatuated
public static final StatusType Flee
public static final StatusType Flinch
public static final StatusType Flying
public static final StatusType Freeze
public static final StatusType Leech
public static final StatusType LightScreen
public static final StatusType Mist
public static final StatusType Paralysis
public static final StatusType Poison
public static final StatusType PoisonBadly
public static final StatusType Protect
public static final StatusType SafeGuard
public static final StatusType Sleep
public static final StatusType SmackedDown
public static final StatusType Substitute
public static final StatusType Sunny
public static final StatusType Wait
public static final StatusType TrickRoom
public static final StatusType Perish
public static final StatusType Yawn
public static final StatusType Disable
public static final StatusType Immobilize
public static final StatusType Recharge
public static final StatusType AquaRing
public static final StatusType UnderGround
public static final StatusType Transformed
public static final StatusType MeanLook
public static final StatusType NoRetreat
public static final StatusType FutureSight
public static final StatusType MagnetRise
public static final StatusType Spikes
public static final StatusType ToxicSpikes
public static final StatusType StealthRock
public static final StatusType Steelsurge
public static final StatusType PartialTrap
public static final StatusType GMaxRepeatDamage
public static final StatusType Reflect
public static final StatusType Submerged
public static final StatusType Raging
public static final StatusType Telekinesis
public static final StatusType Tailwind
public static final StatusType DestinyBond
public static final StatusType Taunt
public static final StatusType TempMoveset
public static final StatusType HealingWish
public static final StatusType Roosting
public static final StatusType Wish
public static final StatusType Encore
public static final StatusType Focus
public static final StatusType MagicCoat
public static final StatusType Ingrain
public static final StatusType Stockpile
public static final StatusType Snatch
public static final StatusType Minimize
public static final StatusType Gravity
public static final StatusType Hail
public static final StatusType Rainy
public static final StatusType Sandstorm
public static final StatusType Torment
public static final StatusType Foresight
public static final StatusType GastroAcid
public static final StatusType GuardSplit
public static final StatusType PowerSplit
public static final StatusType WonderRoom
public static final StatusType LockOn
public static final StatusType GlaiveRush
public static final StatusType Endure
public static final StatusType WideGuard
public static final StatusType Charge
public static final StatusType Nightmare
public static final StatusType MeFirst
public static final StatusType PowerTrick
public static final StatusType Autotomize
public static final StatusType DefenseCurl
public static final StatusType SkyDropping
public static final StatusType SkyDropped
public static final StatusType FollowMe
public static final StatusType Imprison
public static final StatusType HealBlock
public static final StatusType MudSport
public static final StatusType WaterSport
public static final StatusType FirePledge
public static final StatusType GrassPledge
public static final StatusType WaterPledge
public static final StatusType HelpingHand
public static final StatusType QuickGuard
public static final StatusType Embargo
public static final StatusType Grudge
public static final StatusType LuckyChant
public static final StatusType MagicRoom
public static final StatusType LunarDance
public static final StatusType Vanish
public static final StatusType MultiTurn
public static final StatusType Bide
public static final StatusType Uproar
public static final StatusType EchoedVoice
public static final StatusType FuryCutter
public static final StatusType DarkAura
public static final StatusType FairyAura
public static final StatusType CraftyShield
public static final StatusType None
public static final StatusType ElectricTerrain
public static final StatusType Electrify
public static final StatusType FairyLock
public static final StatusType GrassyTerrain
public static final StatusType IonDeluge
public static final StatusType KingsShield
public static final StatusType BanefulBunker
public static final StatusType MatBlock
public static final StatusType MistyTerrain
public static final StatusType Powder
public static final StatusType SpikyShield
public static final StatusType StickyWeb
public static final StatusType PsychicTerrain
public static final StatusType MysteriousAirCurrent
public static final StatusType AuroraVeil
public static final StatusType BeakBlast
public static final StatusType SpeedSwap
public static final StatusType TarShot
public static final StatusType ShellTrap
public static final StatusType CorrosiveGas
public static final StatusType ThroatChop
public static final StatusType MaxGuard
public static final StatusType Obstruct
public static final StatusType LaserFocus
public static final StatusType Frostbite
public static final StatusType Drowsy
public static final StatusType Splinters
public static final StatusType Obscured
public static final StatusType LunarBlessing
public static final StatusType PowerShift
public static final StatusType Fixated
public static final StatusType SpringtideStorm
public static final StatusType SaltCure
public static final StatusType BerryEaten
public static final StatusType Commanded
public static final StatusType InMouth
public static final StatusType ParadoxBoost
public static final StatusType SilkTrap
public static final StatusType StoredBoosts
public static final StatusType StoredBoostsTargeted
public static final StatusType Overlord
public static final StatusType Snow
public static StatusType[] values()
for (StatusType c : StatusType.values()) System.out.println(c);
public static StatusType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isStatus(StatusType... statuses)
statuses
- The list of statuses to compare this status against.public static StatusType getStatusEffect(java.lang.String string)
string
- The string to match to an enum.public static boolean isStatusEffect(java.lang.String string)
string
- The string to match to an enum.public static StatusType getEffect(int integer)
integer
- The index of the enum.public static StatusPersist getEffectInstance(int integer)
integer
- The index of the enum.public static boolean isPrimaryStatus(StatusType status)
status
- The status to check.public boolean isPrimaryStatus()
public static float[] getTexturePos(StatusType type)
type
- The status to find a position for.public java.lang.String getTranslationKey()
getTranslationKey
in interface ITranslatable