Skip to content

Implementation for 1.21.4 Shadow Colors #180

@Ramezsushi

Description

@Ramezsushi

1.21.4 Snapshot 24w44a added the functionality to change the shadow colors of text components,

Text Components
Added optional shadow_color style field to Text Components, which overrides the shadow properties of text.

  • Format:

    • A packed integer ARGB value (e.g. -1)
    • An array of RGBA values (e.g. [1, 1, 1, 1])
  • If specified as 0, the shadow will never be displayed for this text

  • If specified as a non-zero value, the shadow will always be displayed with this color

This could be utilized on https://www.birdflop.com/resources/rgb/, for shadow styling & gradient options

There should be a second gradient editor for the text shadow, it should also include quick coloring options such as to clone, invert or reverse the normal text's gradient

Since a in-chat functionality does not exist for most for most servers yet, there should be an export as json option for users to use it with NBT

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions