Skip to content

Java documentation incompatible with standard NeoForge gradle #347

@no-name-provided

Description

@no-name-provided

Describe the bug
The "val" keyword isn't available in Java projects. Similarly, String::class needs to be replaced by String.class. Are you implicitly assuming a Kotlin environment?

I'd also recommend replacing your placeholder with a valid version specification and commenting about changing it to the desired version.

To Reproduce
n/a

Expected behavior
The setup snippets to work out-of-the-box, or contain comments describing how they can be modified. As-is, it causes unnecessary headaches.

Screenshots
n/a

Desktop (please complete the following information):
n/a

Additional context
Add any other context about the problem here.
Page with suboptimal code: https://lambdaurora.dev/projects/lambdynamiclights/docs/v4/

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions