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 | Field and Description |
---|---|
static Registry<Art> |
Registry.ART
Server art.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable Art |
Art.getById(int id)
Deprecated.
Magic value
|
static @Nullable Art |
Art.getByName(@NotNull String name)
Get a painting by its unique name
|
static Art |
Art.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Art[] |
Art.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Art |
Painting.getArt()
Get the art on this painting
|
Modifier and Type | Method and Description |
---|---|
boolean |
Painting.setArt(@NotNull Art art)
Set the art on this painting
|
boolean |
Painting.setArt(@NotNull Art art,
boolean force)
Set the art on this painting
|
Copyright © 2021. All rights reserved.