Skip to content

Mixin has no targets in example mod 1.20 #283

@Coloryr

Description

@Coloryr

Gen zip 1.20
Import project template-mod-template-1.20

下午3:28:33: 正在执行 'build'…


> Configure project :
Fabric Loom: 1.6.11

> Task :checkKotlinGradlePluginConfigurationErrors
> Task :processResources
> Task :sourcesJar
> Task :processTestResources NO-SOURCE
> Task :validateAccessWidener NO-SOURCE
> Task :remapSourcesJar
> Task :compileKotlin

> Task :compileJava FAILED
6 actionable tasks: 6 executed
H:\fabric\template-mod-template-1.20\src\main\java\com\example\mixin\ExampleMixin.java:9: ����: Mixin has no targets
@Mixin(MinecraftServer.class)
^
H:\fabric\template-mod-template-1.20\src\main\java\com\example\mixin\ExampleMixin.java:3: ����: �����net.minecraft.server������
import net.minecraft.server.MinecraftServer;
                           ^
H:\fabric\template-mod-template-1.20\src\main\java\com\example\mixin\ExampleMixin.java:9: ����: �Ҳ�������
@Mixin(MinecraftServer.class)
       ^
  ����: �� MinecraftServer
3 ������

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 --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 10s
下午3:28:44: 执行完成 'build'。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions