Ever wanted to make customizable chats, item names, or more interactability in general? This plugin helps you use a class called Mutable Components, allowing you to do exactly that!
Supported plugin versions:
Forge 1.19.2, Forge 1.19.4, Forge 1.20.1, NeoForge 1.20.4, NeoForge 1.20.6, NeoForge 1.21.1, NeoForge 1.21.4, NeoForge 1.21.8
For info on specific procedures, check this file
Changelog
For the full list of changes, check this file
v3.1.5
MutableComponent color-setting for Forge 1.20.1 and lower will use an anonymous object method to avoid using ${input$component} twice, as MutableComponent.withColor does not exist in those earlier versions
v3.1.4
Edited several procedures to add customBlockIndex, reducing the chances of a variable collision error"Get sent chat/Set sent chat" procedures both include a warning at the bottom of the procedure UI to mention that it only works for the "Player sent chat" trigger (as opposed to having the event name being part of the procedure text)
v3.1.3
I've decided that version constraint syntax is stupid, actually, so procedures with a version limit will now read (min x.xx.x)
Comments
Hi, sir... Just a minor thing I would like to make you aware of:
You should name your stuff better. As you can see here, in the Advanced tab and Variables tab, your plugin's blocks are the only ones that are hard to understand what are they needed for...
https://i.imgur.com/kMUh6Gj.png
All the others have a clear description saying if it is for entities, or for items, or for blocks, or logic, or number, etc. But yours are just... that. So... I guess it would help a lot to name each of them correctly to make deliver a better user experience.
https://i.imgur.com/lJDqYqN.png
https://i.imgur.com/mk1oVBR.png
Sorry for the super late reply but yes, it is possible. For example, you could make a mutablecomponent variable, add a normal component with text, then append another component to the variable with the obfuscated text format style to have that part of the text be unreadable
This program should work in March 2025 without any issues, at least that's how it appears to me.