Import another mods SRC´s and make it work in MCreator

Started by der_wolf_YT on

Topic category: Advanced modding

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Import another mods SRC´s and make it work in MCreator

For this tutorial, i will use the Source Code of BuildBroken´s Wooden Rails in MC 1.7.10 and You can do the same with another mods without another mod dependencies (You cant use Mods like Buildcraft or IC2)

First of all, Do an Backup of your entire MCreator´s installation folder, then Make another backup in the desktop (In this instance i will call it ´´test´´), then delete all the workspace´s mods (Yeah, thats why the two backups), let it finish the task and close mcreator.

Download an source code of an mod (Again, its of BuildBroken´s Wooden Rails) and unzip its contents in the desktop

Then open the folder where you located the MCreator (The one you cleaned of mods) and go to forge/src/main/java/mod and you´ll see an folder called ´´Mcreator´´, do the same with the Source code you just downloaded (Instead of mod, it can be named com or net), open the folder and copy the inside (In this case its BuildBroken), paste inside forge/src/main/java/mod and NOT inside MCreator´s folder, close the file manager´s windows and open MCreator

Go to Code section and you´ll be able of editing the man code of the mod.

And, Thats all! i will finish Wooden Rails mod

Images coming soon

Joined Nov 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have been looking for…
Tue, 01/23/2018 - 01:53

I have been looking for someone to post something about this!!!! So lets say that I wanted to make a mod that expanded on the concept of BB's Wooden Rails, and I needed to make one of BB's wooden rails, an ingredient for a diamond rail's recipe of a Mcreator mod, doing this would allow me to do so? Could I then just export as normal?

Doing this will make BB's Wooden Rails a required mod for my Mcreator mod to work which is exactly what I'm looking for. Is that right?

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you want to modify an…
Tue, 01/23/2018 - 21:25

If you want to modify an existent (or add mod parts to) SRC, you´ll need to add the item inside the mod´s domain folder (IF you use Wooden Rails as base, you´ll need to place it inside the domain´s root folder, it is exactly, if you done well what i said, in:  C:\Users\(Your PC)\Desktop\Test\forge\src\main\java\mod\builtbroken\woodenrails), then build it with MCreator

If you want to add a new Rail, You'll need to know basic java script programming, Remember to add the imports, APIs and Class extensions to the mod class (I can explain better to you, if you need)

You can export as normal, Just rename the mod (In the export screen) To BuildMod + (the name of the mod)

You can make derivations of this SRC, Since its open sourced

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And one more thing, You…
Tue, 01/23/2018 - 21:48

And one more thing, You NEVER, NEVER and NEVER will rip the mod's source code without giving credit to the one who made it.

Joined Nov 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for replying!…
Wed, 01/24/2018 - 03:45

Thanks for replying!

I see what you say now.  I was looking to do something more along the lines of an addon, to another mod in case I needed to go that way. How things are looking right now I think I'm just gonna try and use the ore dictionary for compatibility.

I'm new to this, but hey I looked inside a source code for the very first time with your instructions. My intention is to try and use an API in the future to make mods in Mcreator. I don't know if that would be possible. I don't know if at that point I'd be better off coding it outside of mcreator itself.

 

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Once you get familiar with…
Wed, 01/24/2018 - 22:01

Once you get familiar with the mod coding itself, MCreator losses all barriers!

I can help you to make an working mod,and  encode the entire mod!

Joined Nov 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you think you could help…
Sat, 01/27/2018 - 01:56

Do you think you could help me out creating my very first event handler? I haven't had luck here or the minecraft forums yet.

package mod.mcreator;

public class MyEventHandler
{
     @SubscribeEvent
     public void debark(HarvestDropsEvent event)
     {
      Right click on birch wood with an axe and replace it with a debarked birch log. Also drop item birch bark on the ground.      
     }
     
}

That's what I got I don't know whats next.

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, just looking to make a…
Mon, 10/08/2018 - 16:18

Hey, just looking to make a bridge mod between Thaumcraft and botania garden of glass by making a new oreBlock that is just a geode for the primal vis crystals. when I make a new block, I can't make it drop anything from thaumcraft. I am pretty sure I imported it right. 

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ah, never mind, thaumcraft…
Mon, 10/08/2018 - 16:30

ah, never mind, thaumcraft has a dependancy.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I decompile the mod I…
Thu, 06/20/2019 - 23:16

How do I decompile the mod I want to edit. I'm trying to make the dragons from Dragon Mounts 2 only spawn in their respective dimensions which I made in mcreator, but I can't get the mod to decompile and deobfuscate so I can access the src file. I've tried numerous decompiling applications, but nothing has worked. I think im doing something wrong but I don't know, please help. 

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
java != javascript
Fri, 06/21/2019 - 05:55

java != javascript

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so i'm trying to add…
Mon, 01/27/2020 - 17:33

so i'm trying to add orespawn to mcreator so i can make it 1.14.4. is that possible?

Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, because you need…
Wed, 05/20/2020 - 08:20

No, because you need orespawns source code which was made in 1.7.10. you would have to completely remake the mod. Unless the update it but i doubt they will

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Does the mod to be open…
Sun, 12/13/2020 - 13:39

Does the mod to be open source for this?