Skip to content

[FR] Improve JSON Display Config for Developer Usability #320

Open

Description

@Dearliet

Export all display config values in a format that is immediately usable, eliminating the need for developers to perform manual conversions beforehand. Changes include:

Display:

  • Export glow_color as a hexadecimal integer

Block Display:

  • Rename block to block_state to better align with Minecraft naming conventions

Text Display:

  • Rename align to alignment to better align with Minecraft naming conventions
  • Format background as an ARGB integer value
  • Include default_background boolean
  • Include text_opacity as a byte value:
    • This should be exported as a byte, but allow for more user-friendly input in the editor, enabling an alpha value range from 0 to 1 for easier manipulation

Activity

  1. Dearliet commented on Oct 2, 2024

    @Dearliet
    CollaboratorAuthor

    Issues relevant to improving the display config:
    #283
    #280
    #250

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

✨ EnhancementNew feature or request🔌 Plugin ModeThis issue pertains to blueprints in plugin mode

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions