How to add Built-In resource packs? [neoforge 1.21.4]

Started by BeXla on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to add Built-In resource packs? [neoforge 1.21.4]

I want to add a built-in resource pack (which is NOT the same as changing minecraft's textures using assets/minecraft or mcreator's vanilla pack) to my mod, just like minecraft does with programmer art, or like Spelunkery with his "better ores" texture pack. if this isn't possible with mcreator, then atleast i need to know how i could do this using custom code (i tried that before but couldn't find any info about how to register resource packs on NeoForge 1.21.4)

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
seems like you need to do …
Tue, 04/08/2025 - 22:18

seems like you need to do 

https://github.com/TelepathicGrunt/Bumblezone/blob/3b3c1527bdc8681450f3687a0a0833faafa3047d/src/main/java/com/telepathicgrunt/the_bumblezone/Bumblezone.java#L201

and then add your pack to Resources/resourcepacks/ (in the MCreator file browser) ((src\main\resources\resourcepacks\))

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, the code was old and…
Wed, 04/09/2025 - 01:20

Thanks, the code was old and didn't work, but i checked inside AddPackFindersEvent and i found out that neoforge added a easier way to register them, all i had to do is use "addPackFinders" method