Add items to multiple creative inventory tabs?

Started by DJSlimeball on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add items to multiple creative inventory tabs?

How do I add items or blocks or whatever to more than one creative inventory tab? Is it possible?

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
lock base mod files, then…
Fri, 03/31/2023 - 01:15

lock base mod files, then edit moditems.java

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Doesn't seem to work?
Fri, 03/31/2023 - 23:08

Doesn't seem to work?

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's not in moditems.java,…
Mon, 06/19/2023 - 14:13

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)

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Since you can't lock that…
Mon, 06/19/2023 - 14:34

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…
Mon, 06/19/2023 - 15:01

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

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would i go about doing…
Tue, 02/20/2024 - 01:54

How would i go about doing that since im not that sure but i want my mod be be somewhat vanilla consistant