public enum Animation extends java.lang.Enum<Animation>
Modifier and Type | Class and Description |
---|---|
static class |
Animation.Type
The animation type.
|
Modifier and Type | Method and Description |
---|---|
static Animation |
getAnimation(int id)
Gets an animation by its id (ordinal value).
|
static Animation |
getAnimationByRawName(java.lang.String rawName)
Gets an animation by its raw (internal) name.
|
float |
getBlendTime() |
int[] |
getData()
Used internally.
|
static Animation |
getDefaultAnimation()
Gets the default idle animation.
|
java.lang.String |
getRawName()
Gets the internal animation name.
|
Animation |
getReplacement()
Gets the replacement animation, i.e. the animation which will be played instead
in 3rd person view (as well as for other players).
|
float |
getSpeed()
Gets the speed at which this animation is played.
|
Animation.Type |
getType()
Gets the animation type.
|
boolean |
isLoop()
Gets whether or not this is a loop animation.
|
void |
setData(int[] data)
Used internally.
|
static Animation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Animation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Animation TPose
public static final Animation WalkForward
public static final Animation WalkForward2
public static final Animation WalkBackward
public static final Animation WalkRight
public static final Animation WalkLeft
public static final Animation StrafeRight
public static final Animation StrafeLeft
public static final Animation RunForward
public static final Animation RunForward2
public static final Animation RunForward3
public static final Animation RunRight
public static final Animation RunLeft
public static final Animation RunJump
public static final Animation Jump
public static final Animation CrouchIdle1
public static final Animation CrouchIdle2
public static final Animation CrouchWalkForward
public static final Animation CrouchWalkForward2
public static final Animation CrouchWalkBackward
public static final Animation CrouchWalkRight
public static final Animation CrouchWalkLeft
public static final Animation Idle1
public static final Animation Idle2
public static final Animation Idle3
public static final Animation Idle4
public static final Animation SitChair
public static final Animation SleepIdle
public static final Animation Eat
public static final Animation EatIdle
public static final Animation Interaction1
public static final Animation Swim
public static final Animation SwimIdle
public static final Animation GetHit1
public static final Animation GetHit2
public static final Animation WaterDeathIdle
public static final Animation Death
public static final Animation DeathIdle
public static final Animation Punch1
public static final Animation Punch2
public static final Animation Weapon1HandHit1
public static final Animation Weapon1HandHit2
public static final Animation Weapon1HandHit3
public static final Animation Weapon1HandHit1S
public static final Animation Weapon1HandHit2S
public static final Animation Weapon1HandHit3S
public static final Animation Weapon1HandIdle
public static final Animation Weapon2HandHit1
public static final Animation Weapon2HandHit2
public static final Animation Weapon2HandHit3
public static final Animation Weapon2HandIdle
public static final Animation Sickle
public static final Animation Shovel
public static final Animation ShovelIdle
public static final Animation Rake
public static final Animation RakeIdle
public static final Animation Scythe
public static final Animation ScytheIdle
public static final Animation Scythe2
public static final Animation Scythe2Idle
public static final Animation Pickaxe1
public static final Animation Pickaxe1Idle
public static final Animation Pickaxe2
public static final Animation Pickaxe2Idle
public static final Animation Axe
public static final Animation AxeIdle
public static final Animation AxePrimitive
public static final Animation AxePrimitiveIdle
public static final Animation BowTakeArrow
public static final Animation BowLoad
public static final Animation BowIdle
public static final Animation BowIdle2
public static final Animation BowIdle3
public static final Animation BowFire
public static final Animation Bow2TakeArrow
public static final Animation Bow2Load
public static final Animation Bow2Idle
public static final Animation Bow2Idle2
public static final Animation Bow2Idle3
public static final Animation Bow2Fire
public static final Animation CrossbowReload
public static final Animation CrossbowIdle
public static final Animation CrossbowAim
public static final Animation CrossbowAim2
public static final Animation CrossbowFire
public static final Animation SpearIdle
public static final Animation SpearThrow
public static final Animation RevolverIdle
public static final Animation RevolverIdle2
public static final Animation RevolverAim
public static final Animation RevolverFire
public static final Animation RevolverReload
public static final Animation MusketIdle
public static final Animation MusketIdle2
public static final Animation MusketLoad
public static final Animation MusketAim
public static final Animation MusketFire
public static final Animation MusketReload
public static final Animation HarpoonIdle
public static final Animation HarpoonAim
public static final Animation HarpoonFire
public static final Animation HarpoonReload
public static final Animation M14Aim
public static final Animation M14Idle
public static final Animation M14IdleEmpty
public static final Animation M14Fire
public static final Animation M14FireEmpty
public static final Animation M14Reload
public static final Animation RepeaterAim
public static final Animation RepeaterIdle
public static final Animation RepeaterFire
public static final Animation RepeaterFire2
public static final Animation RepeaterLoad
public static final Animation RepeaterReload
public static final Animation CannonIdle1
public static final Animation CannonIdle2
public static final Animation CannonFire1
public static final Animation CannonFire2
public static final Animation ChainsawIdle
public static final Animation ChainsawIdle2
public static final Animation ChainsawIdle3
public static final Animation ChainsawIdle4
public static final Animation ChainsawStart
public static final Animation ChainsawTakeup
public static final Animation ChainsawSawStart
public static final Animation ChainsawSaw
public static final Animation ChainsawSaw2
public static final Animation ChainsawTurnoff
public static final Animation MiningdrillIdle
public static final Animation MiningdrillStart
public static final Animation MiningdrillDrill
public static final Animation MiningdrillTurnoff
public static final Animation TrimmerIdle
public static final Animation TrimmerStart
public static final Animation TrimmerCut
public static final Animation TrimmerTurnoff
public static final Animation MowerIdle
public static final Animation WateringcanIdle
public static final Animation WateringcanFill
public static final Animation WateringcanSpill
public static final Animation WateringcanSpillIdle
public static final Animation HoldTorch
public static final Animation HoldLantern
public static final Animation HoldFlashlight
public static final Animation HoldMiscL
public static final Animation CrowbarIdle1
public static final Animation CrowbarIdle2
public static final Animation CrowbarUse
public static final Animation CrowbarUse2
public static final Animation CrowbarHit
public static final Animation BucketIdle
public static final Animation BucketFill
public static final Animation BucketEmpty
public static final Animation JerrycanIdle
public static final Animation JerrycanEmpty
public static final Animation CanteenIdle1
public static final Animation CanteenIdle2
public static final Animation CanteenOpen
public static final Animation CanteenDrink
public static final Animation CanteenDrink2
public static final Animation CanteenClose
public static final Animation CanteenFill
public static final Animation WaterskinIdle1
public static final Animation WaterskinIdle2
public static final Animation WaterskinOpen
public static final Animation WaterskinDrink
public static final Animation WaterskinDrink2
public static final Animation WaterskinClose
public static final Animation WaterskinFill
public static final Animation WrenchIdle
public static final Animation WrenchTakeup
public static final Animation WrenchUse
public static final Animation WrenchTakedown
public static final Animation RatchetIdle
public static final Animation RatchetTakeup
public static final Animation RatchetUse
public static final Animation RatchetTakedown
public static final Animation ShearsIdle
public static final Animation ShearsUse
public static final Animation TelescopeIdle
public static final Animation TelescopeOpen
public static final Animation TelescopeLook
public static final Animation TelescopeClose
public static final Animation BinocularIdle
public static final Animation BinocularTakeup
public static final Animation BinocularLook
public static final Animation BinocularTakedown
public static final Animation CompassIdle
public static final Animation CompassTakeup
public static final Animation CompassTakedown
public static final Animation MapIdle
public static final Animation MapTakeup
public static final Animation MapTakedown
public static final Animation FiresteelTakeup
public static final Animation FiresteelUse
public static final Animation FiresteelTakedown
public static final Animation DynamiteIdle1
public static final Animation DynamiteIdle2
public static final Animation DynamiteFuse1
public static final Animation DynamiteFuse2
public static final Animation DynamiteThrow
public static final Animation MultimeterIdle
public static final Animation FishingIdle1
public static final Animation FishingIdle2
public static final Animation FishingIdle3
public static final Animation FishingIdle4
public static final Animation FishingThrow1
public static final Animation FishingThrow2
public static final Animation FishingPullout1
public static final Animation FishingCatch
public static final Animation HoldPelt1
public static final Animation HoldPelt2
public static final Animation HoldPelt3
public static final Animation HoldOreDetector
public static final Animation TanningIdle
public static final Animation Tanning
public static final Animation KnifeIdle
public static final Animation KnifeHit1
public static final Animation BoatIdle1
public static final Animation BoatIdle2
public static final Animation BoatIdle3
public static final Animation BoatIdle4
public static final Animation BoatStartPaddling
public static final Animation BoatPaddle
public static final Animation RIBIdle1
public static final Animation RIBIdle2
public static final Animation RIBIdle3
public static final Animation RIBIdle4
public static final Animation RIBDrive
public static final Animation RIBSteerRight
public static final Animation RIBSteerRightIdle
public static final Animation RIBSteerRightB
public static final Animation RIBSteerLeft
public static final Animation RIBSteerLeftIdle
public static final Animation RIBSteerLefttB
public static final Animation HorseTPose
public static final Animation HorseWalk
public static final Animation HorseRun
public static final Animation HorseTrot
public static final Animation HorseGallop
public static final Animation HorseJump
public static final Animation HorseFalling
public static final Animation HorseDeath
public static final Animation HorseDeathIdle
public static final Animation HorseEat
public static final Animation HorseIdle
public static final Animation HorseSwimming
public static final Animation HorseSwimmingIdle
public static final Animation HorseSleep
public static final Animation HorseRearUp
public static final Animation DonkeyTPose
public static final Animation DonkeyWalk
public static final Animation DonkeyRun
public static final Animation DonkeyTrot
public static final Animation DonkeyGallop
public static final Animation DonkeyJump
public static final Animation DonkeyFalling
public static final Animation DonkeyDeath
public static final Animation DonkeyDeathIdle
public static final Animation DonkeyEat
public static final Animation DonkeyIdle
public static final Animation DonkeySwimming
public static final Animation DonkeySwimmingIdle
public static final Animation DonkeySleep
public static final Animation CamelTPose
public static final Animation CamelWalk
public static final Animation CamelRun
public static final Animation CamelTrot
public static final Animation CamelGallop
public static final Animation CamelJump
public static final Animation CamelFalling
public static final Animation CamelDeath
public static final Animation CamelDeathIdle
public static final Animation CamelEat
public static final Animation CamelIdle
public static final Animation CamelSwimming
public static final Animation CamelSwimmingIdle
public static final Animation CamelSleep
public static final Animation Gesture1
public static final Animation Gesture2
public static final Animation Gesture3
public static final Animation Gesture4
public static final Animation Gesture5
public static final Animation Gesture6
public static final Animation Gesture7
public static final Animation AnimalTPose
public static final Animation AnimalWalkForward
public static final Animation AnimalWalkForward2
public static final Animation AnimalWalkForward3
public static final Animation AnimalWalkForward4
public static final Animation AnimalWalkBackward
public static final Animation AnimalWalkRight
public static final Animation AnimalWalkLeft
public static final Animation AnimalRunForward
public static final Animation AnimalRunForward2
public static final Animation AnimalRunForward3
public static final Animation AnimalIdle1
public static final Animation AnimalIdle2
public static final Animation AnimalIdle3
public static final Animation AnimalEat
public static final Animation AnimalSwim
public static final Animation AnimalDeath
public static final Animation AnimalSleepIdle
public static final Animation AnimalSleepIdle2
public static final Animation AnimalAttack1
public static final Animation AnimalAttack2
public static final Animation AnimalAttack3
public static final Animation AnimalRoar
public static final Animation AnimalSurprised
public static Animation[] values()
for (Animation c : Animation.values()) System.out.println(c);
public static Animation 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 Animation.Type getType()
public java.lang.String getRawName()
public void setData(int[] data)
data
- animation data.public int[] getData()
public float getSpeed()
public float getBlendTime()
public boolean isLoop()
public Animation getReplacement()
public static Animation getDefaultAnimation()
public static Animation getAnimation(int id)
id
- the id/ordinal of the animationlAnimation
, or null if no related animation was found.public static Animation getAnimationByRawName(java.lang.String rawName)
rawName
- the internal raw name of the animation.Animation
, or null if no related animation was found.