I can't figure out how to do this - I want to run a mod along side my own mod (in progress), to see how they work together. However, when I put the external mod in the mods folder in the eclipse folder my code won't compile and Minecraft crashes. How do I run mods along side mine?
I want to create a fast travel gui that takes VoxelMap's points and allows for user teleportation (I know that VoxelMap has a fast travel feature - I'm doing this as an exercise for personal growth). So I need to have VoxelMaps run along my mods so I can access its waypoints folder.
But this also begs the question: How do I access folders inside the mod folder? (Where VoxelMap saves its points)
To make the VoxelMap load with yours, you have to set it as a required-after dependency (I'll tell you how), and to actually use it as a library. This means, you need to deobfuscate it, and well... that's not fun. If you pass me the mod, I'll be able to deobfuscate it for you. Anyway, the dependency one is actually pretty easy to do.
First example for making the mod actually load after another one:
To get the mod folder however, you need to get the main minecraft directory. What I do, is just make a dummy file, and point it to the direction, 'here'. But, I recommend you to just use the normal way. Which is just,
Minecraft.getMinecraft().getMinecraftDir()
. Or something close to that.
Now, the mods folder. To make it, you need the main minecraft folder. Which is explained above.
new File(Minecraft.getMinecraft().getMinecraftDir(), "mods")
This should help you. But it only works for the client side! Don't use it for anything other, than the player's game, or you will cause a severe crash.
You'll need CodeChickenCore in your mods folder too.
Damn. I missed that. Whatever.
OP, I hope you don't miss this message. It's crucial in testing with other mods. Of course, this means that you don't need de-obfuscate the mod... which is a good side I guess.
So I'm guessing all I need to do is add VoxelMap into my dependencies?
Also, how would I figure out VoxelMap's modid? (if that's all need to use for the dependencies)
Well, if your mod requires you to have VoxelMap, you're going to need to add VoxelMap as a library, and not drag-and-drop in the mods folder.
Well, to figure it out, you either, want to decompile it, or just use some kind of system to just grab the modid, and print it out to the console.
(I'll try to find out a method.)
EDIT:
This should print the modid into the console. Change however you need.
Method: (Change the class into the main Class Voxel map uses.)
if (mod_ZanMinimap.class.isAnnotationPresent(Mod.class)) {
final Mod zan = mod_ZanMinimap.getDeclaredAnnotation(Mod.class);
System.out.printLn(zan.modid());
}
I just built the path to the .jar and now it's where all the other libraries are.
Here's the crash report:
---- Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]
Time: 27/07/14 2:32 AM
Description: There was a severe problem during mod loading that has caused the game to fail
cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.client.Minecraft.func_71410_x()Lnet/minecraft/client/Minecraft;
at cpw.mods.fml.common.LoadController.transition(LoadController.java:162)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:695)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:596)
at net.minecraft.client.Minecraft.run(Minecraft.java:941)
at net.minecraft.client.main.Main.main(Main.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at GradleStart.bounce(GradleStart.java:108)
at GradleStart.startClient(GradleStart.java:101)
at GradleStart.main(GradleStart.java:56)
Caused by: java.lang.NoSuchMethodError: net.minecraft.client.Minecraft.func_71410_x()Lnet/minecraft/client/Minecraft;
at com.thevoxelbox.voxelmap.VoxelMap.(VoxelMap.java:45)
at com.thevoxelbox.voxelmap.forge.ClientProxy.postInit(ClientProxy.java:17)
at com.thevoxelbox.voxelmap.forge.VoxelMapMod.postInit(VoxelMapMod.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:694)
... 17 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_11, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 953341896 bytes (909 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.18.1180 Minecraft Forge 10.13.0.1180 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
FML{7.10.18.1180} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.0.1180.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
Forge{10.13.0.1180} [Minecraft Forge] (forgeSrc-1.7.10-10.13.0.1180.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
voxelmap{1.7.10} [VoxelMap No Radar] (Zans-Minimap-No-Radar-Mod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Errored
CodeChickenCore is actually meant to deobfuscate any mod at runtime. I am not sure if it works, but you should try that before doing anything else.
How would I use CodeChickenCore and this? What would I do with the mods?
Edit:
Figured it out thanks to all of you!
Here's what I did (for anyone wondering the same thing):
1. Figure out the MOD ID for the mod you're dependent on, you can use the method that master801 posted here or you can do what I did: Build a path to the mod (as a library) and if their classes are labelled nicely you can using find the ID off a static object.
2. Get CodeCoreChicken
3. Remove the path for the mod library (if you found the ID using it as a library)
4. Put CodeCoreChicken and the mod you want to run alongside in the mods folder in your editor's folder (mine was eclipse).
5. In your @mod attribute add dependencies, it should look something like this:
@Mod(modid = Reference.MOD_ID, name = Reference.name, version = Reference.version, dependencies = "required-after:modid; reguired-after:modid2; .... ")
I can't seem to access the mods folder when I compile the mod.
I had everything up and running in the dev kit where I would access the VoxelMap waypoint text at mods/VoxelMods/voxelMap/worldname.points and then use that data to teleport the player to the desired waypoint. When I exported the mod, this didn't work and now I just crash.
Here's the relevant code:
File method:
private File getFile(){
String world_name = Minecraft.getMinecraft().getIntegratedServer().getWorldName();
System.out.println("Debug.worldname "+ world_name);
File dir = new File(Minecraft.getMinecraft().mcDataDir, "mods/VoxelMods/voxelMap/"+world_name+".point");
return dir;
}
Crash report (for Multiplayer):
---- Minecraft Crash Report ----
// I blame Dinnerbone.
java.lang.NullPointerException: Unexpected error
at com.lucrecious.armorconstruct.gui.GuiFastTravel.getFile(GuiFastTravel.java:123)
at com.lucrecious.armorconstruct.gui.GuiFastTravel.(GuiFastTravel.java:34)
at com.lucrecious.armorconstruct.handlers.GuiHandlerAC.getClientGuiElement(GuiHandlerAC.java:25)
at cpw.mods.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:263)
at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:93)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2208)
at com.lucrecious.armorconstruct.items.FastTravelMap.func_77659_a(FastTravelMap.java:22)
at net.minecraft.item.ItemStack.func_77957_a(ItemStack.java:144)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78769_a(PlayerControllerMP.java:377)
at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1463)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1941)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
I can't seem to access the mods folder when I compile the mod.
I had everything up and running in the dev kit where I would access the VoxelMap waypoint text at mods/VoxelMods/voxelMap/worldname.points and then use that data to teleport the player to the desired waypoint. When I exported the mod, this didn't work and now I just crash.
Here's the relevant code:
File method:
private File getFile(){
String world_name = Minecraft.getMinecraft().getIntegratedServer().getWorldName();
System.out.println("Debug.worldname "+ world_name);
File dir = new File(Minecraft.getMinecraft().mcDataDir, "mods/VoxelMods/voxelMap/"+world_name+".point");
return dir;
}
Crash report (for Multiplayer):
---- Minecraft Crash Report ----
// I blame Dinnerbone.
java.lang.NullPointerException: Unexpected error
at com.lucrecious.armorconstruct.gui.GuiFastTravel.getFile(GuiFastTravel.java:123)
at com.lucrecious.armorconstruct.gui.GuiFastTravel.(GuiFastTravel.java:34)
at com.lucrecious.armorconstruct.handlers.GuiHandlerAC.getClientGuiElement(GuiHandlerAC.java:25)
at cpw.mods.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:263)
at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:93)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2208)
at com.lucrecious.armorconstruct.items.FastTravelMap.func_77659_a(FastTravelMap.java:22)
at net.minecraft.item.ItemStack.func_77957_a(ItemStack.java:144)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78769_a(PlayerControllerMP.java:377)
at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1463)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1941)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Again, the 'Minecraft' file is only used on the client side. Meaning, you have to use MinecraftServer for the server instead.
Right, but the ".points" are in the same directory as the client mods. I'm also calling getFile in a GuiScreen, so I am on the client side trying to read a file on the client side.
Unless I'm not understanding what you mean because I'm dumb
I can't figure out how to do this - I want to run a mod along side my own mod (in progress), to see how they work together. However, when I put the external mod in the mods folder in the eclipse folder my code won't compile and Minecraft crashes. How do I run mods along side mine?
I want to create a fast travel gui that takes VoxelMap's points and allows for user teleportation (I know that VoxelMap has a fast travel feature - I'm doing this as an exercise for personal growth). So I need to have VoxelMaps run along my mods so I can access its waypoints folder.
But this also begs the question: How do I access folders inside the mod folder? (Where VoxelMap saves its points)
Edit:
Solved!
Check this post.
First example for making the mod actually load after another one:
https://bitbucket.org/master801/transformer-convertors-2/src/6230eae0b657992cfaa605f40327ccf45e59d433/transformerconvertors2/TransformerConvertors2.java?at=master#cl-37
Second example for making the mod actually load after another one:
https://bitbucket.org/master801/transformer-convertors-2/src/6230eae0b657992cfaa605f40327ccf45e59d433/transformerconvertors2/common/resources/ConvertorResources.java?at=master#cl-19
To get the mod folder however, you need to get the main minecraft directory. What I do, is just make a dummy file, and point it to the direction, 'here'. But, I recommend you to just use the normal way. Which is just, . Or something close to that.
Now, the mods folder. To make it, you need the main minecraft folder. Which is explained above.
This should help you. But it only works for the client side! Don't use it for anything other, than the player's game, or you will cause a severe crash.
Anyway, if you need anymore help, just ask away.
Damn. I missed that. Whatever.
OP, I hope you don't miss this message. It's crucial in testing with other mods. Of course, this means that you don't need de-obfuscate the mod... which is a good side I guess.
So I'm guessing all I need to do is add VoxelMap into my dependencies?
Also, how would I figure out VoxelMap's modid? (if that's all need to use for the dependencies)
Well, if your mod requires you to have VoxelMap, you're going to need to add VoxelMap as a library, and not drag-and-drop in the mods folder.
Well, to figure it out, you either, want to decompile it, or just use some kind of system to just grab the modid, and print it out to the console.
(I'll try to find out a method.)
EDIT:
This should print the modid into the console. Change however you need.
Okay, so I built a path for the VoxelMap library, and I got the MODID, but I still get crashes.
Here's my code:
I just built the path to the .jar and now it's where all the other libraries are.
Here's the crash report:
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]
Time: 27/07/14 2:32 AM
Description: There was a severe problem during mod loading that has caused the game to fail
cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.client.Minecraft.func_71410_x()Lnet/minecraft/client/Minecraft;
at cpw.mods.fml.common.LoadController.transition(LoadController.java:162)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:695)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:596)
at net.minecraft.client.Minecraft.run(Minecraft.java:941)
at net.minecraft.client.main.Main.main(Main.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at GradleStart.bounce(GradleStart.java:108)
at GradleStart.startClient(GradleStart.java:101)
at GradleStart.main(GradleStart.java:56)
Caused by: java.lang.NoSuchMethodError: net.minecraft.client.Minecraft.func_71410_x()Lnet/minecraft/client/Minecraft;
at com.thevoxelbox.voxelmap.VoxelMap.(VoxelMap.java:45)
at com.thevoxelbox.voxelmap.forge.ClientProxy.postInit(ClientProxy.java:17)
at com.thevoxelbox.voxelmap.forge.VoxelMapMod.postInit(VoxelMapMod.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:694)
... 17 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_11, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 953341896 bytes (909 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.18.1180 Minecraft Forge 10.13.0.1180 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
FML{7.10.18.1180} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.0.1180.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
Forge{10.13.0.1180} [Minecraft Forge] (forgeSrc-1.7.10-10.13.0.1180.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
voxelmap{1.7.10} [VoxelMap No Radar] (Zans-Minimap-No-Radar-Mod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Errored
How would I use CodeChickenCore and this? What would I do with the mods?
Edit:
Figured it out thanks to all of you!
Here's what I did (for anyone wondering the same thing):
1. Figure out the MOD ID for the mod you're dependent on, you can use the method that master801 posted here or you can do what I did: Build a path to the mod (as a library) and if their classes are labelled nicely you can using find the ID off a static object.
2. Get CodeCoreChicken
3. Remove the path for the mod library (if you found the ID using it as a library)
4. Put CodeCoreChicken and the mod you want to run alongside in the mods folder in your editor's folder (mine was eclipse).
5. In your @mod attribute add dependencies, it should look something like this:
I can't seem to access the mods folder when I compile the mod.
I had everything up and running in the dev kit where I would access the VoxelMap waypoint text at mods/VoxelMods/voxelMap/worldname.points and then use that data to teleport the player to the desired waypoint. When I exported the mod, this didn't work and now I just crash.
Here's the relevant code:
File method:
Crash report (for Multiplayer):
// I blame Dinnerbone.
Time: 28/07/14 1:28 PM
Description: Unexpected error
java.lang.NullPointerException: Unexpected error
at com.lucrecious.armorconstruct.gui.GuiFastTravel.getFile(GuiFastTravel.java:123)
at com.lucrecious.armorconstruct.gui.GuiFastTravel.(GuiFastTravel.java:34)
at com.lucrecious.armorconstruct.handlers.GuiHandlerAC.getClientGuiElement(GuiHandlerAC.java:25)
at cpw.mods.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:263)
at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:93)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2208)
at com.lucrecious.armorconstruct.items.FastTravelMap.func_77659_a(FastTravelMap.java:22)
at net.minecraft.item.ItemStack.func_77957_a(ItemStack.java:144)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78769_a(PlayerControllerMP.java:377)
at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1463)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1941)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Again, the 'Minecraft' file is only used on the client side. Meaning, you have to use MinecraftServer for the server instead.
Unless I'm not understanding what you mean because I'm dumb