Everything posted by OSoHexxy
-
(Unsolved) 1.11.2 Forge/Eclipse Help!
You have 10k posts so obviously you must have plenty of experience. If there are any specific tutorials or guides that you think are really good let me know and ill be sure to take a look at them. I don't want to learn how to do this badly. REFERENCE CLASS: ======================================= package com.o_so_hexxy.guns; public class Reference { public static final String MOD_ID = "ogm"; public static final String NAME = "GunMod"; public static final String VERSION = "0.1"; public static final String ACCEPTED_VERSIONS = "1.11.2"; public static final String CLIENT_PROXY_CLASS = "com.o_so_hexxy.guns.proxy.ClientProxy"; public static final String SERVER_PROXY_CLASS = "com.o_so_hexxy.guns.proxy.ServerProxy"; } ======================================= COMMON PROXY CLASS: ======================================= package com.o_so_hexxy.guns.proxy; public interface CommonProxy { } ======================================= CLIENT PROXY CLASS: ======================================= package com.o_so_hexxy.guns.proxy; public class ClientProxy { } ======================================= Thank you for your help! C
-
(Unsolved) 1.11.2 Forge/Eclipse Help!
package com.o_so_hexxy.guns; import com.o_so_hexxy.guns.proxy.CommonProxy; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.Instance; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; @Mod(modid = Reference.MOD_ID, name = Reference.NAME, version = Reference.VERSION, acceptedMinecraftVersions = Reference.ACCEPTED_VERSIONS) public class guns { @Instance public static guns instance; @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS) public static CommonProxy proxy; @EventHandler public void preInit(FMLPreInitializationEvent event) { } @EventHandler public void Init(FMLInitializationEvent event) { } @EventHandler public void PostInit(FMLPostInitializationEvent event) { } }
-
(Unsolved) 1.11.2 Forge/Eclipse Help!
Hello everyone, I am brand new to using Java and I am trying to learn Java from learning how to create mods with it. When I tried to run the game with my mod I got a message that said "Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release" (guns is a placeholder name. I am not sure if that's what the mod will be yet I just want to get it running) This is what the report of the crash says: Details: ---- Minecraft Crash Report ---- // Why is it breaking Time: 10/5/17 4:22 PM Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from gunsmod (ogm) Caused by: net.minecraftforge.fml.common.LoaderException: net.minecraftforge.fml.common.LoaderException: Attempted to load a proxy type com.o_so_hexxy.guns.proxy.ClientProxy into com.o_so_hexxy.guns.guns.proxy, but the types don't match at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:102) at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:626) 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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231) 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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148) at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:582) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:233) at net.minecraft.client.Minecraft.init(Minecraft.java:478) at net.minecraft.client.Minecraft.run(Minecraft.java:387) at net.minecraft.client.main.Main.main(Main.java:118) 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:135) 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 net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) Caused by: net.minecraftforge.fml.common.LoaderException: Attempted to load a proxy type com.o_so_hexxy.guns.proxy.ClientProxy into com.o_so_hexxy.guns.guns.proxy, but the types don't match at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:95) ... 39 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.11.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_144, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 899829152 bytes (858 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.38 Powered by Forge 13.20.1.2506 6 mods loaded, 6 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UC minecraft{1.11.2} [Minecraft] (minecraft.jar) UC mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UC FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.1.2506.jar) UC forge{13.20.1.2506} [Minecraft Forge] (forgeSrc-1.11.2-13.20.1.2506.jar) UC examplemod{1.0} [examplemod] (bin) UE ogm{0.1} [gunsmod] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 382.05' Renderer: 'GeForce GTX 950/PCIe/SSE2' If there is any other information that you need in order to help me let me know. I have never done this before so as many details as possible would be greatly appreciated!
IPS spam blocked by CleanTalk.