Uses of Class
org.bukkit.Color
Packages that use Color
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Generalized BlockData classes.
Classes dedicated to handling a plugin's runtime configuration.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Classes involved in manipulating player inventories and item interactions.
The interfaces used when manipulating extra data can can be stored inside
item stacks
.Isolated components which may form part of item meta.
Classes to represent various
potion
properties and manipulation.-
Uses of Color in com.destroystokyo.paper
Methods in com.destroystokyo.paper with parameters of type ColorModifier and TypeMethodDescriptionSets the particle Color.Sets the particle Color and size.ParticleBuilder.colorTransition
(Color fromColor, Color toColor) Sets the particle Color Transition.ParticleBuilder.colorTransition
(Color fromColor, Color toColor, float size) Sets the particle Color Transition and size. -
Uses of Color in io.papermc.paper.datacomponent.item
Methods in io.papermc.paper.datacomponent.item that return ColorModifier and TypeMethodDescriptionDyedItemColor.color()
Color of the item.MapItemColor.color()
The tint to apply.PotionContents.computeEffectiveColor()
Computes the effective colour of this potion contents component.PotionContents.customColor()
Overrides the visual color of the potion.Methods in io.papermc.paper.datacomponent.item that return types with arguments of type ColorModifier and TypeMethodDescriptionCustomModelData.colors()
Gets the custom model data color values.Methods in io.papermc.paper.datacomponent.item with parameters of type ColorModifier and TypeMethodDescriptionAdds a color to this custom model data.Sets the color of this builder.Sets the tint color of this map.PotionContents.Builder.customColor
(@Nullable Color color) Sets the color override for this builder.static DyedItemColor
DyedItemColor.dyedItemColor
(Color color) Method parameters in io.papermc.paper.datacomponent.item with type arguments of type ColorModifier and TypeMethodDescriptionAdds multiple colors to this custom model data. -
Uses of Color in org.bukkit
Fields in org.bukkit declared as ColorModifier and TypeFieldDescriptionstatic final Color
Color.AQUA
Aqua, or (0x00,0xFF,0xFF) in (R,G,B)static final Color
Color.BLACK
Black, or (0x00,0x00,0x00) in (R,G,B)static final Color
Color.BLUE
Blue, or (0x00,0x00,0xFF) in (R,G,B)static final Color
Color.FUCHSIA
Fuchsia, or (0xFF,0x00,0xFF) in (R,G,B)static final Color
Color.GRAY
Gray, or (0x80,0x80,0x80) in (R,G,B)static final Color
Color.GREEN
Green, or (0x00,0x80,0x00) in (R,G,B)static final Color
Color.LIME
Lime, or (0x00,0xFF,0x00) in (R,G,B)static final Color
Color.MAROON
Maroon, or (0x80,0x00,0x00) in (R,G,B)static final Color
Color.NAVY
Navy, or (0x00,0x00,0x80) in (R,G,B)static final Color
Color.OLIVE
Olive, or (0x80,0x80,0x00) in (R,G,B)static final Color
Color.ORANGE
Orange, or (0xFF,0xA5,0x00) in (R,G,B)static final Color
Color.PURPLE
Purple, or (0x80,0x00,0x80) in (R,G,B)static final Color
Color.RED
Red, or (0xFF,0x00,0x00) in (R,G,B)static final Color
Color.SILVER
Silver, or (0xC0,0xC0,0xC0) in (R,G,B)static final Color
Color.TEAL
Teal, or (0x00,0x80,0x80) in (R,G,B)static final Color
Color.WHITE
White, or (0xFF,0xFF,0xFF) in (R,G,B)static final Color
Color.YELLOW
Yellow, or (0xFF,0xFF,0x00) in (R,G,B)Methods in org.bukkit that return ColorModifier and TypeMethodDescriptionstatic @NotNull Color
Color.deserialize
(@NotNull Map<String, Object> map) static @NotNull Color
Color.fromARGB
(int argb) Creates a new color object from an integer that contains the alpha, red, green, and blue bytes.static @NotNull Color
Color.fromARGB
(int alpha, int red, int green, int blue) Creates a new Color object from an alpha, red, green, and bluestatic @NotNull 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 @NotNull Color
Color.fromBGR
(int blue, int green, int red) Creates a new Color object from a blue, green, and redstatic @NotNull 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 @NotNull Color
Color.fromRGB
(int red, int green, int blue) Creates a new Color object from a red, green, and blue@NotNull Color
DyeColor.getColor()
Gets the color that this dye represents.@NotNull Color
Particle.DustOptions.getColor()
The color of the particles to be displayed.@NotNull Color
Particle.Spell.getColor()
The color of the particles to be displayed.@NotNull Color
Particle.Trail.getColor()
The color of the particles to be displayed.@NotNull Color
DyeColor.getFireworkColor()
Gets the firework color that this dye represents.@Nullable Color
UnsafeValues.getSpawnEggLayerColor
(EntityType entityType, int layer) Deprecated.the color is no longer available to the server@NotNull Color
Particle.DustTransition.getToColor()
The final of the particles to be displayed.@NotNull Color
Creates a new color with its RGB components changed as if it was dyed with the colors passed in, replicating vanilla workbench dyeing.@NotNull Color
Creates a new color with its RGB components changed as if it was dyed with the colors passed in, replicating vanilla workbench dyeing@NotNull Color
Color.setAlpha
(int alpha) Creates a new Color object with specified component@NotNull Color
Color.setBlue
(int blue) Creates a new Color object with specified component@NotNull Color
Color.setGreen
(int green) Creates a new Color object with specified component@NotNull Color
Color.setRed
(int red) Creates a new Color object with specified componentMethods in org.bukkit that return types with arguments of type ColorModifier and TypeMethodDescriptionFireworkEffect.getColors()
Get the primary colors of the firework effect.FireworkEffect.getFadeColors()
Get the fade colors of the firework effect.Methods in org.bukkit with parameters of type ColorModifier and TypeMethodDescriptionstatic @Nullable DyeColor
DyeColor.getByColor
(@NotNull Color color) Gets the DyeColor with the given color value.static @Nullable DyeColor
DyeColor.getByFireworkColor
(@NotNull Color color) Gets the DyeColor with the given firework color value.@NotNull Color
Creates a new color with its RGB components changed as if it was dyed with the colors passed in, replicating vanilla workbench dyeing.@NotNull FireworkEffect.Builder
Add a primary color to the firework effect.@NotNull FireworkEffect.Builder
Add several primary colors to the firework effect.@NotNull FireworkEffect.Builder
Add a fade color to the firework effect.@NotNull FireworkEffect.Builder
Add several fade colors to the firework effect.Constructors in org.bukkit with parameters of type ColorModifierConstructorDescriptionDustOptions
(@NotNull Color color, float size) DustTransition
(@NotNull Color fromColor, @NotNull Color toColor, float size) -
Uses of Color in org.bukkit.block.data
Methods in org.bukkit.block.data that return ColorModifier and TypeMethodDescription@NotNull Color
BlockData.getMapColor()
Gets the color this block should appear as when rendered on a map. -
Uses of Color in org.bukkit.configuration
Methods in org.bukkit.configuration that return ColorModifier and TypeMethodDescription@Nullable Color
Gets the requested Color by path.@Nullable Color
Gets the requestedColor
by path, returning a default value if not found.@Nullable Color
@Nullable Color
Methods in org.bukkit.configuration with parameters of type Color -
Uses of Color in org.bukkit.entity
Methods in org.bukkit.entity that return ColorModifier and TypeMethodDescription@Nullable Color
TextDisplay.getBackgroundColor()
Gets the text background color.@NotNull Color
AreaEffectCloud.getColor()
Gets the color of this cloud.@Nullable Color
Arrow.getColor()
Gets the color of this arrow.@Nullable Color
Display.getGlowColorOverride()
Gets the scoreboard team overridden glow color of this display.Methods in org.bukkit.entity with parameters of type ColorModifier and TypeMethodDescriptionvoid
TextDisplay.setBackgroundColor
(@Nullable Color color) Sets the text background color.void
Sets the color of this cloud.void
Sets the color of this arrow.void
Display.setGlowColorOverride
(@Nullable Color color) Sets the scoreboard team overridden glow color of this display. -
Uses of Color in org.bukkit.inventory
Methods in org.bukkit.inventory that return ColorModifier and TypeMethodDescription@NotNull Color
ItemFactory.getDefaultLeatherColor()
Returns the default color for all leather armor. -
Uses of Color in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return ColorModifier and TypeMethodDescription@NotNull Color
PotionMeta.computeEffectiveColor()
Computes the effective colour of this potion meta.@NotNull Color
LeatherArmorMeta.getColor()
Gets the color of the armor.@Nullable Color
MapMeta.getColor()
Gets the map color that is set.@Nullable Color
PotionMeta.getColor()
Gets the potion color that is set.Methods in org.bukkit.inventory.meta with parameters of type Color -
Uses of Color in org.bukkit.inventory.meta.components
Methods in org.bukkit.inventory.meta.components that return types with arguments of type ColorModifier and TypeMethodDescriptionCustomModelDataComponent.getColors()
Gets a list of colors for the model type's tints.Method parameters in org.bukkit.inventory.meta.components with type arguments of type Color -
Uses of Color in org.bukkit.potion
Methods in org.bukkit.potion that return ColorModifier and TypeMethodDescription@Nullable Color
PotionEffect.getColor()
Deprecated.color is not part of potion effectsabstract @NotNull Color
PotionEffectType.getColor()
Returns the color of this effect type.PotionEffectTypeWrapper.getColor()
Deprecated, for removal: This API element is subject to removal in a future version.