Package org.bukkit
Interface Art
- All Superinterfaces:
- Comparable<Art>,- Keyed,- OldEnum<Art>,- RegistryAware
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 SummaryFieldsModifier and TypeFieldDescriptionstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Artstatic final Art
- 
Method SummaryModifier and TypeMethodDescriptionintGets the height of the painting, in blocksintGets the width of the painting, in blocksstatic ArtgetById(int id) Deprecated.Magic valuestatic ArtDeprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.intgetId()Deprecated.Magic valuegetKey()Deprecated.A key might not always be present, useRegistryAware.getKeyOrThrow()instead.static ArtDeprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.static Art[]values()Deprecated.useIterable.iterator().Methods inherited from interface org.bukkit.registry.RegistryAwaregetKeyOrNull, getKeyOrThrow, isRegistered
- 
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- 
getBlockWidthint getBlockWidth()Gets the width of the painting, in blocks- Returns:
- The width of the painting, in blocks
 
- 
getBlockHeightint getBlockHeight()Gets the height of the painting, in blocks- Returns:
- The height of the painting, in blocks
 
- 
getKeyDeprecated.A key might not always be present, useRegistryAware.getKeyOrThrow()instead.Return the namespaced identifier for this object.
- 
getIdDeprecated.Magic valueGet the ID of this painting.- Returns:
- The ID of this painting
 
- 
getByIdDeprecated.Magic valueGet a painting by its numeric ID- Parameters:
- id- The ID
- Returns:
- The painting
 
- 
getByNameDeprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.Get a painting by its unique nameThis ignores capitalization - Parameters:
- name- The name
- Returns:
- The painting
 
- 
valueOfDeprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.- Parameters:
- name- of the art.
- Returns:
- the art with the given name.
 
- 
valuesDeprecated.useIterable.iterator().- Returns:
- an array of all known arts.
 
 
-