Added support for downloading mods from Modrinth (#1577)

This commit is contained in:
Geoff Bourne
2022-06-27 09:08:21 -05:00
committed by GitHub
parent 8d7a5275a8
commit 7001f2bcba
10 changed files with 143 additions and 70 deletions

View File

@@ -9,6 +9,7 @@ services:
GENERIC_PACKS: testing
GENERIC_PACKS_PREFIX: /packs/
GENERIC_PACKS_SUFFIX: .zip
DEBUG: "true"
volumes:
- ./packs:/packs
- ./data:/data

View File

@@ -18,6 +18,7 @@ services:
TYPE: CUSTOM
CUSTOM_SERVER: /servers/fake.jar
VERSION: 1.18.1
DEBUG: "true"
volumes:
- ./packs:/packs
- ./data:/data

View File

@@ -0,0 +1,15 @@
version: "3"
services:
mc:
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
environment:
EULA: "true"
SETUP_ONLY: "true"
TYPE: FABRIC
FABRIC_LAUNCHER: /servers/fake.jar
CUSTOM_SERVER: /servers/fake.jar
MODRINTH_PROJECTS: fabric-api,cloth-config
volumes:
- ./data:/data
- ./fake.jar:/servers/fake.jar

View File

View File

@@ -0,0 +1 @@
mc-image-helper assert fileExists "mods/cloth-config-*.jar" "mods/fabric-api-*.jar"