An open API service indexing awesome lists of open source software.

https://github.com/serilum/collective

🎓 Collective is a shared library with common code for all of Serilum's mods.
https://github.com/serilum/collective

collective curseforge fabric forge minecraft mod modding modrinth natamus neoforge quilt rick-south serilum

Last synced: about 1 month ago
JSON representation

🎓 Collective is a shared library with common code for all of Serilum's mods.

Awesome Lists containing this project

README

        

Collective


Download


You can download Collective on CurseForge and Modrinth:

  CurseForge:   https://curseforge.com/minecraft/mc-mods/collective
  Modrinth:      https://modrinth.com/mod/collective


Issue Tracker


To keep a better overview of all mods, the issue tracker is located in a separate repository.
  For issues, ideas, suggestions or anything else, please follow this link:


    -> Issue Tracker


Pull Requests


Because of the way mod loader files are bundled into one jar, some extra information is needed to do a PR.
  A wiki page entry about it is available here:


    -> Pull Request Information


Mod Description





Collective is a shared library mod with common code for all of Serilum's mods.


It contains data and functions centralized in one place. Collective helps a great deal in maintaining all the Fabric, Forge and NeoForge mod loader versions.


Having access to the library's code environment, creates possibilities for current and future project features. The updating process is also made easier when there's an improvement for a function that is relevant to many others. For example this means having to update one project, instead of six. This saves time and makes me a little happier.


 
Features:



  • Manages all config files and in-game menu of dependent mods. ¹

  • Variables for increased compatibility with other projects.

  • Lots of useful functions to prevent code duplication. ²

  • An event to replace and resupply entities.

  • Allows toggling the functionality of bundled mods. ³

  • Contains the access transformers/wideners to use private fields. 

  • Networking code to send packets via the Common source set.

  • Centralized backwards compatibility for major version changes.

  • And much more! 




Extra Information:


1 | Because I use the Multiloader template for all of my mods, there is no built-in config I can use from within the Common code. Collective contains a suite of config code that all dependent mods use. This adds an in-game config menu and generates files in '.minecraft/config/'.
< Common's Config Code >






2 | Over the years, I've added lots of useful code to Collective. Being able to use these makes my life of updating dependent mods a lot easier:
< Common's Functions >




3 | I've released bundles of my mods for easier downloading!
Collective allows enabling/disabling the included mods via some neat code!
< Fabric's Bundle Code >




4 | Access transformers/wideners are used to set and use fields Mojang has made private. Having these in Collective keeps everything organised:
< Fabric's collective.accesswidener >




5 | See the full source code here:
https://github.com/Serilum/Collective


------------------

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!