Skip to content

VSCode Issues with Classpaths/Configurations #37

@Blue-Beaker

Description

@Blue-Beaker

When I include CraftTweaker2-MC1120-Main in dependencies, CraftTweaker API is loaded into classpath in the editor instead.
This makes me unable to auto-complete anything in the crafttweaker.api.minecraft package. However runClient worked fine.

Environment: Kubuntu 22.04, VSCode + Extension pack for Java, java.import.gradle.java.home set to my jdk21
图片

My dependencies.gradle
https://gist.github.com/Blue-Beaker/39dd42e9756173f01ba83bfa936f5c00

Also I have

# Dependencies
version_crafttweaker=1.12-4.1.20.689

in my gradle.properties.

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