Copying mod elements.

Started by StellaeLux on Sat, 09/07/2019 - 14:03

Topic category: Help with MCreator's application

Last seen on 22:17, 20. Oct 2019
Joined Aug 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Copying mod elements.
Sat, 09/07/2019 - 14:03

(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.

Last seen on 22:17, 20. Oct 2019
Joined Aug 2019
User points:

Statistics:

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

Thanks for the response! That sounds even better.