Console stays empty when creating a new mod element (Gradle)

Started by ShadZ on

Topic category: Help with MCreator software

Last seen on 22:22, 11. Oct 2024
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Console stays empty when creating a new mod element (Gradle)
Sun, 08/04/2024 - 20:32 (edited)

Hey there,

 

I ran into a problem where MCreator 2024.2 does not start the Gradle action when creating a new mod element.

For example:

  • When creating a new block the console stays empty when saving
  • This block is not in the game (not in creative menu or anywhere else)
  • However, when I delete this block out of my workspace, the console shows a successful build for deleting it

This happens for every single type of mod element. Creating or editing an item, procedure, structure, etc. None of them is in the game afterwards. This means that this also happens to already existing ones. Changes cannot be seen in the game (except swapping out textures).

 

My attempted solutions:

  • reinstalled MCreator
  • deleted gradle-cache folder (like explained on the forum)
  • deleted gradle folder (like explained on the forum)
  • regenerated code and build
  • unlocked all locked elements (and back)
  • used a backup where it was still working
  • tried loading other workspaces (other projects) -> same problem

 

I don't have any errors in the console. I can also start the game with the gradle loading.

Is there anything else I can do? Yesterday it still worked. I only added a block where afterward I changed the ID (the only thing where the Gradle had to change the workspace according to the new ID of the block).

The problem only occurs in 2024.2.


Thanks in advance.

Edited by ShadZ on Sun, 08/04/2024 - 20:32
This is normal in 2024.2. If…
Mon, 08/05/2024 - 18:16

This is normal in 2024.2. If you want to build when mod element is added, you can re-enable this in preferences

Last seen on 22:22, 11. Oct 2024
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah, thank you... it can be…
Mon, 08/05/2024 - 23:03

Ah, thank you... it can be so simple sometimes.
Can’t remember deactivating it. Didn’t even know it existed. It worked for a day after upgrading to 2024.2.

How else would it have compiled the new mod elements?

It compiles them only when…
Tue, 08/06/2024 - 14:13

It compiles them only when needed, e.g. when exporting or running client to preserve power

Last seen on 22:22, 11. Oct 2024
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok.I was just wondering…
Tue, 08/06/2024 - 14:38

ok.
I was just wondering because my mod elements were not appearing in the game when running the client :/