Animated-Java/animated-java

[FR] Improve JSON Display Config for Developer Usability

Opened this issue · 1 comments

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

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