
Hello i created a modpack for my server on hostinger but i have a some error and i don't understand someone can help me ? If it isn't possible anymore due to some vanilla change, then I guess I'll disable the background image. I cannot figure out how it is done, as the class for the creative tab doesn't have a single method that changes the 'tabs.png' image to a custom one, just the private variable 'tabsImage' being automatically set to the default one. What is the new method or way to change the 'tabs.png' image for creative mode tabs in 1.20+? It changes the tab's icon now according to the notes in the creative tab class. The specific line of code that used to work is:īut this old method for the builder does not change the 'tabs' image anymore.

withTabsBefore(CreativeModeTabs.SPAWN_EGGS)

withTabsImage(new ResourceLocation("thingamajigs:textures/gui/thingamajigstabs.png")) withBackgroundLocation(new ResourceLocation("thingamajigs:textures/gui/thingamajigsitems.png")) title(anslatable("itemGroup.Thingamajigs")) Public static RegistryObject ALL_ITEMS_TAB_v2 = CMTS.register("thingamajigs", The 'background' image still changes to the custom one, however, my code didn't seem flawed at all. Since the start of 1.19 (and some other versions), I was using two textures for my mod that overwrite the vanilla 'tabs.png' and 'items.png' textures for my mod's tab.

I know for a fact that creative tabs have a 'background' texture and a 'tabs' texture. Using Forge 1.20+ has broken one under-used, very specific feature. Hey there all, I have a very annoying problem.
