Started by
DJSlimeball
on
Topic category: Help with Minecraft modding (Java Edition)
How do I add items or blocks or whatever to more than one creative inventory tab? Is it possible?
Topic category: Help with Minecraft modding (Java Edition)
How do I add items or blocks or whatever to more than one creative inventory tab? Is it possible?
lock base mod files, then edit moditems.java
Doesn't seem to work?
It's not in moditems.java, it's in modtabs.java (can only be seen by opening something like moditems.java then clicking on init at the top. There just copy-paste the if statements. Make sure to import modtabs and such)
Since you can't lock that file, it is literally impossible unless you modify the mcreator source files to prevent auto regen of the file
You can always make "custom code" mod element, register event subscriber to tab event and modify the tab there. There is no need to edit any autogenerated files for this
How would i go about doing that since im not that sure but i want my mod be be somewhat vanilla consistant