Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
Update README for new resourcepacks
Browse files Browse the repository at this point in the history
  • Loading branch information
tygoee authored Aug 15, 2023
1 parent 78d960e commit 0260aa6
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ This is what the file structure of an .mcm file should be:
"slug": "(slug)",
"name": "(filename)"
}
],
"resourcepacks": [
{
"type": "(type)",
"slug": "(slug)",
"name": "(filename)"
}
]
}
```
Expand Down Expand Up @@ -50,20 +57,30 @@ An example file:
"description": "Essential is a quality of life mod that boosts Minecraft Java to the next level."
} // info isn't yet implemented
}
],
"resourcepacks": [
{
"type": "pm", // planet minecraft
"slug": "1-13-1-16-unique-spawn-eggs",
"name": "unique-spawn-eggs-v1-5.zip",
"media": "texture"
}
]
}
```

The mod types are `cf`, `mr` and `url`
The mod types are `cf`, `mr`, `pm` and `url`

You can get a mod slug (and id on curseforge) from the mod url:
You can get a mod slug &/ id from the mod url:

- https://www.curseforge.com/minecraft/mc-mods/worldedit/download/4586218 -> worldedit, 4586218
- https://modrinth.com/mod/sodium/version/mc1.20.1-0.5.1 -> sodium
- https://www.planetminecraft.com/texture-pack/1-13-1-16-unique-spawn-eggs/ -> 1-13-1-16-unique-spawn-eggs

To get the mod name (and id on modrinth), go to downloads -> the jar file and copy download link:
To get the mod name &/ mod id &/ media type, go to downloads -> the file and copy download link:

- https://mediafilez.forgecdn.net/files/4586/218/worldedit-mod-7.2.15.jar -> worldedit-mod-7.2.15.jar
- https://cdn-raw.modrinth.com/data/AANobbMI/versions/OkwCNtFH/sodium-fabric-mc1.20.1-0.5.1.jar -> AANobbMIOkwCNtFH, sodium-fabric-mc1.20.1-0.5.1.jar
- https://static.planetminecraft.com/files/resource_media/texture/unique-spawn-eggs-v1-5.zip -> texture, unique-spawn-eggs-v1-5.zip

Make sure 'name' is ascii encoded, for example `%20` instead of a space

0 comments on commit 0260aa6

Please sign in to comment.