Skip to content

Commit

Permalink
Small change to README.md; Fixed mod version appearing as ${modVersion}
Browse files Browse the repository at this point in the history
  • Loading branch information
Blayung committed Sep 5, 2024
1 parent 7919ddb commit f816de0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MODRINTH_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Updated my email in the mod's metadata
- Fixed mod version appearing as ${modVersion}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ You can download this mod on modrinth. [https://modrinth.com/mod/allow-portal-gu
0. Make sure you have git and jdk 21 installed. If not, check these links out: [https://git-scm.com/downloads](https://git-scm.com/downloads), [https://www.oracle.com/pl/java/technologies/downloads](https://www.oracle.com/pl/java/technologies/downloads). You can also try to install these programs with your distro's package manager.
1. Clone the repo: `git clone https://github.com/Blayung/allow-portal-guis.git; cd allow-portal-guis`
2. Compile the mod: `./gradlew build`
3. Now the mod jar file should be here: `./build/libs/allow-portal-guis-1.1.1.jar`
3. Now the mod jar file should be in the `./build/libs` folder.
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:0.15.11"
}

def modVersion = "1.1.1"
def modVersion = "1.1.2"

base.archivesName = "allow-portal-guis-" + modVersion

Expand All @@ -22,6 +22,12 @@ java {

jar.from("LICENSE.txt")

processResources {
filesMatching("fabric.mod.json") {
expand "version": modVersion
}
}

modrinth {
token = System.getenv("MINOTAUR_PAT")
syncBodyFrom = rootProject.file("MODRINTH_README.md").text
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
"schemaVersion": 1,

"id": "allow-portal-guis",
"version": "${modVersion}",
"version": "${version}",

"name": "Allow Portal GUIs",
"description": "This mod allows you to open different guis inside of a nether portal (fe. chat or the inventory), which is impossible to do in vanilla minecraft.",
"icon": "assets/allow-portal-guis/icon.png",
"license": "GPL-3.0-only",

"license": "GPL-3.0-only",
"authors": [
"Wojciech Paruch <teamaster69@proton.me>"
],
Expand Down

0 comments on commit f816de0

Please sign in to comment.