itzg/docker-minecraft-server

Old Minecraft Forge Versions not working

Open

#2,303 建立於 2023年7月24日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Shell (13,694 star) (1,858 fork)batch import
enhancementhelp wanted

描述

Describe the problem

Minecraft 1.4.7 with Forge Version 6.6.1.529 is not working. I get itzg.helpers.errors.GenericException: Failed to locate forge installer Error.

Container definition

Image:  itzg/minecraft-server:java8-multiarch

    environment:
      TYPE: "FORGE"
      OVERRIDE_SERVER_PROPERTIES: "false"
      EULA: "TRUE"
      VERSION: "1.4.7"
      FORGE_VERSION: 6.6.1.529
      GUI: "FALSE"
      INIT_MEMORY: "1G"
      MAX_MEMORY: "12G"
      USE_AIKAR_FLAGS: "true"
      JVM_XX_OPTS: "-XX:+UseG1GC"

Container logs

 mc  | [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 Jul 24 10:51 /data'

 mc  | [init] Resolved version given 1.4.7 into 1.4.7 and major version 1.4

 mc  | [init] Resolving type given FORGE

 mc  | [ mc-image-helper] 10:51:14.594 INFO  : Downloading Forge installer 6.6.1.529 for Minecraft 1.4.7

 mc  | [ mc-image-helper] 10:51:15.922 ERROR : 'install-forge' command failed. Version is 1.29.0

 mc  | me.itzg.helpers.errors.GenericException: Failed to locate forge installer

 mc  |    at me.itzg.helpers.forge.ForgeInstaller.downloadInstaller(ForgeInstaller.java:398)

 mc  |    at me.itzg.helpers.forge.ForgeInstaller.downloadAndInstall(ForgeInstaller.java:258)

 mc  |    at me.itzg.helpers.forge.ForgeInstaller.install(ForgeInstaller.java:134)

 mc  |    at me.itzg.helpers.forge.InstallForgeCommand.call(InstallForgeCommand.java:84)

 mc  |    at me.itzg.helpers.forge.InstallForgeCommand.call(InstallForgeCommand.java:16)

 mc  |    at picocli.CommandLine.executeUserObject(CommandLine.java:2041)

 mc  |    at picocli.CommandLine.access$1500(CommandLine.java:148)

 mc  |    at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)

 mc  |    at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)

 mc  |    at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)

 mc  |    at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)

 mc  |    at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)

 mc  |    at picocli.CommandLine.execute(CommandLine.java:2170)

 mc  |    at me.itzg.helpers. mcImageHelper.main( mcImageHelper.java:139)

 mc  | [init] ERROR failed to install Forge

 mc exited with code 1
```

貢獻者指南

Old Minecraft Forge Versions not working · itzg/docker-minecraft-server#2303 | Good First Issue