Skip to content

Model Loader dosen't find model json #66

@TKFRvisionOfficial

Description

@TKFRvisionOfficial

Caused by: java.io.FileNotFoundException: whatever_mod:models/item/tutorial_item.json

This results in the item having no texture at all. The same thing happens in an normal Java project. It has something to do with IntelliJ Idea. The workaround in a Java project is to at at the bottom of the "build.gradle" file sourceSets { main { output.resourcesDir = output.classesDir } }. This workaround does not work with Forgelin! The only way I could get it to run was by running it via gradlew runClient. But this is a very slow and bad solution.

I am using Alex Couch tutorial mod (after updating gradle to 4.9, changing the project kotlin version to my version ext.kotlin_version = '1.3.61' and adding apply plugin: 'kotlin' to build.gradle) and IntelliJ Idea Ultimate 2019.3!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions