MCPcopy Create free account
hub / github.com/PaperMC/Paper / Effect

Enum Effect

paper-api/src/main/java/org/bukkit/Effect.java:13–528  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

11 * A list of effects that the server is able to send to players.
12 */
13public enum Effect {
14 /**
15 * An alternate click sound.
16 */
17 CLICK2(1000, Type.SOUND),
18 /**
19 * A click sound.
20 */
21 CLICK1(1001, Type.SOUND),
22 /**
23 * Sound of a bow firing.
24 */
25 BOW_FIRE(1002, Type.SOUND),
26 /**
27 * Sound of a door opening.
28 * @deprecated no longer exists
29 * @see Sound#BLOCK_WOODEN_DOOR_OPEN
30 */
31 @Deprecated(since = "1.19.3", forRemoval = true)
32 DOOR_TOGGLE(1006, Type.SOUND),
33 /**
34 * Sound of a door opening.
35 * @deprecated no longer exists
36 * @see Sound#BLOCK_IRON_DOOR_OPEN
37 */
38 @Deprecated(since = "1.19.3", forRemoval = true)
39 IRON_DOOR_TOGGLE(1005, Type.SOUND),
40 /**
41 * Sound of a trapdoor opening.
42 * @deprecated no longer exists
43 * @see Sound#BLOCK_WOODEN_TRAPDOOR_OPEN
44 */
45 @Deprecated(since = "1.19.3", forRemoval = true)
46 TRAPDOOR_TOGGLE(1007, Type.SOUND),
47 /**
48 * Sound of a door opening.
49 * @deprecated no longer exists
50 * @see Sound#BLOCK_IRON_TRAPDOOR_OPEN
51 */
52 @Deprecated(since = "1.19.3", forRemoval = true)
53 IRON_TRAPDOOR_TOGGLE(1037, Type.SOUND),
54 /**
55 * Sound of a door opening.
56 * @deprecated no longer exists
57 * @see Sound#BLOCK_FENCE_GATE_OPEN
58 */
59 @Deprecated(since = "1.19.3", forRemoval = true)
60 FENCE_GATE_TOGGLE(1008, Type.SOUND),
61 /**
62 * Sound of a door closing.
63 * @deprecated no longer exists
64 * @see Sound#BLOCK_WOODEN_DOOR_CLOSE
65 */
66 @Deprecated(since = "1.19.3", forRemoval = true)
67 DOOR_CLOSE(1012, Type.SOUND),
68 /**
69 * Sound of a door closing.
70 * @deprecated no longer exists

Callers

nothing calls this directly

Calls 4

newHashMapMethod · 0.80
getFieldMethod · 0.80
valuesMethod · 0.65
putMethod · 0.65

Tested by

no test coverage detected