IntelliJ IDEA: runClient task: textures not shown

Hi all, I'm here to ask again for some help with modding with IntelliJ IDEA.

When I run gradle task runClient, textures are not shown:

Custom block computerBlock has no texture when running mod from IntelliJ IDEA

​

Custom block computerBlock has no texture when running mod from IntelliJ IDEA

​

However, when I build the project and put the mod .jar file in the mods directory of my standard Minecraft installation, all textures are shown:

​

Textures are shown when testing mod with standard Minecraft installation

​

Textures are shown when testing mod with standard Minecraft installation

Here's the build directory in my project:

​

Assets available, but ignored when running client from IntelliJ IDEA

Did anyone experienced a similar issue? I'm running crazy

-- EDIT --

The solution seems to be to not delegate to not delegate build to Gradle, as explained here.

​

If you build and run project using IntelliJ IDEA rather than Gradle it works in both the development environment and the standard Minecraft client

Posted Dec 1, 2019, 1:29 PM UTC · edited

04
Loading comments…