Package org.bukkit
Enum Art
- All Implemented Interfaces:
- Serializable,- Comparable<Art>,- java.lang.constant.Constable,- Keyed
Represents the art on a painting
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionintGets the height of the painting, in blocksintGets the width of the painting, in blocksstatic ArtgetById(int id) Deprecated.Magic valuestatic ArtGet a painting by its unique nameintgetId()Deprecated.Magic valuegetKey()Return the namespaced identifier for this object.static ArtReturns the enum constant of this type with the specified name.static Art[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant 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
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getBlockWidthpublic int getBlockWidth()Gets the width of the painting, in blocks- Returns:
- The width of the painting, in blocks
 
- 
getBlockHeightpublic int getBlockHeight()Gets the height of the painting, in blocks- Returns:
- The height of the painting, in blocks
 
- 
getIdDeprecated.Magic valueGet the ID of this painting.- Returns:
- The ID of this painting
 
- 
getKeyDescription copied from interface:KeyedReturn the namespaced identifier for this object.
- 
getByIdDeprecated.Magic valueGet a painting by its numeric ID- Parameters:
- id- The ID
- Returns:
- The painting
 
- 
getByNameGet a painting by its unique nameThis ignores underscores and capitalization - Parameters:
- name- The name
- Returns:
- The painting
 
 
-