How to add a data pack api to a MCreator mod?

Started by Atten007 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to add a data pack api to a MCreator mod?

Hello,

I'm currently working on my mod Craftelmon, which adds Pokemon into the game. I want to make some parts of my mod data-driven, for example the commands or the Pokemon entities. For these, I want to add a new data pack feature with a sub-folder named "Pokemon" inside the default vanilla data pack. These packs should always have the "craftelmon:" namespace. But Idk how I can make such a data pack API for my mod. Can someone help me pls with this? The data pack feature should only be available for Java Edition. How can I do this?

Greetings,

Atten :)