Add items to multiple creative inventory tabs?

Started by DJSlimeball on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 months ago
Joined Apr 2020
Points:
701

User statistics:

  • Modifications: 0
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 26
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?

Active 1 year ago
Joined Mar 2023
Points:
167

User statistics:

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

lock base mod files, then edit moditems.java

Active 5 months ago
Joined Apr 2020
Points:
701

User statistics:

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

Doesn't seem to work?

Active 1 year ago
Joined Dec 2019
Points:
728

User statistics:

  • Modifications: 7
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
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)

Active 1 year ago
Joined Dec 2019
Points:
728

User statistics:

  • Modifications: 7
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
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

Active 8 months ago
Joined Jul 2021
Points:
542

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 43
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