Uses of Enum Class
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 io.papermc.paper.datacomponent
Fields in io.papermc.paper.datacomponent with type parameters of type DyeColorModifier and TypeFieldDescriptionstatic final DataComponentType.Valued
<DyeColor> DataComponentTypes.BASE_COLOR
Stores the base color for a Shield.static final DataComponentType.Valued
<DyeColor> DataComponentTypes.CAT_COLLAR
static final DataComponentType.Valued
<DyeColor> DataComponentTypes.SHEEP_COLOR
static final DataComponentType.Valued
<DyeColor> DataComponentTypes.SHULKER_COLOR
static final DataComponentType.Valued
<DyeColor> DataComponentTypes.TROPICAL_FISH_BASE_COLOR
static final DataComponentType.Valued
<DyeColor> DataComponentTypes.TROPICAL_FISH_PATTERN_COLOR
static final DataComponentType.Valued
<DyeColor> DataComponentTypes.WOLF_COLLAR
-
Uses of DyeColor in io.papermc.paper.entity
Methods in io.papermc.paper.entity that return DyeColorModifier and TypeMethodDescriptionCollarColorable.getCollarColor()
Get the collar color of this entityMethods in io.papermc.paper.entity with parameters of type DyeColorModifier and TypeMethodDescriptionvoid
CollarColorable.setCollarColor
(DyeColor color) Set the collar color of this entity -
Uses of DyeColor in io.papermc.paper.event.entity
Methods in io.papermc.paper.event.entity that return DyeColorModifier and TypeMethodDescriptionEntityDyeEvent.getColor()
Gets the DyeColor the entity is being dyedMethods in io.papermc.paper.event.entity with parameters of type DyeColorModifier and TypeMethodDescriptionvoid
Sets the DyeColor the entity is being dyedConstructors in io.papermc.paper.event.entity with parameters of type DyeColorModifierConstructorDescriptionEntityDyeEvent
(Entity entity, DyeColor dyeColor, @Nullable Player player) -
Uses of DyeColor in org.bukkit
Methods in org.bukkit that return DyeColorModifier and TypeMethodDescriptionstatic @Nullable DyeColor
DyeColor.getByColor
(@NotNull Color color) Gets the DyeColor with the given color value.static @Nullable DyeColor
DyeColor.getByDyeData
(byte data) Deprecated.Magic valuestatic @Nullable DyeColor
DyeColor.getByFireworkColor
(@NotNull Color color) Gets the DyeColor with the given firework color value.static @Nullable DyeColor
DyeColor.getByWoolData
(byte data) Gets the DyeColor with the given wool data value.static @NotNull DyeColor
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.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 TypeMethodDescription@NotNull DyeColor
Banner.getBaseColor()
Returns the base color for this bannerBed.getColor()
@Nullable DyeColor
ShulkerBox.getColor()
Get theDyeColor
corresponding to this ShulkerBox@NotNull DyeColor
Sign.getColor()
Deprecated.A sign may have multiple writable sides now.Methods in org.bukkit.block with parameters of type DyeColorModifier 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
Methods in org.bukkit.block.banner that return DyeColorModifier and TypeMethodDescription@NotNull DyeColor
Pattern.getColor()
Returns the color of the patternConstructors in org.bukkit.block.banner with parameters of type DyeColorModifierConstructorDescriptionPattern
(@NotNull DyeColor color, @NotNull 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 TypeMethodDescription@NotNull DyeColor
TropicalFish.getBodyColor()
Gets the color of the fish's body.@NotNull DyeColor
Cat.getCollarColor()
Get the collar color of this cat@NotNull DyeColor
Wolf.getCollarColor()
Get the collar color of this wolf@NotNull DyeColor
TropicalFish.getPatternColor()
Gets the color of the fish's pattern.Methods in org.bukkit.entity with parameters of type DyeColorModifier and TypeMethodDescriptionvoid
Deprecated.UsePlayer.sendBlockUpdate(Location, TileState)
by creating a new virtualSign
block state viaBlockData.createBlockState()
(constructed e.g.void
Player.sendSignChange
(Location loc, @Nullable String @Nullable [] lines, DyeColor dyeColor, boolean hasGlowingText) Deprecated.UsePlayer.sendBlockUpdate(Location, TileState)
by creating a new virtualSign
block state viaBlockData.createBlockState()
(constructed e.g.default void
Deprecated.UsePlayer.sendBlockUpdate(Location, TileState)
by creating a new virtualSign
block state viaBlockData.createBlockState()
(constructed e.g.void
Player.sendSignChange
(Location loc, @Nullable List<? extends Component> lines, 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
Constructors in org.bukkit.event.entity with parameters of type DyeColorModifierConstructorDescriptionSheepDyeWoolEvent
(@NotNull Sheep sheep, @NotNull DyeColor color) Deprecated, for removal: This API element is subject to removal in a future version.SheepDyeWoolEvent
(@NotNull Sheep sheep, @NotNull DyeColor color, @Nullable Player player) -
Uses of DyeColor in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return DyeColorModifier and TypeMethodDescription@Nullable DyeColor
ShieldMeta.getBaseColor()
Gets the base color for this shield.@NotNull DyeColor
TropicalFishBucketMeta.getBodyColor()
Gets the color of the fish's body.@NotNull DyeColor
TropicalFishBucketMeta.getPatternColor()
Gets the color of the fish's pattern.Methods in org.bukkit.inventory.meta with parameters of type DyeColorModifier and TypeMethodDescriptionvoid
ShieldMeta.setBaseColor
(@Nullable DyeColor color) Sets the base color for this shield.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
Methods in org.bukkit.material that return DyeColorModifier and TypeMethodDescription@Nullable DyeColor
Colorable.getColor()
Gets the color of this object.Dye.getColor()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the current color of this dyeWool.getColor()
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.Sets the color of this dyevoid
Deprecated, for removal: This API element is subject to removal in a future version.Sets the color of this dyeConstructors in org.bukkit.material with parameters of type DyeColor