Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixin has no targets in example mod 1.20 #283

Open
Coloryr opened this issue May 8, 2024 · 1 comment
Open

Mixin has no targets in example mod 1.20 #283

Coloryr opened this issue May 8, 2024 · 1 comment

Comments

@Coloryr
Copy link

Coloryr commented May 8, 2024

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'。

@AnarchadiaMC
Copy link

Getting the same problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants