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

Started by Atten007 on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 hours ago
Joined Apr 2021
Points:
850

User statistics:

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