is it possible to take already existing minecraft items and put them into an Mcreator tab?

Started by LennyMicBob on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is it possible to take already existing minecraft items and put them into an Mcreator tab?

am making a mod that does this, since it would be helpful to not have to either have one already or constantly use /give. would it be possible, im down to even editing the code myself if i have to.

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks you very much! Happy…
Sun, 12/25/2022 - 02:34

thanks you very much! Happy the Holidays to the you and!

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So @Sayne , the thing didnt…
Sun, 12/25/2022 - 02:36

So @Sayne , the thing didnt help me, just made me more confused. Can you elaborate?

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Override public void…
Sun, 12/25/2022 - 09:13
@Override
public void displayAllReleventItems(List items) {
    super.displayAllReleventItems(items);
        items.add(new ItemStack(Items.apple);
        }

 ^^ From what im reading, you basically want to override what items normally show (the @Override) and then add a list of items you want shown. Honestly im not sure so youd have to check, but you might be able to skip the override and just add the items. Hope this helps, and merry Christmas (or whatever you celebrate)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bit late, but thanks for…
Sun, 12/25/2022 - 20:23

bit late, but thanks for that! one question, is it version dependant? im using the most recent version of MCreator. Have a good holiday season, and i celebrate Christmas :3