Uses of Class
org.bukkit.Color
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Generalized BlockData classes.
Classes dedicated to handling a plugin's runtime configuration.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Classes involved in manipulating player inventories and item interactions.
The interfaces used when manipulating extra data can can be stored inside
item stacks
.Classes to represent various
potion
properties and manipulation.-
Uses of Color in org.bukkit
Modifier and TypeFieldDescriptionstatic final Color
Color.AQUA
Aqua, or (0x00,0xFF,0xFF) in (R,G,B)static final Color
Color.BLACK
Black, or (0x00,0x00,0x00) in (R,G,B)static final Color
Color.BLUE
Blue, or (0x00,0x00,0xFF) in (R,G,B)static final Color
Color.FUCHSIA
Fuchsia, or (0xFF,0x00,0xFF) in (R,G,B)static final Color
Color.GRAY
Gray, or (0x80,0x80,0x80) in (R,G,B)static final Color
Color.GREEN
Green, or (0x00,0x80,0x00) in (R,G,B)static final Color
Color.LIME
Lime, or (0x00,0xFF,0x00) in (R,G,B)static final Color
Color.MAROON
Maroon, or (0x80,0x00,0x00) in (R,G,B)static final Color
Color.NAVY
Navy, or (0x00,0x00,0x80) in (R,G,B)static final Color
Color.OLIVE
Olive, or (0x80,0x80,0x00) in (R,G,B)static final Color
Color.ORANGE
Orange, or (0xFF,0xA5,0x00) in (R,G,B)static final Color
Color.PURPLE
Purple, or (0x80,0x00,0x80) in (R,G,B)static final Color
Color.RED
Red, or (0xFF,0x00,0x00) in (R,G,B)static final Color
Color.SILVER
Silver, or (0xC0,0xC0,0xC0) in (R,G,B)static final Color
Color.TEAL
Teal, or (0x00,0x80,0x80) in (R,G,B)static final Color
Color.WHITE
White, or (0xFF,0xFF,0xFF) in (R,G,B)static final Color
Color.YELLOW
Yellow, or (0xFF,0xFF,0x00) in (R,G,B)Modifier and TypeMethodDescriptionstatic Color
Color.deserialize
(Map<String, Object> map) static Color
Color.fromARGB
(int argb) Creates a new color object from an integer that contains the alpha, red, green, and blue bytes.static Color
Color.fromARGB
(int alpha, int red, int green, int blue) Creates a new Color object from an alpha, red, green, and bluestatic Color
Color.fromBGR
(int bgr) Creates a new color object from an integer that contains the blue, green, and red bytes in the lowest order 24 bits.static Color
Color.fromBGR
(int blue, int green, int red) Creates a new Color object from a blue, green, and redstatic Color
Color.fromRGB
(int rgb) Creates a new color object from an integer that contains the red, green, and blue bytes in the lowest order 24 bits.static Color
Color.fromRGB
(int red, int green, int blue) Creates a new Color object from a red, green, and blueDyeColor.getColor()
Gets the color that this dye represents.Particle.DustOptions.getColor()
The color of the particles to be displayed.DyeColor.getFireworkColor()
Gets the firework color that this dye represents.Particle.DustTransition.getToColor()
The final of the particles to be displayed.Creates a new color with its RGB components changed as if it was dyed with the colors passed in, replicating vanilla workbench dyeing.Creates a new color with its RGB components changed as if it was dyed with the colors passed in, replicating vanilla workbench dyeingColor.setAlpha
(int alpha) Creates a new Color object with specified componentColor.setBlue
(int blue) Creates a new Color object with specified componentColor.setGreen
(int green) Creates a new Color object with specified componentColor.setRed
(int red) Creates a new Color object with specified componentModifier and TypeMethodDescriptionFireworkEffect.getColors()
Get the primary colors of the firework effect.FireworkEffect.getFadeColors()
Get the fade colors of the firework effect.Modifier and TypeMethodDescriptionstatic DyeColor
DyeColor.getByColor
(Color color) Gets the DyeColor with the given color value.static DyeColor
DyeColor.getByFireworkColor
(Color color) Gets the DyeColor with the given firework color value.Creates a new color with its RGB components changed as if it was dyed with the colors passed in, replicating vanilla workbench dyeing.Add a primary color to the firework effect.Add several primary colors to the firework effect.Add a fade color to the firework effect.Add several fade colors to the firework effect.ModifierConstructorDescriptionDustOptions
(Color color, float size) DustTransition
(Color fromColor, Color toColor, float size) -
Uses of Color in org.bukkit.block.data
Modifier and TypeMethodDescriptionBlockData.getMapColor()
Gets the color this block should appear as when rendered on a map. -
Uses of Color in org.bukkit.configuration
Modifier and TypeMethodDescriptionGets the requested Color by path.Gets the requestedColor
by path, returning a default value if not found. -
Uses of Color in org.bukkit.entity
Modifier and TypeMethodDescriptionTextDisplay.getBackgroundColor()
Gets the text background color.AreaEffectCloud.getColor()
Gets the color of this cloud.Arrow.getColor()
Gets the color of this arrow.Display.getGlowColorOverride()
Gets the scoreboard team overridden glow color of this display.Modifier and TypeMethodDescriptionvoid
TextDisplay.setBackgroundColor
(Color color) Sets the text background color.void
Sets the color of this cloud.void
Sets the color of this arrow.void
Display.setGlowColorOverride
(Color color) Sets the scoreboard team overridden glow color of this display. -
Uses of Color in org.bukkit.inventory
Modifier and TypeMethodDescriptionItemFactory.getDefaultLeatherColor()
Returns the default color for all leather armor. -
Uses of Color in org.bukkit.inventory.meta
-
Uses of Color in org.bukkit.potion