Changelog
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.
Dependencies
Files
coloredglowlib-1.2.0.jar(54.79 KiB) Primary
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
ReleaseVersion number
1.2.0Loaders
Fabric
Game versions
1.17–1.18.2Downloads
51Publication date
March 26, 2022 at 2:49 PMPublisher
Emafire003
Owner