Uses of Class
org.bukkit.Color
-
Packages that use Color Package Description org.bukkit The root package of the Bukkit API, contains generalized API classes.org.bukkit.configuration Classes dedicated to handling a plugin's runtime configuration.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld, including all players, monsters, projectiles, etc.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 insideitem stacks.org.bukkit.potion Classes to represent variouspotionproperties and manipulation. -
-
Uses of Color in org.bukkit
Fields in org.bukkit declared as Color Modifier and Type Field Description static ColorColor. AQUAAqua, or (0x00,0xFF,0xFF) in (R,G,B)static ColorColor. BLACKBlack, or (0x00,0x00,0x00) in (R,G,B)static ColorColor. BLUEBlue, or (0x00,0x00,0xFF) in (R,G,B)static ColorColor. FUCHSIAFuchsia, or (0xFF,0x00,0xFF) in (R,G,B)static ColorColor. GRAYGray, or (0x80,0x80,0x80) in (R,G,B)static ColorColor. GREENGreen, or (0x00,0x80,0x00) in (R,G,B)static ColorColor. LIMELime, or (0x00,0xFF,0x00) in (R,G,B)static ColorColor. MAROONMaroon, or (0x80,0x00,0x00) in (R,G,B)static ColorColor. NAVYNavy, or (0x00,0x00,0x80) in (R,G,B)static ColorColor. OLIVEOlive, or (0x80,0x80,0x00) in (R,G,B)static ColorColor. ORANGEOrange, or (0xFF,0xA5,0x00) in (R,G,B)static ColorColor. PURPLEPurple, or (0x80,0x00,0x80) in (R,G,B)static ColorColor. REDRed, or (0xFF,0x00,0x00) in (R,G,B)static ColorColor. SILVERSilver, or (0xC0,0xC0,0xC0) in (R,G,B)static ColorColor. TEALTeal, or (0x00,0x80,0x80) in (R,G,B)static ColorColor. WHITEWhite, or (0xFF,0xFF,0xFF) in (R,G,B)static ColorColor. YELLOWYellow, or (0xFF,0xFF,0x00) in (R,G,B)Methods in org.bukkit that return Color Modifier and Type Method Description static @NotNull ColorColor. deserialize(@NotNull Map<String,Object> map)static @NotNull ColorColor. 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 ColorColor. fromBGR(int blue, int green, int red)Creates a new Color object from a blue, green, and redstatic @NotNull ColorColor. 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 ColorColor. fromRGB(int red, int green, int blue)Creates a new Color object from a red, green, and blue@NotNull ColorDyeColor. getColor()Gets the color that this dye represents.@NotNull ColorParticle.DustOptions. getColor()The color of the particles to be displayed.@NotNull ColorDyeColor. getFireworkColor()Gets the firework color that this dye represents.@NotNull ColorColor. mixColors(@NotNull 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@NotNull ColorColor. mixDyes(@NotNull 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@NotNull ColorColor. setBlue(int blue)Creates a new Color object with specified component@NotNull ColorColor. setGreen(int green)Creates a new Color object with specified component@NotNull ColorColor. setRed(int red)Creates a new Color object with specified componentMethods in org.bukkit that return types with arguments of type Color Modifier and Type Method Description @NotNull List<Color>FireworkEffect. getColors()Get the primary colors of the firework effect.@NotNull List<Color>FireworkEffect. getFadeColors()Get the fade colors of the firework effect.Methods in org.bukkit with parameters of type Color Modifier and Type Method Description static @Nullable DyeColorDyeColor. getByColor(@NotNull Color color)Gets the DyeColor with the given color value.static @Nullable DyeColorDyeColor. getByFireworkColor(@NotNull Color color)Gets the DyeColor with the given firework color value.@NotNull ColorColor. mixColors(@NotNull 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@NotNull FireworkEffect.BuilderFireworkEffect.Builder. withColor(@NotNull Color color)Add a primary color to the firework effect.@NotNull FireworkEffect.BuilderFireworkEffect.Builder. withColor(@NotNull Color... colors)Add several primary colors to the firework effect.@NotNull FireworkEffect.BuilderFireworkEffect.Builder. withFade(@NotNull Color color)Add a fade color to the firework effect.@NotNull FireworkEffect.BuilderFireworkEffect.Builder. withFade(@NotNull Color... colors)Add several fade colors to the firework effect.Constructors in org.bukkit with parameters of type Color Constructor Description DustOptions(@NotNull Color color, float size) -
Uses of Color in org.bukkit.configuration
Methods in org.bukkit.configuration that return Color Modifier and Type Method Description @Nullable ColorConfigurationSection. getColor(@NotNull String path)Gets the requested Color by path.@Nullable ColorConfigurationSection. getColor(@NotNull String path, @Nullable Color def)Gets the requestedColorby path, returning a default value if not found.@Nullable ColorMemorySection. getColor(@NotNull String path)@Nullable ColorMemorySection. getColor(@NotNull String path, @Nullable Color def)Methods in org.bukkit.configuration with parameters of type Color Modifier and Type Method Description @Nullable ColorConfigurationSection. getColor(@NotNull String path, @Nullable Color def)Gets the requestedColorby path, returning a default value if not found.@Nullable ColorMemorySection. getColor(@NotNull String path, @Nullable Color def) -
Uses of Color in org.bukkit.entity
Methods in org.bukkit.entity that return Color Modifier and Type Method Description @NotNull ColorAreaEffectCloud. getColor()Gets the color of this cloud.@NotNull ColorArrow. getColor()Gets the color of this arrow.Methods in org.bukkit.entity with parameters of type Color Modifier and Type Method Description voidAreaEffectCloud. setColor(@NotNull Color color)Sets the color of this cloud.voidArrow. setColor(@NotNull Color color)Sets the color of this arrow. -
Uses of Color in org.bukkit.inventory
Methods in org.bukkit.inventory that return Color Modifier and Type Method Description @NotNull ColorItemFactory. 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 Color Modifier and Type Method Description @NotNull ColorLeatherArmorMeta. getColor()Gets the color of the armor.@Nullable ColorMapMeta. getColor()Gets the map color that is set.@Nullable ColorPotionMeta. getColor()Gets the potion color that is set.Methods in org.bukkit.inventory.meta with parameters of type Color Modifier and Type Method Description voidLeatherArmorMeta. setColor(@Nullable Color color)Sets the color of the armor.voidMapMeta. setColor(@Nullable Color color)Sets the map color.voidPotionMeta. setColor(@Nullable Color color)Sets the potion color. -
Uses of Color in org.bukkit.potion
Methods in org.bukkit.potion that return Color Modifier and Type Method Description @Nullable ColorPotionEffect. getColor()Deprecated.color is not part of potion effectsabstract @NotNull ColorPotionEffectType. getColor()Returns the color of this effect type.@NotNull ColorPotionEffectTypeWrapper. getColor()
-