Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.19.2 Option to get rid of the creative tab (also: Where is the 1.19 branch?) #158

Open
Taschenmogul opened this issue Mar 13, 2024 · 0 comments

Comments

@Taschenmogul
Copy link

I have found that registering large numbers of modded blocks as microblock materials in the custom-micromaterials.cfg file causes the mod Minecolonies to take a lot of time to start or load a world.

From my limited understanding this seems to be the case because Minecolonies searches the Creative Tabs for items to register:

https://github.com/ldtteam/minecolonies/blob/version/main/src/main/java/com/minecolonies/api/compatibility/CompatibilityManager.java#L680

Even just with CBMultipart, Minecolonies, Rechiseled and their dependencies installed and all 1136 Rechiseled blocks registered as microblock materials, it takes Minecolonies around half a minute to scan them all. With a full modpack and around 5000 registered microblock materials I was waiting for about ten minutes here!

Now my idea was to just quickly set up the CBMultipart 1.19.2 branch on my computer, cut out the few lines of code that register the creative tab, and see if this solves the problem for me. But now I can't even find that branch, since the master branch seems to be 1.20 already!

So my first question is: Where can I find that 1.19.2 branch?
And if I can't fix this for myself via a quick and dirty hack, could you implement a config option to skip registering the microblocks to the creative tabs?
Or maybe this is really a more complex issue on the end of Minecolonies?
Sorry for being confusing here, but I'm not the best of coders and hadn't touched an IDE in a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant