Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.block.banner | |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.entity | |
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
org.bukkit.material |
Classes that represents various voxel types and states.
|
Modifier and Type | Method and Description |
---|---|
static DyeColor |
DyeColor.getByColor(Color color)
Gets the DyeColor with the given color value.
|
static DyeColor |
DyeColor.getByData(byte data)
Deprecated.
The name is misleading. It would imply
Material.INK_SACK but uses Material.WOOL |
static DyeColor |
DyeColor.getByDyeData(byte data)
Deprecated.
Magic value
|
static DyeColor |
DyeColor.getByFireworkColor(Color color)
Gets the DyeColor with the given firework color value.
|
static DyeColor |
DyeColor.getByWoolData(byte data)
Deprecated.
Magic value
|
static DyeColor |
DyeColor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DyeColor[] |
DyeColor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
DyeColor |
Banner.getBaseColor()
Returns the base color for this banner
|
Modifier and Type | Method and Description |
---|---|
void |
Banner.setBaseColor(DyeColor color)
Sets the base color for this banner
|
Modifier and Type | Method and Description |
---|---|
DyeColor |
Pattern.getColor()
Returns the color of the pattern
|
Constructor and Description |
---|
Pattern(DyeColor color,
PatternType pattern)
Creates a new pattern from the specified color and
pattern type
|
Modifier and Type | Method and Description |
---|---|
DyeColor |
Wolf.getCollarColor()
Get the collar color of this wolf
|
Modifier and Type | Method and Description |
---|---|
void |
Wolf.setCollarColor(DyeColor color)
Set the collar color of this wolf
|
Modifier and Type | Method and Description |
---|---|
DyeColor |
SheepDyeWoolEvent.getColor()
Gets the DyeColor the sheep is being dyed
|
Modifier and Type | Method and Description |
---|---|
void |
SheepDyeWoolEvent.setColor(DyeColor color)
Sets the DyeColor the sheep is being dyed
|
Constructor and Description |
---|
SheepDyeWoolEvent(Sheep sheep,
DyeColor color) |
Modifier and Type | Method and Description |
---|---|
DyeColor |
BannerMeta.getBaseColor()
Returns the base color for this banner
|
Modifier and Type | Method and Description |
---|---|
void |
BannerMeta.setBaseColor(DyeColor color)
Sets the base color for this banner
|
Modifier and Type | Method and Description |
---|---|
DyeColor |
Wool.getColor()
Gets the current color of this dye
|
DyeColor |
Dye.getColor()
Gets the current color of this dye
|
DyeColor |
Colorable.getColor()
Gets the color of this object.
|
Modifier and Type | Method and Description |
---|---|
void |
Wool.setColor(DyeColor color)
Sets the color of this dye
|
void |
Dye.setColor(DyeColor color)
Sets the color of this dye
|
void |
Colorable.setColor(DyeColor color)
Sets the color of this object to the specified DyeColor.
|
Constructor and Description |
---|
Wool(DyeColor color) |
Copyright © 2015. All rights reserved.