Uses of Enum Class
org.bukkit.Effect
Packages that use Effect
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.-
Uses of Effect in org.bukkit
Methods in org.bukkit that return EffectModifier and TypeMethodDescriptionstatic @Nullable EffectEffect.getById(int id) Gets the Effect associated with the given ID.static EffectReturns the enum constant of this class with the specified name.static Effect[]Effect.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.bukkit with parameters of type EffectModifier and TypeMethodDescriptiondefault voidWorld.playEffect(@NotNull Location location, @NotNull Effect effect, int data) Plays an effect to all players within a default radius around a given location.voidWorld.playEffect(@NotNull Location location, @NotNull Effect effect, int data, int radius) Plays an effect to all players within a given radius around a location.default <T> voidWorld.playEffect(@NotNull Location location, @NotNull Effect effect, T data) Plays an effect to all players within a default radius around a given location.<T> voidWorld.playEffect(@NotNull Location location, @NotNull Effect effect, T data, int radius) Plays an effect to all players within a given radius around a location. -
Uses of Effect in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type EffectModifier and TypeMethodDescriptionvoidPlayer.playEffect(Location loc, Effect effect, int data) Deprecated.Magic value<T> voidPlayer.playEffect(Location loc, Effect effect, @Nullable T data) Plays an effect to just this player.