This commit is contained in:
SrGooglo 2024-03-30 06:43:56 +01:00
parent 3c1b30e48b
commit fddb77e8d9
1 changed files with 8 additions and 25 deletions

View File

@ -18,7 +18,7 @@ const internalVars = {
}, },
mc_version: { mc_version: {
number: "1.20.1", number: "1.20.1",
forge: "47.2.17", forge: "1.20.1-forge-47.2.17",
type: "release", type: "release",
} }
} }
@ -43,29 +43,12 @@ module.exports = {
name: "3D Skins Layers", name: "3D Skins Layers",
additions: [ additions: [
{ {
file: `%install_path%/mods/skinlayers3d-fabric-1.6.2-mc1.20.1.jar`, file: `%install_path%/mods/skinlayers3d-forge-1.6.2-mc1.20.1.jar`,
steps: { steps: {
http_downloads: [ http_downloads: [
{ {
url: "https://cdn.modrinth.com/data/zV5r3pPn/versions/KHhjRppT/skinlayers3d-fabric-1.6.2-mc1.20.1.jar", url: "https://cdn.modrinth.com/data/zV5r3pPn/versions/z7pEP8p7/skinlayers3d-forge-1.6.2-mc1.20.1.jar",
path: `%install_path%/mods/skinlayers3d-fabric-1.6.2-mc1.20.1.jar`, path: `%install_path%/mods/skinlayers3d-forge-1.6.2-mc1.20.1.jar`,
}
]
}
}
]
},
{
id: "3d_first_person",
name: "3D First Person",
additions: [
{
file: `%install_path%/mods/firstperson-fabric-2.3.4-mc1.20.1.jar`,
steps: {
http_downloads: [
{
url: "https://cdn.modrinth.com/data/H5XMjpHi/versions/UtdDBPeE/firstperson-fabric-2.3.4-mc1.20.1.jar",
path: `%install_path%/mods/firstperson-fabric-2.3.4-mc1.20.1.jar`,
} }
] ]
} }
@ -94,12 +77,12 @@ module.exports = {
name: "Plasmo Voice (Voice Chat)", name: "Plasmo Voice (Voice Chat)",
additions: [ additions: [
{ {
file: `%install_path%/mods/plasmovoice-fabric-1.20.1-2.0.8.jar`, file: `%install_path%/mods/plasmovoice-forge-1.20.1-2.0.8.jar`,
steps: { steps: {
http_downloads: [ http_downloads: [
{ {
url: "https://cdn.modrinth.com/data/1bZhdhsH/versions/WcH8MqNA/plasmovoice-fabric-1.20.1-2.0.8.jar", url: "https://cdn.modrinth.com/data/1bZhdhsH/versions/piuPs5b0/plasmovoice-forge-1.20.1-2.0.8.jar",
path: `%install_path%/mods/plasmovoice-fabric-1.20.1-2.0.8.jar`, path: `%install_path%/mods/plasmovoice-forge-1.20.1-2.0.8.jar`,
} }
] ]
} }
@ -164,7 +147,7 @@ module.exports = {
root: pkg.install_path, root: pkg.install_path,
authorization: auth, authorization: auth,
version: internalVars.mc_version, version: internalVars.mc_version,
forge: internalVars.mc_version.forge, forge: `${pkg.install_path}/forge-installer.jar`,
memory: { memory: {
max: pkg.storaged_configs?.assigned_memory ?? defaultConfig.assigned_memory, max: pkg.storaged_configs?.assigned_memory ?? defaultConfig.assigned_memory,
min: 2048 min: 2048