Use custom ComponentRenderer for custom chat #8

Merged
ChomeNS merged 2 commits from amy/chomensmod:1.20.1 into 1.20.1 2025-01-22 04:14:37 -05:00
Contributor

This one's a really big one. If you don't like the structure of the ComponentRenderer stuff, feel free to close.

Still needs some testing, particularly with the "HASH" functionality. I tested it with 7cc5c4f330d47060's format and everything seems to have worked.

User-facing changes:

  • Custom chat now uses {"selector":"@s"} for specifying self in format (automatically migrated from USERNAME/UUID from old configs!)
  • Format is now overall slightly "smarter" and does not require hacks like {"text":"","extra":["MESSAGE"]} to properly function
  • Some sort of dynamic context system to, in the future, allow showing the format without sending a message
This one's a really big one. If you don't like the structure of the ComponentRenderer stuff, feel free to close. Still needs some testing, particularly with the "HASH" functionality. I tested it with 7cc5c4f330d47060's format and everything seems to have worked. User-facing changes: - Custom chat now uses `{"selector":"@s"}` for specifying self in format (automatically migrated from USERNAME/UUID from old configs!) - Format is now overall slightly "smarter" and does not require hacks like `{"text":"","extra":["MESSAGE"]}` to properly function - Some sort of dynamic context system to, in the future, allow showing the format without sending a message
amy added 1 commit 2025-01-21 01:06:07 -05:00
amy added 1 commit 2025-01-21 01:09:44 -05:00
amy force-pushed 1.20.1 from e8bedc9b4c to c39c65a2cc 2025-01-21 01:10:48 -05:00 Compare
Owner

Wowings. This is Perfect Sigma. Thanks!

Wowings. This is Perfect Sigma. Thanks!
ChomeNS merged commit b88b2c8e3d into 1.20.1 2025-01-22 04:14:37 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ChomeNS/chipmunkmod#8
No description provided.