Uses of Class
org.bukkit.Effect
| Package | Description |
|---|---|
| org.bukkit |
More generalized classes in the API.
|
| org.bukkit.entity |
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 Effect Modifier and Type Method Description static EffectEffect. getById(int id)Deprecated.Magic valuestatic EffectEffect. getByName(java.lang.String name)Gets the Effect associated with the given name.static EffectEffect. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Effect[]Effect. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit with parameters of type Effect Modifier and Type Method Description voidWorld. playEffect(Location location, Effect effect, int data)Plays an effect to all players within a default radius around a given location.voidWorld. playEffect(Location location, Effect effect, int data, int radius)Plays an effect to all players within a given radius around a location.<T> voidWorld. playEffect(Location location, Effect effect, T data)Plays an effect to all players within a default radius around a given location.<T> voidWorld. playEffect(Location location, Effect effect, T data, int radius)Plays an effect to all players within a given radius around a location.voidWorld.Spigot. playEffect(Location location, Effect effect)Plays an effect to all players within a default radius around a given location.voidWorld.Spigot. playEffect(Location location, Effect effect, int id, int data, float offsetX, float offsetY, float offsetZ, float speed, int particleCount, int radius)Plays an effect to all players within a default radius around a given location. -
Uses of Effect in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type Effect Modifier and Type Method Description voidPlayer. playEffect(Location loc, Effect effect, int data)Deprecated.Magic value<T> voidPlayer. playEffect(Location loc, Effect effect, T data)Plays an effect to just this player.voidPlayer.Spigot. playEffect(Location location, Effect effect, int id, int data, float offsetX, float offsetY, float offsetZ, float speed, int particleCount, int radius)