Tectato / BetterCommandBlockUI

A fabric mod providing a more usable UI for Bommand Blocks
Creative Commons Zero v1.0 Universal
32 stars 7 forks source link

[Feature request] Text color config #53

Open Cleocyde opened 2 months ago

Cleocyde commented 2 months ago

So, I noticed the color pattern is blue - yellow - green - pink - orange - blue... and not specific to the syntax like normal editors like vscode. it being like that with the example image (below) is fine. image but when you're working with this kind of commands, it's honestly more confusing than anything image

I'm not going to ask for syntax specific colors, cuz that would probably be a pain to do, but a way to configure colors would be great (or even just a way to just deactivate them)

Tectato commented 2 months ago

Better Highlighting adds syntax-specific and configurable colors, and is compatible with version 0.5.2a of BCBUI. the mod hadn't updated yet when i released the 1.21 update so there's only a 1.20.4 version right now. i'll try to put out one for 1.21 soon

Tectato commented 2 months ago

New version is out

Cleocyde commented 2 months ago

New version is out

is there a way to backport it to 1.20.2? that's the version we're using for our map, and I dont know if we can update to 1.20.4 without breaking stuff from the mountain of command blocks we got :/

Tectato commented 2 months ago

Unfortunately there doesn't seem to be a release of Better Highlighting for that version... Depending on how difficult that mod is to backport I could still look into it and send you a build, but I can't guarantee anything

Cleocyde commented 2 months ago

I can try to backport it if it's open source, I'm not really good at modding but last I tried, backporting wasnt too hard

tho when I tried to open your mod in intelliJ with everything installed correctly for modding, everything worked fine, but the code itself somehow had hundreds of "errors", idk what I did wrong there lmao

Cleocyde commented 2 months ago

Okay I managed to backport it, it works, but when used along your mod (version 0.5.1 for 1.20.2), the custom colors dont show up (I know you only added compatibility for 1.21, I could try to add it for the 1.20.2 version, but for some reasons, downloading your source code gives me like hundreds of errors in the code as soon as I open any file)

Cleocyde commented 2 months ago

https://github.com/Cleocyde/better-highlighting-1.20.2/tree/1.20.2 I forked it in case you need anything