- Now when the default "general color" (the one you set with ColoredGlowLib.setColor()) is white it will be ignored. This way even when overriding team colors, it will be able to render the team's color instead of white.
- Removed debug print that was littering all over in the log file (sorry i forgot about it when uploading)
- Added support for 1.19 snapshots
- Added the possibility of setting a color for an EntityType with the /setglowcolor command! It's like the summon command argument, like /setglowcolor minecraft:cow <color>
- Added removeColor(EntityType type); method
- Removed a few debug leftovers that i forgot.
- Well. Look at the date.
- Fixed a bug that caused EntityType related stuff to not be saved/sent correctly
- Fixed a bug with the HEX -> Color translation that didn't read correctly values such as "0f"
- Now other mods can submit their values even if the server is not loaded yet (hooray!)
Added a way to check if the mod is ready to accept values or not.
- Use ColoredGlowLib.isReady() to check if the mod can accept values or not. (the mod is sort of ready after the first tick of the server)
Fixed an issue with color, now the file is properly read on the server startup. Which still is kind of the first tick but still.
Hotfix of the hotfix?
Hotfix
Drum roll please............. It now runs on server as intended! * childern Yay *!
Well, anyway here are the changes:
- Now the mod can run server side too, this means you can slap into a server, set the color of a cool polar bear to deep purple and show it to your friends! (Well, that is, if you have any friends and if they have the mod installed on their client.
- Now a developer can (and should) set the color from the usual ColoredGlowLib class which is going to set the color on the server side. Periodicly, packets will be sent to the client updating the information, so they will render the colors.
- Fixed a few issues with the data file, now it should be working correctly without spitting random errors. (you may have to copy the stuff below the first line that says "ColoredGlowlib data" and delete the file, let it generate again and then paste it under the same line which probably changed not by much, but still.
- To automagicly send the new stuff to players you can use ColoredGlowLib.updateData(MinecraftServer server), and this will also save the data on the file.
- The data file now will be saved only on serverside, or in singleplayer (took me a while to figure out how to not save it everytime on the client too btw)
- Added a few utility methods (most of which, i don't really remember), like getServer(), setDelayBetweenSendingPackets() and others. Check the source/javadoc to find out.
- Vanquished other bugs probably, and then also studied them/ate them. Eh? What? Nothing nothing.
-
Added a datafile so now it is possibile to save the color assigned to Entities/EntityTypes/in general (it also represents somewhat of a configuration file in the config/ folder but it's not advised to use it that way, i'll may write a wiki page to use it properly as one in the future)
-
Added a few more methods like hasEntityColor() and similar QOL additions (nothing that was impossibile to do before)
-
Removed a few debug printlns that i forgot
-
Now when an entity dies it's going to get rid of its color from the map/list contains it
-
Now the color of an entity is saved as an HEX string instead of Color object
-
Rewritten the rendering code to make it better & tidier
-
Fixed some bugs such as not being able to set a rainbow color using the command
-
Started to think how to make this mod compatibile server side too (Most likely will require to have it both on the server AND the client since the thing the rendering is done only clientside)
Fixed a bug that prevented the rainbow coloring from working on entities
ERROR WITH MODRINTH! REFER TO THE new 1.0.1 VERSION PLEASE! Fixed a bug that prevented the rainbow coloring from working on entities
First release version! Yay! It adds the /setglowcolor command along with the possiblity of per-entity glow color. And 1.18.2 support.
WARNING! NOT TESTED AT ALL! Added a few remove effect commands (you can see them in the javadocs) and made the new rainbow color also entity-type specific. 1.18.2 coming soon-ish?
Added a new option for rainbow color glow. (it currently applies to all entity) (unless... there is somekind of easter egg that has snugged itself into this? Right sheep?)
Added the possibility of setting a custom glow color entitytype-specific (check the javadocs, i will updated the wiki in a bit)
Added support of 1.17.1 version and gamerule "overrideTeamColors" to override the color gaven by the minecraft team and use the library's one instead.