Uses of Enum Class
org.bukkit.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 io.papermc.paper.entity
Modifier and TypeMethodDescriptionCollarColorable.getCollarColor()
Get the collar color of this entityModifier and TypeMethodDescriptionvoid
CollarColorable.setCollarColor
(@NotNull DyeColor color) Set the collar color of this entity -
Uses of DyeColor in io.papermc.paper.event.entity
Modifier and TypeMethodDescriptionEntityDyeEvent.getColor()
Gets the DyeColor the entity is being dyedModifier and TypeMethodDescriptionvoid
Sets the DyeColor the entity is being dyed -
Uses of DyeColor in org.bukkit
Modifier and TypeMethodDescriptionDyeColor.getByColor
(@NotNull Color color) Gets the DyeColor with the given color value.DyeColor.getByDyeData
(byte data) Deprecated.Magic valueDyeColor.getByFireworkColor
(@NotNull Color color) Gets the DyeColor with the given firework color value.DyeColor.getByWoolData
(byte data) Gets the DyeColor with the given wool data value.DyeColor.legacyValueOf
(@Nullable String name) Gets the DyeColor for the given name, possibly doing legacy transformations.static DyeColor
Returns the enum constant of this class with the specified name.static DyeColor[]
DyeColor.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of DyeColor in org.bukkit.block
Modifier and TypeMethodDescriptionBanner.getBaseColor()
Returns the base color for this bannerBed.getColor()
ShulkerBox.getColor()
Get theDyeColor
corresponding to this ShulkerBoxSign.getColor()
Deprecated.A sign may have multiple writable sides now.Modifier and TypeMethodDescriptionvoid
Banner.setBaseColor
(@NotNull DyeColor color) Sets the base color for this banner.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated.A sign may have multiple writable sides now. -
Uses of DyeColor in org.bukkit.block.banner
ModifierConstructorDescriptionPattern
(@NotNull DyeColor color, @NotNull PatternType pattern) Creates a new pattern from the specified color and pattern type -
Uses of DyeColor in org.bukkit.entity
Modifier 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.Modifier and TypeMethodDescriptionvoid
Deprecated.UsePlayer.sendBlockUpdate(Location, TileState)
by creating a new virtualSign
block state viaBlockData.createBlockState()
(constructed e.g.void
Player.sendSignChange
(@NotNull Location loc, @Nullable String[] lines, @NotNull DyeColor dyeColor, boolean hasGlowingText) Deprecated.UsePlayer.sendBlockUpdate(Location, TileState)
by creating a new virtualSign
block state viaBlockData.createBlockState()
(constructed e.g.default void
Player.sendSignChange
(@NotNull Location loc, List<? extends Component> lines, @NotNull DyeColor dyeColor) Deprecated.UsePlayer.sendBlockUpdate(Location, TileState)
by creating a new virtualSign
block state viaBlockData.createBlockState()
(constructed e.g.void
Player.sendSignChange
(@NotNull Location loc, List<? extends Component> lines, @NotNull DyeColor dyeColor, boolean hasGlowingText) Deprecated.UsePlayer.sendBlockUpdate(Location, TileState)
by creating a new virtualSign
block state viaBlockData.createBlockState()
(constructed e.g.void
TropicalFish.setBodyColor
(@NotNull DyeColor color) Sets the color of the fish's bodyvoid
Cat.setCollarColor
(@NotNull DyeColor color) Set the collar color of this catvoid
Wolf.setCollarColor
(@NotNull DyeColor color) Set the collar color of this wolfvoid
TropicalFish.setPatternColor
(@NotNull DyeColor color) Sets the color of the fish's pattern -
Uses of DyeColor in org.bukkit.event.entity
-
Uses of DyeColor in org.bukkit.inventory.meta
Modifier 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.Modifier and TypeMethodDescriptionvoid
BannerMeta.setBaseColor
(@Nullable DyeColor color) Deprecated.banner color is now stored as the data value, not meta.void
TropicalFishBucketMeta.setBodyColor
(@NotNull DyeColor color) Sets the color of the fish's body.void
TropicalFishBucketMeta.setPatternColor
(@NotNull DyeColor color) Sets the color of the fish's pattern. -
Uses of DyeColor in org.bukkit.material
Modifier 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 dyeModifier 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 dye