Версия Minecraft
1.12.2
API
Forge
◿ Forge Workspace Setup: Standalone 1.12.2
◿ McModding Учебник


DOWNLOAD MOD: https://cdn.discordapp.com/attachments/978730792945590272/993529162792964197/forgeworkspace.zip (с моей текущей ситуацией.)

Текущий этап: Сборка мода. За сборку исходников мода отвечает задача(Task) build из одноименной группы. При выполнении произошёл проблемс

Всем снова драсте. Новый проблемс. Работаю со скаченным файлом Forge Workspace (ниже ссылка на материал)
Мои догадки, данный вывод произошёл из-за пропущенных, следующих тем в учебнике:

▞ Cобственный скин
▞ Структура мода
▞ Аннотация @mod
▞ Стадии загрузки мода
▞ Прокси

Forge Workspace Setup: Standalone 1.12.2

Я прочитал эти темы, но вроде в файле уже всё есть. По этому и пропустил.

Единственно что было выполнено:
src ▸ main ▸ resources ▸ mcmod.info ▸modid, name
mcmod.info:
[{
"modid": "${newblocks}",
"name": "${New Blocks}",
"description": "${mod_description}",
"version": "${1.0.0}",
"mcversion": "${1.12.2}",
"url": "",
"updateUrl": "",
"authorList": ["${FalconXm}"],
"credits": "",
"logoFile": "${mod_icon}",
"screenshots": [],
"dependencies": []
}]

src ▸ main ▸ java ▸ com.integral.examplemod ▸ proxy ▸ ExampleMod
ExampleMod:
@Mod(modid = ExampleMod.MODID, version = ExampleMod.VERSION, name = ExampleMod.NAME)
public class ExampleMod {
    public static final String MODID = "newblocks";
    public static final String NAME = "New Blocks";
    public static final String VERSION = "1.0.0";

screenshot11.png

LOG 1 - ForgeWorkspaceSetup-1.12.2
17:44:09: Executing 'build'... > Task :deobfCompileDummyTask > Task :deobfProvidedDummyTask > Task :sourceApiJava > Task :compileApiJava NO-SOURCE > Task :processApiResources NO-SOURCE > Task :apiClasses UP-TO-DATE > Task :sourceMainJava > Task :compileJava > Task :processResources FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processResources'. > Could not copy file 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\src\main\resources\mcmod.info' to 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\build\resources\main\mcmod.info'. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 2s 6 actionable tasks: 6 executed 17:44:12: Execution finished 'build'.

LOG 2 - : process Resources
> Task :processResources FAILED Execution failed for task ':processResources'. > Could not copy file 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\src\main\resources\mcmod.info' to 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\build\resources\main\mcmod.info'. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

LOG 3 - Could not copy file 'A:\Minecraft Modding\forgeworkspace\ForgeWo...
Execution failed for task ':processResources'. > Could not copy file 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\src\main\resources\mcmod.info' to 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\build\resources\main\mcmod.info'. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
 
Краш-лог
======================================================================
LOG 1
======================================================================

16:09:47: Executing 'build'...

> Task :deobfCompileDummyTask
> Task :deobfProvidedDummyTask
> Task :sourceApiJava UP-TO-DATE
> Task :compileApiJava NO-SOURCE
> Task :processApiResources NO-SOURCE
> Task :apiClasses UP-TO-DATE
> Task :sourceMainJava UP-TO-DATE
> Task :compileJava UP-TO-DATE
> Task :processResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processResources'.
> Could not copy file 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\src\main\resources\mcmod.info' to 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\build\resources\main\mcmod.info'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 0s
6 actionable tasks: 3 executed, 3 up-to-date
16:09:48: Execution finished 'build'.
======================================================================
LOG 2
======================================================================
> Task :processResources FAILED

Execution failed for task ':processResources'.
> Could not copy file 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\src\main\resources\mcmod.info' to 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\build\resources\main\mcmod.info'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

======================================================================
LOG 3
======================================================================
Execution failed for task ':processResources'.
> Could not copy file 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\src\main\resources\mcmod.info' to 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\build\resources\main\mcmod.info'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Краш-лог:
======================================================================
LOG 1
======================================================================

16:09:47: Executing 'build'...

> Task :deobfCompileDummyTask
> Task :deobfProvidedDummyTask
> Task :sourceApiJava UP-TO-DATE
> Task :compileApiJava NO-SOURCE
> Task :processApiResources NO-SOURCE
> Task :apiClasses UP-TO-DATE
> Task :sourceMainJava UP-TO-DATE
> Task :compileJava UP-TO-DATE
> Task :processResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processResources'.
> Could not copy file 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\src\main\resources\mcmod.info' to 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\build\resources\main\mcmod.info'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 0s
6 actionable tasks: 3 executed, 3 up-to-date
16:09:48: Execution finished 'build'.
======================================================================
LOG 2
======================================================================
> Task :processResources FAILED

Execution failed for task ':processResources'.
> Could not copy file 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\src\main\resources\mcmod.info' to 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\build\resources\main\mcmod.info'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

======================================================================
LOG 3
======================================================================
Execution failed for task ':processResources'.
> Could not copy file 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\src\main\resources\mcmod.info' to 'A:\Minecraft Modding\forgeworkspace\ForgeWorkspaceSetup-1.12.2-standalone\ForgeWorkspaceSetup-1.12.2-standalone\build\resources\main\mcmod.info'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Вложения

  • screenshot10.png
    screenshot10.png
    109.8 KB · Просмотры: 1
Сверху