Effect

public enum Effect

A list of effects that the server is able to send to players.

Entries

Link copied to clipboard

An alternate click sound.

Link copied to clipboard

A click sound.

Link copied to clipboard

Sound of bow firing.

Link copied to clipboard

Sound of door opening/closing.

Link copied to clipboard

Sound of fire being extinguished.

Link copied to clipboard

A song from record. Needs the record item ID as additional info

Link copied to clipboard

Sound of ghast shrieking.

Link copied to clipboard

Sound of ghast firing.

Link copied to clipboard

Sound of blaze firing.

Link copied to clipboard

Sound of zombies chewing on wooden doors.

Link copied to clipboard

Sound of zombies chewing on iron doors.

Link copied to clipboard

Sound of zombies destroying door.

Link copied to clipboard

A visual smoke effect. Needs direction as additional info.

Link copied to clipboard

Sound of block breaking. Needs block ID as additional info.

Link copied to clipboard

Visual effect of splash potion breaking. Needs potion data value as additional info.

Link copied to clipboard

An ender eye signal; visual effect.

Link copied to clipboard

The flames seen on mobspawner; visual effect.

Link copied to clipboard

The spark that comes off fireworks

Link copied to clipboard

Critical hit particles

Link copied to clipboard

Blue critical hit particles

Link copied to clipboard

Multicolored potion effect particles

Link copied to clipboard

Multicolored potion effect particles that are slightly transparent

Link copied to clipboard

A puff of white potion swirls

Link copied to clipboard

A puff of white stars

Link copied to clipboard

A puff of purple particles

Link copied to clipboard

The note that appears above note blocks

Link copied to clipboard

The particles shown at nether portals

Link copied to clipboard

The symbols that fly towards the enchantment table

Link copied to clipboard

Fire particles

Link copied to clipboard

The particles that pop out of lava

Link copied to clipboard

A small gray square

Link copied to clipboard

Water particles

Link copied to clipboard

Smoke particles

Link copied to clipboard

The biggest explosion particle effect

Link copied to clipboard

A larger version of the explode particle

Link copied to clipboard

Explosion particles

Link copied to clipboard

Small gray particles

Link copied to clipboard

Small gray particles

Link copied to clipboard

A puff of white smoke

Link copied to clipboard

Multicolored dust particles

Link copied to clipboard

Snowball breaking

Link copied to clipboard

The water drip particle that appears on blocks under water

Link copied to clipboard

The lava drip particle that appears on blocks under lava

Link copied to clipboard

White particles

Link copied to clipboard

The particle shown when slime jumps

Link copied to clipboard

The particle that appears when breading animals

Link copied to clipboard

The particle that appears when hitting villager

Link copied to clipboard

The particle that appears when trading with villager

Link copied to clipboard

The smoke particles that appears on blazes, minecarts with furnaces and fire

Link copied to clipboard

The particles generated when tool breaks. This particle requires Material so that the client can select the correct texture.

Link copied to clipboard

The particles generated while breaking block. This particle requires Material and data value so that the client can select the correct texture.

Link copied to clipboard

The particles generated while sprinting block This particle requires Material and data value so that the client can select the correct texture.

Types

Link copied to clipboard
public enum Type
Represents the type of an effect.

Properties

Link copied to clipboard
public final Class<? extends Object> data
Link copied to clipboard
public final int id
Link copied to clipboard
public final Effect.Type type

Functions

Link copied to clipboard
public static Effect getByName(String name)
Gets the Effect associated with the given name.
Link copied to clipboard
public Class<? extends Object> getData()
Link copied to clipboard
public String getName()
Returns the effect's name.
Link copied to clipboard
Link copied to clipboard
public static Effect valueOf(String name)

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.)

Link copied to clipboard
public static Array<Effect> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.