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

Started by der_wolf_YT on Tue, 01/23/2018 - 00:05

Topic category: Advanced modding

Last seen on 23:32, 21. Feb 2018
Joined Mar 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Import another mods SRC´s and make it work in MCreator
Tue, 01/23/2018 - 00:05

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

Last seen on 02:07, 12. Mar 2020
Joined Nov 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?

Last seen on 23:32, 21. Feb 2018
Joined Mar 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 23:32, 21. Feb 2018
Joined Mar 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 02:07, 12. Mar 2020
Joined Nov 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

 

Last seen on 23:32, 21. Feb 2018
Joined Mar 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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!

Last seen on 02:07, 12. Mar 2020
Joined Nov 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 16:30, 8. Oct 2018
Joined May 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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. 

Last seen on 16:30, 8. Oct 2018
Joined May 2018
User points:

User statistics:

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

ah, never mind, thaumcraft has a dependancy.

Last seen on 17:54, 25. Sep 2019
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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. 

Last seen on 17:34, 14. Sep 2020
Joined Dec 2017
User points:

User statistics:

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

java != javascript

Last seen on 21:39, 3. Jun 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?

Last seen on 17:20, 26. Oct 2020
Joined Apr 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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