Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.configuration |
Classes dedicated to handling a plugin's runtime configuration.
|
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 . |
Modifier and Type | Field and Description |
---|---|
static Color |
Color.AQUA
Aqua, or (0x00,0xFF,0xFF) in (R,G,B)
|
static Color |
Color.BLACK
Black, or (0x00,0x00,0x00) in (R,G,B)
|
static Color |
Color.BLUE
Blue, or (0x00,0x00,0xFF) in (R,G,B)
|
static Color |
Color.FUCHSIA
Fuchsia, or (0xFF,0x00,0xFF) in (R,G,B)
|
static Color |
Color.GRAY
Gray, or (0x80,0x80,0x80) in (R,G,B)
|
static Color |
Color.GREEN
Green, or (0x00,0x80,0x00) in (R,G,B)
|
static Color |
Color.LIME
Lime, or (0x00,0xFF,0x00) in (R,G,B)
|
static Color |
Color.MAROON
Maroon, or (0x80,0x00,0x00) in (R,G,B)
|
static Color |
Color.NAVY
Navy, or (0x00,0x00,0x80) in (R,G,B)
|
static Color |
Color.OLIVE
Olive, or (0x80,0x80,0x00) in (R,G,B)
|
static Color |
Color.ORANGE
Orange, or (0xFF,0xA5,0x00) in (R,G,B)
|
static Color |
Color.PURPLE
Purple, or (0x80,0x00,0x80) in (R,G,B)
|
static Color |
Color.RED
Red, or (0xFF,0x00,0x00) in (R,G,B)
|
static Color |
Color.SILVER
Silver, or (0xC0,0xC0,0xC0) in (R,G,B)
|
static Color |
Color.TEAL
Teal, or (0x00,0x80,0x80) in (R,G,B)
|
static Color |
Color.WHITE
White, or (0xFF,0xFF,0xFF) in (R,G,B)
|
static Color |
Color.YELLOW
Yellow, or (0xFF,0xFF,0x00) in (R,G,B)
|
Modifier and Type | Method and Description |
---|---|
static Color |
Color.deserialize(Map<String,Object> map) |
static 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 red
|
static 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 blue
|
Color |
DyeColor.getColor()
Gets the color that this dye represents.
|
Color |
DyeColor.getFireworkColor()
Gets the firework color that this dye represents.
|
Color |
Color.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 dyeing
|
Color |
Color.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 dyeing
|
Color |
Color.setBlue(int blue)
Creates a new Color object with specified component
|
Color |
Color.setGreen(int green)
Creates a new Color object with specified component
|
Color |
Color.setRed(int red)
Creates a new Color object with specified component
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Color |
Color.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 dyeing
|
FireworkEffect.Builder |
FireworkEffect.Builder.withColor(Color... colors)
Add several primary colors to the firework effect.
|
FireworkEffect.Builder |
FireworkEffect.Builder.withColor(Color color)
Add a primary color to the firework effect.
|
FireworkEffect.Builder |
FireworkEffect.Builder.withFade(Color... colors)
Add several fade colors to the firework effect.
|
FireworkEffect.Builder |
FireworkEffect.Builder.withFade(Color color)
Add a fade color to the firework effect.
|
Modifier and Type | Method and Description |
---|---|
Color |
MemorySection.getColor(String path) |
Color |
ConfigurationSection.getColor(String path)
Gets the requested Color by path.
|
Color |
MemorySection.getColor(String path,
Color def) |
Color |
ConfigurationSection.getColor(String path,
Color def)
Gets the requested
Color by path, returning a default value if
not found. |
Modifier and Type | Method and Description |
---|---|
Color |
MemorySection.getColor(String path,
Color def) |
Color |
ConfigurationSection.getColor(String path,
Color def)
Gets the requested
Color by path, returning a default value if
not found. |
Modifier and Type | Method and Description |
---|---|
Color |
ItemFactory.getDefaultLeatherColor()
Returns the default color for all leather armor.
|
Modifier and Type | Method and Description |
---|---|
Color |
LeatherArmorMeta.getColor()
Gets the color of the armor.
|
Modifier and Type | Method and Description |
---|---|
void |
LeatherArmorMeta.setColor(Color color)
Sets the color of the armor.
|
Copyright © 2015. All rights reserved.