Uses of Enum
org.bukkit.DyeColor
Packages that use DyeColor
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world
,
including special states.Classes relevant to banner blocks.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.The interfaces used when manipulating extra data can can be stored inside
item stacks
.Classes that represents various voxel types and states.
-
Uses of DyeColor in org.bukkit
Methods in org.bukkit that return DyeColorModifier and TypeMethodDescriptionstatic 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
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 -
Uses of DyeColor in org.bukkit.block
Methods in org.bukkit.block that return DyeColorModifier and TypeMethodDescriptionBanner.getBaseColor()
Returns the base color for this bannerShulkerBox.getColor()
Get theDyeColor
corresponding to this ShulkerBoxMethods in org.bukkit.block with parameters of type DyeColorModifier and TypeMethodDescriptionvoid
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 DyeColorConstructors in org.bukkit.block.banner with parameters of type DyeColorModifierConstructorDescriptionPattern(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 DyeColorModifier and TypeMethodDescriptionTropicalFish.getBodyColor()
Gets the color of the fish's body.Cat.getCollarColor()
Get the collar color of this catWolf.getCollarColor()
Get the collar color of this wolfTropicalFish.getPatternColor()
Gets the color of the fish's pattern.Methods in org.bukkit.entity with parameters of type DyeColorModifier and TypeMethodDescriptionvoid
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 DyeColorModifier and TypeMethodDescriptionSheepDyeWoolEvent.getColor()
Gets the DyeColor the sheep is being dyedMethods in org.bukkit.event.entity with parameters of type DyeColorModifier and TypeMethodDescriptionvoid
Sets the DyeColor the sheep is being dyedConstructors in org.bukkit.event.entity with parameters of type DyeColor -
Uses of DyeColor in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return DyeColorModifier and TypeMethodDescriptionBannerMeta.getBaseColor()
Deprecated.banner color is now stored as the data value, not meta.TropicalFishBucketMeta.getBodyColor()
Gets the color of the fish's body.TropicalFishBucketMeta.getPatternColor()
Gets the color of the fish's pattern.Methods in org.bukkit.inventory.meta with parameters of type DyeColorModifier and TypeMethodDescriptionvoid
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 DyeColorModifier and TypeMethodDescriptionColorable.getColor()
Gets the color of this object.Dye.getColor()
Deprecated.Gets the current color of this dyeWool.getColor()
Deprecated.Gets the current color of this dyeMethods in org.bukkit.material with parameters of type DyeColorModifier and TypeMethodDescriptionvoid
Sets the color of this object to the specified DyeColor.void
Deprecated.Sets the color of this dyevoid
Deprecated.Sets the color of this dyeConstructors in org.bukkit.material with parameters of type DyeColor