Enum AnimationHandlerType
java.lang.Object
java.lang.Enum<AnimationHandlerType>
de.marcely.bedwars.api.cosmetics.animation.AnimationHandlerType
- All Implemented Interfaces:
Serializable,Comparable<AnimationHandlerType>,java.lang.constant.Constable
Represents an implementation variant for one of an animation's handler.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChanges a single block at the beginning and then increasingly gets bigger like a virus.Represents a custom handler added using the API.Wraps another handler and plays it after a defined while.Displays a hologram with custom text.Spawn a bunch of entities in an explosion-like matter.Spawns an entity and makes it fly up or to a specified direction like a rocket.Spawns a head and makes it fly like a rocket.Spawns many NPCs in the radious of the player that perform a certain activity.Spawns particles that look like a cone.Displays an actual image as colored particles.Plays particles that move from position A to position B.Plays particles that form text.Places a block.Spawns an entity and makes the player ride it.Spawns one or multiple entities.Spawns one or multiple particles.Plays a sound once or repeatedly.Changes the time of the world.Change the current weather of the world. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable AnimationHandlerTypeTries to obtain the type given by a config-friendly name.static AnimationHandlerTypeReturns the enum constant of this type with the specified name.static AnimationHandlerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DELAYED
Wraps another handler and plays it after a defined while. -
SIMPLE_PARTICLE
Spawns one or multiple particles. -
SIMPLE_ENTITY
Spawns one or multiple entities. -
SOUND
Plays a sound once or repeatedly. -
PLACE_BLOCK
Places a block. -
DISPLAY_HOLOGRAM
Displays a hologram with custom text. -
ENTITY_EXPLOSION
Spawn a bunch of entities in an explosion-like matter. -
RIDE_ENTITY
Spawns an entity and makes the player ride it. -
ENTITY_FLYING
Spawns an entity and makes it fly up or to a specified direction like a rocket. -
FLYING_HEAD
Spawns a head and makes it fly like a rocket. -
PARTICLE_MOVEMENT
Plays particles that move from position A to position B. -
PARTICLE_CONE
Spawns particles that look like a cone. -
WORLD_TIME
Changes the time of the world. -
WORLD_WEATHER
Change the current weather of the world. -
BLOCKS_VIRUS
Changes a single block at the beginning and then increasingly gets bigger like a virus. -
PARTICLE_TEXT
Plays particles that form text. -
PARTICLE_IMAGE
Displays an actual image as colored particles. Used for glyphs. -
NPC_PARTY
Spawns many NPCs in the radious of the player that perform a certain activity. -
CUSTOM
Represents a custom handler added using the API.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getByName
Tries to obtain the type given by a config-friendly name.- Parameters:
name- The name used for the matching- Returns:
- The found type. May be
nullif none was found
-