Conversation
So bad. But it will help back port works MrCrayfish/Catalogue@4f71627
📦 Added missing background when no texture provided 📦 Icon will now be used if no banner texture is available 🎨 Changed missing banner 📦 Improved design ✨ Last search is now remembered when returning to menu MrCrayfish/Catalogue@6260949 MrCrayfish/Catalogue@37db432 MrCrayfish/Catalogue@c22fd3d MrCrayfish/Catalogue@6b11e0f MrCrayfish/Catalogue@3fcc8ed Also make the test mod a dummy. It is not loaded at all.
✨ Added tooltip to show numbers of mods/libraries 📦 Show "no mods" label when mod list is empty
|
The dummy catalogue mod should be removed since it is not a real mod. However, I haven't decided what to put in the upper-left corner yet. It is a button with link to the original Catalogue mod now. |
|
Some features like sorting from A-Z or Z-A and favourite system are not backported yet. Just because they need to be configured through a button list, which depends on the new layout system in modern minecraft. |
|
I see some resources you added look like come from Mojang, are they? |
Only the minecraft title does |
Move all the resources and java files to a separate path Load the dummy Catalogue mod, remove links
|
I agree with @Desoroxxx, though #313 and #319 will probably be superseded, but #321 should be integrated |
Also update some old links and add some new keys, copied from 1.20.1 forge toml.
|
Probably my last question, but, isn't this a ton of abstraction and complexity for what feels like just a simple mod list. The UI isn't doing something crazy here yet it's 5k LoC |
The core |
strubium
left a comment
There was a problem hiding this comment.
This:
/**
* Author: MrCrayfish
*/Should probably be:
/**
* @author MrCrayfish
*/so IDE's can use the nicer preview when you hover over it
Or even better: /// @author MrCrayfish |
Done |
|
Any progress on this? Is it ready? |
Only some of the requested changes are left now. |
This PR replaces the old Forge mod list menu with a new design from MrCrayfish's Catalogue mod, which follows MIT llicense.
The menu supports:
Mod developers only need to add new keys in JSON format in the mcmod.info file. The new keys are as follows:
The menu can limit the size of logos(banners) and icons, which is configured disabled by default. Also it has the ability to perfrom filters and search for a mod's dependencies and dependants. The two lists of libraries(will be hidden by default and be displayed grey in mod list) and ignored dependencies are configurable too. There is also a favourite system, allowing you to pin mods and put them in the top of the list.
The empty keys in mcmod.info will not be displayed in the info side.