Copying mod elements.

Started by StellaeLux on

Topic category: Help with MCreator software

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Copying mod elements.

(On mac)

When going to MacIntosh/Users/yourname/MCreatorWorkspaces/nameofproject/ you'll find multiple folders: Build, Elements, Gradle, Models, Run, Sounds, SRC, Structures, Textures.

In the structure and texture folder here, you obviously find all the textures and structures you imported and may or may not have used.

When going to SRC, you'll find everything you have in use: SRC/main/java/net/mcreator/nameofproject contains all the java files. SRC/main/resources includes the json, png's ogg files and language.

A (near?) exact same folder as SRC/main can be found in the build folder: /projectname/build/resources

And a compiled version of SRC/main/java/net/mcreator/nameofproject can be found in /projectname/build/classes/java/net/mcreator/nameofproject.

The elements folder additionally includes a lot of json files.

--------------------------------------------------------------------------------------------------------------------------------

So my question is: If you want to copy specific mod elements to another project, how would you be able to do that? So far whenever I copied everything over nothing changed inside of my workspace. Only when adding textures or NBT files into the first structures & textures folders has it included them among the sea of imported files in Resources, but when it comes to Mod Element; no success.

With certain projects crashing and the "remove broken mod elements" thingy not helping, it would be very useful to know how to quickly copy all functional mod elements over to another project saving you time having to rebuild everything.

Is it possible to just copy mod elements over and if so, how?

It would be quite hard to…
Sun, 09/08/2019 - 09:34

It would be quite hard to successfully copy mod elements to another project, we plan to add official way to do this in the future updates.

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for the response!…
Sun, 09/08/2019 - 11:20

Thanks for the response! That sounds even better.

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've also been wondering how…
Tue, 10/06/2020 - 16:16

I've also been wondering how to do this. Has it been updated yet or is there another way?