Jump to content

[Solved]Texture errors: ./gradlew runClient vs Eclipse run java application


aw_wolfe

Recommended Posts

I've noticed and would finally like to fix my issue of custom textures not loading when I run from eclipse...I've been dealing with it, but it is getting old.

here is the issue

I have custom textures in src/main/resources/assets/seasonsmod/textures/items

I point to them in individual json files like:

 

{
    "parent": "item/generated",
    "textures": {
        "layer0": "seasonsmod:items/thermometer"
    }
}

Building and running from ./gradlew works. The texures load.... ./gradlew build   ....  ./gradlew runClient

However, running from Eclipse, the textures do not load (I get the pink square image).  If, however, I copy the files into bin/assets/seasonsmod/textures/items  the textures will load the first time I run from Eclipse, but running a second time causes the textures in the directory (bin/assets/seasonsmod/textures/items) to be erased and once again I get the pink square texture.

 

Is this a project setting error in Eclipse? (I have build automatically off...but have tried both ways). Anyone know what my issue is?

 

Thanks,

Tony

 

 

Solved: I deleted the bin,build, eclipse folder. re-ran ./gradlew eclipse and haven' yet noticed the issue again.

Edited by aw_wolfe
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.