Why is jarmodding not supported in ftb 1.6.4+ ?

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • 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
L

LukaPix

Guest
its simple.
Why is jarmodding not supported in ftb 1.6.4 or higher ?
how to do it anyway ?
i dont care if its not supported if they force me to i rip the whole launcher apart.
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
Most mods nowadays don't need to touch minecraft.jar at all. Forge does, but it provides hooks for other mods to do most anything they need to without actually messing with vanilla Minecraft code. There are a few mods that do want to do things that Forge does not provide hooks for, but they can handle it via ASM- hacking into the Java bytecode in memory- without actually changing anything in the jar files on disk.

In short, if support for jar mods (other than Forge) has been dropped from the FTB launcher, it's because it's really not needed anymore.

However, there likely are still a few modders out there who still make jar mods (such as Optifine, maybe?), and if you really need to use such a mod, you can install it the old-fashioned way: by going into the appropriate FTB instance folder, opening up minecraft.jar, dumping in the contents of the mod in question, and deleting meta-inf.

Also note that a "jar mod", as I use the term, is not the same thing as a mod distributed as a .jar file. Things like "ThermalExpansion-[1.7.10]4.0.1-182.jar" just get dropped in the instance's mods folder wholesale, not opened up and dumped into anything.
 
  • Like
Reactions: LukaPix

GreenZombie

New Member
Jul 29, 2019
2,402
-1
0
Practically, jar modding has been deprecated because the forge has already modified all the classes, so you don't have to. Consequently, any class files you change is more than likely going to interfere with forge and break some forge mods.
 
L

LukaPix

Guest
Most mods nowadays don't need to touch minecraft.jar at all. Forge does, but it provides hooks for other mods to do most anything they need to without actually messing with vanilla Minecraft code. There are a few mods that do want to do things that Forge does not provide hooks for, but they can handle it via ASM- hacking into the Java bytecode in memory- without actually changing anything in the jar files on disk.

In short, if support for jar mods (other than Forge) has been dropped from the FTB launcher, it's because it's really not needed anymore.

However, there likely are still a few modders out there who still make jar mods (such as Optifine, maybe?), and if you really need to use such a mod, you can install it the old-fashioned way: by going into the appropriate FTB instance folder, opening up minecraft.jar, dumping in the contents of the mod in question, and deleting meta-inf.

Also note that a "jar mod", as I use the term, is not the same thing as a mod distributed as a .jar file. Things like "ThermalExpansion-[1.7.10]4.0.1-182.jar" just get dropped in the instance's mods folder wholesale, not opened up and dumped into anything.
i did that and the launcher showed up a textbox that says that jarmodding is not supported and stopped minecraft from loading ..... i only want to get around this restriction in the launcher (sorry for my maybe bad english)
so its not me dont knowing how to do it ... its the launcher blocking me doing it.....
 

McJty

Over-Achiever
Mod Developer
May 13, 2014
2,015
2,519
228
twitter.com
i did that and the launcher showed up a textbox that says that jarmodding is not supported and stopped minecraft from loading ..... i only want to get around this restriction in the launcher (sorry for my maybe bad english)
so its not me dont knowing how to do it ... its the launcher blocking me doing it.....

But why would you even want to do it? Jarmodding is almost impossible to work nicely together with other mods and Forge makes things so much easier?
 
  • Like
Reactions: LukaPix

ShneekeyTheLost

Too Much Free Time
Dec 8, 2012
3,728
3,004
333
Lost as always
What mod are you trying to jarmod anyway? There's like three that I'm aware of that exist that require it. The non-forge version of Optifine, just use the Forge version, BTW, which is explicitly NOT compatible with anything else, and... umm... okay, that's two jarmods that I'm familiar with.

jarmodding is a bad idea. It will break Forge, and make the rest of your mods unable to function. There is no reason ever to jarmod.
 
  • Like
Reactions: LukaPix

GreenZombie

New Member
Jul 29, 2019
2,402
-1
0
... There is no reason ever to jarmod.

I take exception to this statement. While - especially on these forums - we are familiar with forge and forge mods - there is a large eco system out there - mostly invisible to the forge using community - of people writing and consuming "non forge" mods. Some because they believe forge to be an unnecessary overhead, some because they find forge slow to update to new versions and that they can port faster if they don't wait for forge, and some doing modded things that arn't really supported by forge.

