Uses of Class
org.bukkit.Color
| Package | Description |
|---|---|
| org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
| org.bukkit.configuration |
Classes dedicated to handling a plugin's runtime configuration.
|
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
| org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks. |
| org.bukkit.potion |
Classes to represent various
potion
properties and manipulation. |
-
Uses of Color in org.bukkit
Fields in org.bukkit declared as Color Modifier and Type Field Description static ColorColor. AQUAAqua, or (0x00,0xFF,0xFF) in (R,G,B)static ColorColor. BLACKBlack, or (0x00,0x00,0x00) in (R,G,B)static ColorColor. BLUEBlue, or (0x00,0x00,0xFF) in (R,G,B)static ColorColor. FUCHSIAFuchsia, or (0xFF,0x00,0xFF) in (R,G,B)static ColorColor. GRAYGray, or (0x80,0x80,0x80) in (R,G,B)static ColorColor. GREENGreen, or (0x00,0x80,0x00) in (R,G,B)static ColorColor. LIMELime, or (0x00,0xFF,0x00) in (R,G,B)static ColorColor. MAROONMaroon, or (0x80,0x00,0x00) in (R,G,B)static ColorColor. NAVYNavy, or (0x00,0x00,0x80) in (R,G,B)static ColorColor. OLIVEOlive, or (0x80,0x80,0x00) in (R,G,B)static ColorColor. ORANGEOrange, or (0xFF,0xA5,0x00) in (R,G,B)static ColorColor. PURPLEPurple, or (0x80,0x00,0x80) in (R,G,B)static ColorColor. REDRed, or (0xFF,0x00,0x00) in (R,G,B)static ColorColor. SILVERSilver, or (0xC0,0xC0,0xC0) in (R,G,B)static ColorColor. TEALTeal, or (0x00,0x80,0x80) in (R,G,B)static ColorColor. WHITEWhite, or (0xFF,0xFF,0xFF) in (R,G,B)static ColorColor. YELLOWYellow, or (0xFF,0xFF,0x00) in (R,G,B)Methods in org.bukkit that return Color Modifier and Type Method Description static ColorColor. deserialize(Map<String,Object> map)static ColorColor. 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 ColorColor. fromBGR(int blue, int green, int red)Creates a new Color object from a blue, green, and redstatic ColorColor. 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 ColorColor. fromRGB(int red, int green, int blue)Creates a new Color object from a red, green, and blueColorDyeColor. getColor()Gets the color that this dye represents.ColorParticle.DustOptions. getColor()The color of the particles to be displayed.ColorDyeColor. getFireworkColor()Gets the firework color that this dye represents.ColorColor. mixColors(Color... colors)Creates a new color with its RGB components changed as if it was dyed with the colors passed in, replicating vanilla workbench dyeingColorColor. mixDyes(DyeColor... colors)Creates a new color with its RGB components changed as if it was dyed with the colors passed in, replicating vanilla workbench dyeingColorColor. setBlue(int blue)Creates a new Color object with specified componentColorColor. setGreen(int green)Creates a new Color object with specified componentColorColor. setRed(int red)Creates a new Color object with specified componentMethods in org.bukkit that return types with arguments of type Color Modifier and Type Method Description List<Color>FireworkEffect. getColors()Get the primary colors of the firework effect.List<Color>FireworkEffect. getFadeColors()Get the fade colors of the firework effect.Methods in org.bukkit with parameters of type Color Modifier and Type Method Description static DyeColorDyeColor. getByColor(Color color)Gets the DyeColor with the given color value.static DyeColorDyeColor. getByFireworkColor(Color color)Gets the DyeColor with the given firework color value.ColorColor. mixColors(Color... colors)Creates a new color with its RGB components changed as if it was dyed with the colors passed in, replicating vanilla workbench dyeingFireworkEffect.BuilderFireworkEffect.Builder. withColor(Color color)Add a primary color to the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withColor(Color... colors)Add several primary colors to the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withFade(Color color)Add a fade color to the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withFade(Color... colors)Add several fade colors to the firework effect.Constructors in org.bukkit with parameters of type Color Constructor Description DustOptions(Color color, float size) -
Uses of Color in org.bukkit.configuration
Methods in org.bukkit.configuration that return Color Modifier and Type Method Description ColorConfigurationSection. getColor(String path)Gets the requested Color by path.ColorConfigurationSection. getColor(String path, Color def)Gets the requestedColorby path, returning a default value if not found.ColorMemorySection. getColor(String path)ColorMemorySection. getColor(String path, Color def) -
Uses of Color in org.bukkit.entity
-
Uses of Color in org.bukkit.inventory
Methods in org.bukkit.inventory that return Color Modifier and Type Method Description ColorItemFactory. getDefaultLeatherColor()Returns the default color for all leather armor. -
Uses of Color in org.bukkit.inventory.meta
-
Uses of Color in org.bukkit.potion