Skip to content

Commit

Permalink
Auto Download RMDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ecdcaeb committed Feb 10, 2024
1 parent 4e83396 commit a9b895c
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 4 deletions.
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ processResources {
// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include "mcmod.info"

// replace version and mcversion
expand "version":project.version, "mcversion":project.minecraft.version
}
Expand All @@ -140,4 +139,9 @@ tasks.register('buildExample', Zip) {
destinationDir = file("run/mods")

from "dev/example"
}
}
tasks.register('buildRMDK', Zip) {
archiveName = "modpack.zip"
destinationDir = file("rmdk/releases/"+version)
from "dev/rmdk"
}
1 change: 1 addition & 0 deletions buildRMDK.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
call gradlew.bat buildRMDK --debug --stacktrace --info
18 changes: 18 additions & 0 deletions dev/rmdk/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"manifestType": "minecraftModpack",
"manifestVersion": 1,
"name": "rmdk",
"version": "dev",
"author": "Hileb",
"overrides": "overrides",
"minecraft": {
"version": "1.12.2",
"modLoaders": [
{
"id": "forge-14.23.5.2860",
"primary": true
}
]
},
"files": []
}
33 changes: 33 additions & 0 deletions dev/rmdk/mcbbs.packmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"manifestType": "minecraftModpack",
"manifestVersion": 2,
"name": "rmdk",
"version": "dev",
"author": "Hileb",
"description": "",
"fileApi": "",
"url": "",
"forceUpdate": false,
"origin": [],
"addons": [
{
"id": "game",
"version": "1.12.2"
},
{
"id": "forge",
"version": "14.23.5.2860"
}
],
"libraries": [],
"files": [],
"settings": {
"install_mods": true,
"install_resourcepack": true
},
"launchInfo": {
"minMemory": 0,
"launchArgument": [],
"javaArgument": []
}
}
Binary file not shown.
Binary file added rmdk/HMCL-3.5.5.235.exe
Binary file not shown.
Binary file added rmdk/releases/1.0.7/modpack.zip
Binary file not shown.
2 changes: 0 additions & 2 deletions rmdk/windows/tasks.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package mods.Hileb.rml.api.config;

import com.google.gson.JsonObject;
import net.minecraftforge.common.config.Configuration;

/**
* @Project ResourceModLoader
* @Author Hileb
* @Date 2024/2/10 1:00
**/
public class RunningTimeConfigFactory { //TODO create a config for rml mod.
//public static Configuration makeBase(JsonObject jsonObject){}
}

0 comments on commit a9b895c

Please sign in to comment.