Skip to content

API is not in the compile classpath #2

@SHsuperCM

Description

@SHsuperCM

Rarely when restarting the game instance without fully closing it first, the API is not in the compile classpath which mainly causes entrypoint annotations to fail with

> Task :1.20.6:compileJava

...

error: package io.shcm.shsupercm.fabric.fletchingtable.api does not exist
import io.shcm.shsupercm.fabric.fletchingtable.api.Entrypoint;
                                                  ^
                                                  
...

error: cannot find symbol
    @Entrypoint(Entrypoint.CLIENT) public static void registerAssetsReload() {
                ^
  symbol:   variable Entrypoint

...

> Task :1.20.6:compileJava FAILED

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions