| Package | Description |
|---|---|
| org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| Modifier and Type | Method | Description |
|---|---|---|
static @Nullable EntityEffect |
EntityEffect.getByData(byte data) |
Deprecated.
Magic value
|
static EntityEffect |
EntityEffect.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static EntityEffect[] |
EntityEffect.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
Entity.playEffect(@NotNull EntityEffect type) |
Performs the specified
EntityEffect for this entity. |
Copyright © 2020. All rights reserved.