This version brings many changes!
- First of all, now to use the ColoredGlowLib class you will need to get an instance of it. You can do this using ColoredGlowLib my_cgl = ColoredGlowLibMod.getLib(); and from there call the methods you are used to. Example: my_cgl.setColor(new Color(22, 33, 67));
- Now the variables get saved to the file less often (previously, every time it would send packets to the client it would also save them to the disk, not great for performance). Now, it only saves to file while using a command, or when the server stops.
- Added an optimizer: when updating data it will remove every Entity/EntityType with the color "#ffffff", which is the default white one, so no need to keep it around.
- Removed the overrideTeamColors gamerule, it didn't work.
- Reworked compleatly the commands instead! Now they all begin with either /cgl o /coloredglowlib.
The /setglowcolor command is now /cgl setglowcolor
Added a /cgl config command, which will allow you to modify some settings, like the overrideTeamColors, generalizeRainbow ecc...
- Added a proper config file, and MOVED the coloredglowlib_data.json inside the /config/coloredglowlib/ folder, along with the coloredglowlib_config.yml file. This file contains the same settings of the command.
You will need to move your coloredglowlib_data.json to the new location while updating!
Also, now compatibile with Forge! But this is the fabric version so who cares!
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }