Started by
BeXla
on
Topic category: Help with Minecraft modding (Java Edition)
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)
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\
))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
Oh cool!