I read
Resource Packs
Resources
Tutorial:Creating a resource pack
As I understood I should place my resource pack files in:
src/main/resources/
├── META-INF
│ └── mods.toml
├── assets/
├── pack.mcmeta
└── pack.png
But in Minecraft, if I open Options > Resource Pack, I cannot find my resource pack.
However, if I zip the files above and put the zip into run/resourcepacks/MyFirstMod.zip, my resource pack shows up in Minecraft.
I assumed that ./gradlew build would take care of bundling my resource pack. Or am I supposed to zip the files and place them in run/resourcepacks manually?
Recommended Posts