Package org.bukkit
Interface Art
- All Superinterfaces:
Comparable<Art>
,Keyed
,OldEnum<Art>
Represents the art on a painting.
The arts listed in this interface are present in the default server
or can be enabled via a FeatureFlag
.
There may be additional arts present in the server, for example from a DataPack
which can be accessed via Registry.ART
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the height of the painting, in blocksint
Gets the width of the painting, in blocksstatic Art
getById
(int id) Deprecated.Magic valuestatic Art
Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.int
getId()
Deprecated.Magic valuestatic Art
Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.static Art[]
values()
Deprecated.useIterable.iterator()
.
-
Field Details
-
KEBAB
-
AZTEC
-
ALBAN
-
AZTEC2
-
BOMB
-
PLANT
-
WASTELAND
-
POOL
-
COURBET
-
SEA
-
SUNSET
-
CREEBET
-
WANDERER
-
GRAHAM
-
MATCH
-
BUST
-
STAGE
-
VOID
-
SKULL_AND_ROSES
-
WITHER
-
FIGHTERS
-
POINTER
-
PIGSCENE
-
BURNING_SKULL
-
SKELETON
-
DONKEY_KONG
-
EARTH
-
WIND
-
WATER
-
FIRE
-
BAROQUE
-
HUMBLE
-
MEDITATIVE
-
PRAIRIE_RIDE
-
UNPACKED
-
BACKYARD
-
BOUQUET
-
CAVEBIRD
-
CHANGING
-
COTAN
-
ENDBOSS
-
FERN
-
FINDING
-
LOWMIST
-
ORB
-
OWLEMONS
-
PASSAGE
-
POND
-
SUNFLOWERS
-
TIDES
-
-
Method Details
-
getBlockWidth
int getBlockWidth()Gets the width of the painting, in blocks- Returns:
- The width of the painting, in blocks
-
getBlockHeight
int getBlockHeight()Gets the height of the painting, in blocks- Returns:
- The height of the painting, in blocks
-
getId
Deprecated.Magic valueGet the ID of this painting.- Returns:
- The ID of this painting
-
getById
Deprecated.Magic valueGet a painting by its numeric ID- Parameters:
id
- The ID- Returns:
- The painting
-
getByName
Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.Get a painting by its unique nameThis ignores capitalization
- Parameters:
name
- The name- Returns:
- The painting
-
valueOf
Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.- Parameters:
name
- of the art.- Returns:
- the art with the given name.
-
values
Deprecated.useIterable.iterator()
.- Returns:
- an array of all known arts.
-