summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/Effect.java
blob: 028c27dd5c9cffd5d4cdc9efe7316e18cec57617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package org.bukkit;

/**
 * A list of effects that the server is able to send to players.
 */
public enum Effect {
    BOW_FIRE(1002),
    CLICK1(1001),
    CLICK2(1000),
    DOOR_TOGGLE(1003),
    EXTINGUISH(1004),
    RECORD_PLAY(1005),
    GHAST_SHRIEK(1007),
    GHAST_SHOOT(1008),
    BLAZE_SHOOT(1009),
    SMOKE(2000),
    STEP_SOUND(2001),
    POTION_BREAK(2002),
    ENDER_SIGNAL(2003),
    MOBSPAWNER_FLAMES(2004);

    private final int id;

    Effect(int id) {
        this.id = id;
    }

    public int getId() {
        return this.id;
    }
}