Uses of Class
org.bukkit.DyeColor
Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.block.banner |
Classes relevant to banner blocks.
|
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.
|
-
Uses of DyeColor in org.bukkit
Methods in org.bukkit that return DyeColor Modifier and Type Method Description static DyeColor
DyeColor. getByColor(Color color)
Gets the DyeColor with the given color value.static DyeColor
DyeColor. getByDyeData(byte data)
Deprecated.Magic valuestatic DyeColor
DyeColor. getByFireworkColor(Color color)
Gets the DyeColor with the given firework color value.static DyeColor
DyeColor. getByWoolData(byte data)
Deprecated.Magic valuestatic DyeColor
DyeColor. legacyValueOf(String name)
Deprecated.legacy use onlystatic 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.Methods in org.bukkit with parameters of type DyeColor Modifier and Type Method 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 -
Uses of DyeColor in org.bukkit.block
Methods in org.bukkit.block that return DyeColor Modifier and Type Method Description DyeColor
Banner. getBaseColor()
Returns the base color for this bannerDyeColor
ShulkerBox. getColor()
Get theDyeColor
corresponding to this ShulkerBoxMethods in org.bukkit.block with parameters of type DyeColor Modifier and Type Method Description void
Banner. setBaseColor(DyeColor color)
Sets the base color for this banner. -
Uses of DyeColor in org.bukkit.block.banner
Methods in org.bukkit.block.banner that return DyeColor Modifier and Type Method Description DyeColor
Pattern. getColor()
Returns the color of the patternConstructors in org.bukkit.block.banner with parameters of type DyeColor Constructor Description Pattern(DyeColor color, PatternType pattern)
Creates a new pattern from the specified color and pattern type -
Uses of DyeColor in org.bukkit.entity
Methods in org.bukkit.entity that return DyeColor Modifier and Type Method Description DyeColor
TropicalFish. getBodyColor()
Gets the color of the fish's body.DyeColor
Cat. getCollarColor()
Get the collar color of this catDyeColor
Wolf. getCollarColor()
Get the collar color of this wolfDyeColor
TropicalFish. getPatternColor()
Gets the color of the fish's pattern.Methods in org.bukkit.entity with parameters of type DyeColor Modifier and Type Method Description void
Player. sendSignChange(Location loc, String[] lines, DyeColor dyeColor)
Send a sign change.void
TropicalFish. setBodyColor(DyeColor color)
Sets the color of the fish's bodyvoid
Cat. setCollarColor(DyeColor color)
Set the collar color of this catvoid
Wolf. setCollarColor(DyeColor color)
Set the collar color of this wolfvoid
TropicalFish. setPatternColor(DyeColor color)
Sets the color of the fish's pattern -
Uses of DyeColor in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return DyeColor Modifier and Type Method Description DyeColor
SheepDyeWoolEvent. getColor()
Gets the DyeColor the sheep is being dyedMethods in org.bukkit.event.entity with parameters of type DyeColor Modifier and Type Method Description void
SheepDyeWoolEvent. setColor(DyeColor color)
Sets the DyeColor the sheep is being dyedConstructors in org.bukkit.event.entity with parameters of type DyeColor Constructor Description SheepDyeWoolEvent(Sheep sheep, DyeColor color)
-
Uses of DyeColor in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return DyeColor Modifier and Type Method Description DyeColor
BannerMeta. getBaseColor()
Deprecated.banner color is now stored as the data value, not meta.DyeColor
TropicalFishBucketMeta. getBodyColor()
Gets the color of the fish's body.DyeColor
TropicalFishBucketMeta. getPatternColor()
Gets the color of the fish's pattern.Methods in org.bukkit.inventory.meta with parameters of type DyeColor Modifier and Type Method Description void
BannerMeta. setBaseColor(DyeColor color)
Deprecated.banner color is now stored as the data value, not meta.void
TropicalFishBucketMeta. setBodyColor(DyeColor color)
Sets the color of the fish's body.void
TropicalFishBucketMeta. setPatternColor(DyeColor color)
Sets the color of the fish's pattern. -
Uses of DyeColor in org.bukkit.material
Methods in org.bukkit.material that return DyeColor Modifier and Type Method Description DyeColor
Colorable. getColor()
Gets the color of this object.DyeColor
Dye. getColor()
Deprecated.Gets the current color of this dyeDyeColor
Wool. getColor()
Deprecated.Gets the current color of this dyeMethods in org.bukkit.material with parameters of type DyeColor Modifier and Type Method Description void
Colorable. setColor(DyeColor color)
Sets the color of this object to the specified DyeColor.void
Dye. setColor(DyeColor color)
Deprecated.Sets the color of this dyevoid
Wool. setColor(DyeColor color)
Deprecated.Sets the color of this dye