Liteloader is an example of a non forge modding framework - albeit that liteloader does have a forge build so that you can use liteloader and forge side by side. server modding frameworks such as cauldron and bukkit predate forge, although there are also ports of those that allow them to use their own native plugins AND support forge mods.
 

Celestialphoenix

Too Much Free Time
Nov 9, 2012
3,741
3,204
333
Tartarus.. I mean at work. Same thing really.
i did that and the launcher showed up a textbox that says that jarmodding is not supported and stopped minecraft from loading ..... i only want to get around this restriction in the launcher (sorry for my maybe bad english)
so its not me dont knowing how to do it ... its the launcher blocking me doing it.....

MultiMC has jarmod support. Should be easier than using the vanilla launcher (then again almost anything is easier than using the vanilla launcher).
 
  • Like
Reactions: LukaPix
L

LukaPix

Guest
But why would you even want to do it? Jarmodding is almost impossible to work nicely together with other mods and Forge makes things so much easier?
for installing liteloader and/or mods like ugocraft or metaworlds. Im just searching for a mod that can take parts of the world and move them in angles or keep them rotating and thats something that seems impossible with forge....
 
Last edited:

GreenZombie

New Member
Jul 29, 2019
2,402
-1
0
is there a way to import ftb packs to multimc ?
The ftb launcher, vanilla launcher and multimc all have the concept of a profile folder. This folder ( it has mods, config, saves etc as sub folders) can generally be copied between launchers without issue as long as the profile in the destination launcher is using the correct version of minecraft and forge
 
  • Like
Reactions: LukaPix

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
MultiMC also has an option in the first page of the settings to "Track FTB Instances". Just enable that, point it to the directory where you installed FTB if it doesn't figure that out on its own, and it works like a charm.

You'll still need to use the FTB launcher to download and update the packs, but MMC can modify and launch them just fine.
 
L

LukaPix

Guest
MultiMC also has an option in the first page of the settings to "Track FTB Instances". Just enable that, point it to the directory where you installed FTB if it doesn't figure that out on its own, and it works like a charm.

You'll still need to use the FTB launcher to download and update the packs, but MMC can modify and launch them just fine.

yeah thanks its so easy to install jar mods now :D but im still searching for a forge compatible mod that can move parts of the world at angles for 1.7.10 :/
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
yeah thanks its so easy to install jar mods now :D but im still searching for a forge compatible mod that can move parts of the world at angles for 1.7.10 :/
You mean... WorldEdit? Pretty sure that has a Forge-friendly version, though I've no clue how recently it's been updated.

Also, ChromatiCraft has a (very endgame) ability called World Shift that may or may not be able to do what you're looking for (I haven't managed to get it to work yet).
 
  • Like
Reactions: LukaPix
L

LukaPix

Guest
You mean... WorldEdit? Pretty sure that has a Forge-friendly version, though I've no clue how recently it's been updated.

Also, ChromatiCraft has a (very endgame) ability called World Shift that may or may not be able to do what you're looking for (I haven't managed to get it to work yet).

im already playing with chromaticraft maybe i should look for it ! but i dont mean worldedit like rotation i mean "real" rotation like this :
 

ShneekeyTheLost

Too Much Free Time
Dec 8, 2012
3,728
3,004
333
Lost as always
The sliding doors can be done with Redstone In Motion. The only one that can't be done easily is the one where the door opens outward. As far as windmills, there are actual, functional windmills in Immersive Engineering.
 
L

LukaPix

Guest
The sliding doors can be done with Redstone In Motion. The only one that can't be done easily is the one where the door opens outward. As far as windmills, there are actual, functional windmills in Immersive Engineering.
is it possible to code something like that in forge ?
 

ShneekeyTheLost

Too Much Free Time
Dec 8, 2012
3,728
3,004
333
Lost as always
is it possible to code something like that in forge ?
Don't see why not. It's been done a couple of times in previous iterations. I just don't know if there's a mod out currently that can do it. Remain In Motion (the successor to Redstone In Motion) was out for 1.7.10 and was pretty much 'move stuff in world'. Carpenter's Blocks in 1.7.10 also had 'garage doors' that slid up and opened, as well as several other types of multiblock doors that you could make in any type of material.