Changed

Changed

184k Downloads

编译时错误(compile-time error)1

cecnull1 opened this issue · 2 comments

commented
18:09:04: 正在执行 'runClient'…


> Configure project :
MixinGradle is skipping eclipse integration, extension not found
Java: 17.0.8.1 JVM: 17.0.8.1+1-LTS(Microsoft) Arch: amd64
WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task
WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here.  Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula.

> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createMcpToSrg UP-TO-DATE

> Task :compileJava
注: SpongePowered MIXIN Annotation Processor Version=0.8.5 (MixinGradle Version=0.7)
注: Supported obfuscation types: ObfuscationServiceMCP supports [notch] ObfuscationServiceFG3 supports [searge]
注: Loading searge mappings from E:\我妈电脑 - cecnull1的东西(共享文件夹)\通用\项目\1\Changed-Minecraft-Mod\build\createMcpToSrg\output.tsrg
E:\我妈电脑 - cecnull1的东西(共享文件夹)\通用\项目\1\Changed-Minecraft-Mod\src\main\java\net\ltxprogrammer\changed\mixin\compatibility\CarryOn\PickupHandlerMixin.java:16: 错误: Unable to locate obfuscation mapping for @Inject target canPlayerPickUpEntity
    @Inject(method = "canPlayerPickUpEntity", at = @At("HEAD"), cancellable = true)
    ^
注: Writing refmap to E:\我妈电脑 - cecnull1的东西(共享文件夹)\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-refmap.json
注: Writing refmap to E:\我妈电脑 - cecnull1的东西(共享文件夹)\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-refmap.json
注: Writing searge composite mappings to E:\我妈电脑 - cecnull1的东西(共享文件夹)\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-mappings.tsrg
注: Writing refmap to E:\我妈电脑 - cecnull1的东西(共享文件夹)\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-refmap.json
注: Writing refmap to E:\我妈电脑 - cecnull1的东西(共享文件夹)\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-refmap.json
注: Writing searge composite mappings to E:\我妈电脑 - cecnull1的东西(共享文件夹)\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-mappings.tsrg
1 个错误

> Task :compileJava FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
4 actionable tasks: 2 executed, 2 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* 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

BUILD FAILED in 6s
18:09:11: 执行完成 'runClient'。
commented

没有加rafmap=flase

commented

没有加rafmap=flase

在哪里加?(还有,《flase》)