Adding my own mod

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Dan Vickers

New Member
Jul 29, 2019
3
0
0
HI All,

I am in the process of learning to create my own mods. I wanted to see if I could load a mod through the FTB launcher, so i created a very small mod (just added a cookie sword) and then tried to load it through the FTB launcher. I get the following error http://pastebin.com/89iKSLp9

Please can someone point me in the right direction?

Cheers

Danolax
 

Dan Vickers

New Member
Jul 29, 2019
3
0
0
After some continued searching, it looks like what I am trying to do might not be possible. Could someone please let me know if what I am trying to do is actually achievable.

Cheers

Danolax
 

Omicron

New Member
Jul 29, 2019
2,974
0
0
Depends on what it is that you want to do. Do you want to distribute the mod to other players via the launcher? If so, that is not possible unless you approach the FTB team and ask them if your mod can be included in one of the packs. Be prepared to make a very good case for yourself.

For anything else, you do not really need the launcher, all you need to do is copy the mod into the relevant place and start the FTB instance via the launcher. Your mod will load normally, unless it errors out, like in the error report you linked above (that is not a FTB launcher error, that is your mod failing to start). You can even see it when you click the "edit modpack" button in the launcher, and you can enable and disable it like any other installed mod.

Why your mod is failing to start, I'm not sure, but that looks like it's a fairly heavy error. Are you making sure your mod is Forge compatible? Remember that FTB instances run on Forge and ForgeModLoader, which may need to be approached differently than a vanilla Minecraft environment.
 

Dan Vickers

New Member
Jul 29, 2019
3
0
0
Omicron thank you for your detailed reply, it is greatly appreciated.

I am indeed trying to create a Mod for myself and hopefully at some point the server I am part of. I am currently using ModLoader and I wonder if I need to be using ForgeModLoader. I will have a crack at it and see what happens.

As I mentioned I am in the very early stages of modding but think I have some good ideas. Once I can work out how to get a very simple mod to run with the FTB launcher I will no that I can build from there.

Once again thank you for your useful information.

Kind Regards

Danolax