Posted August 19, 201312 yr Hello. I have compiled and packed mod, but Forge fails loading it: IllegalAccesException Mod: //package, import skipped @Mod(modid="Pfaeff_mods", version="1.2.3", name="Pfaeff's mods. cdkrot's Forge edition.") @NetworkMod(clientSideRequired=true, serverSideRequired=false) class ForgeMod { public static Block allocator = null; public static Integer allocatorID;//will be nulled after Init fase; public static Boolean filter;//--||-- public static Boolean filterSubItems;//--||-- public static Boolean newTextures;//--||-- public static Block LightSensor = null; public static Integer LightSensorID;//--||-- public static Block jumpPad = null; public static Integer jumpPadID;//--||-- public static Logger modLogger; public static ModCreativeTab creativeTab; @Instance("Pfaeff_mods") public static ForgeMod instance; public ForgeMod(){} @PreInit public void configure(FMLPreInitializationEvent e) { modLogger = e.getModLog(); modLogger.info("PreIniting mod_Allocator."); Configuration c = new Configuration(e.getSuggestedConfigurationFile()); c.load(); allocatorID = c.getBlock("allocator_ID", 200).getInt(200); filter = c.get("allocator", "allocator_Filter", true).getBoolean(true); filterSubItems = c.get("allocator", "allocator_SubItemFilter", true).getBoolean(true); newTextures = c.get("allocator", "allocator_NewTextures", true).getBoolean(true); c.save(); modLogger.info("PreIniting mod_LigthSensor."); c.load(); LightSensorID = c.getBlock("lightsensor", 201).getInt(201); c.save(); modLogger.info("PreIniting mod_JumpPad."); c.load(); jumpPadID = c.getBlock("jumppad_ID", 205).getInt(205); c.save(); modLogger.info("PreInit state done."); creativeTab = new ModCreativeTab(); } @Init public void construct(FMLInitializationEvent event) { modLogger.info("Initing mod_Allocator."); allocator = new BlockAllocator(allocatorID, filter, filterSubItems, newTextures).setCreativeTab(creativeTab); GameRegistry.registerTileEntity(TileEntityAllocator.class, "Allocator"); NetworkRegistry.instance().registerGuiHandler(this, new AllocatorGuiHandler()); GameRegistry.registerBlock(allocator, "Allocator_Pfaeff"); LanguageRegistry.addName(allocator, "Allocator"); GameRegistry.addRecipe(new ItemStack(allocator, 1), new Object[]{"X#X", "X$X", "X#X", Character.valueOf('X'), Block.cobblestone, Character.valueOf('#'), Item.redstone, Character.valueOf('$'), Item.ingotGold}); modLogger.info("Initing mod_LightSensor."); LightSensor = new BlockLightSensor(LightSensorID).setCreativeTab(creativeTab); GameRegistry.registerTileEntity(TileEntityLightSensor.class, "Ligth_Sensor_pfaeff"); GameRegistry.registerBlock(LightSensor, "LightSensor_Pfaeff"); LanguageRegistry.addName(LightSensor, "Light Sensor"); GameRegistry.addRecipe(new ItemStack(LightSensor, 1), new Object[]{"A", "B", "C", Character.valueOf('A'), Block.glass, Character.valueOf('B'), Item.netherQuartz, Character.valueOf('C'), Block.woodSingleSlab}); modLogger.info("Initing mod_JumpPad."); jumpPad = new BlockJumpPad(jumpPadID).setCreativeTab(creativeTab); GameRegistry.registerBlock(jumpPad, "JumpPad_Pfaeff"); LanguageRegistry.addName(jumpPad, "Jump Pad"); GameRegistry.addRecipe(new ItemStack(jumpPad, 4), new Object[]{ "X", "#", Character.valueOf('X'), Item.slimeBall, Character.valueOf('#'), Block.pressurePlatePlanks}); modLogger.info("Init state done."); allocatorID=null; filter=null; filterSubItems=null; newTextures=null; LightSensorID=null; jumpPadID=null; System.gc(); } } CrashReport ---- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear! Time: 19.08.13 17:59 Description: Failed to start game cpw.mods.fml.common.LoaderException: java.lang.IllegalAccessException: Class cpw.mods.fml.common.ILanguageAdapter$JavaAdapter can not access a member of class com.pfaeff_and_cdkrot.ForgeMod with modifiers "public" at cpw.mods.fml.common.LoadController.transition(LoadController.java:147) at cpw.mods.fml.common.Loader.loadMods(Loader.java:514) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:411) at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56) at net.minecraft.client.Minecraft.run(Minecraft.java:733) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalAccessException: Class cpw.mods.fml.common.ILanguageAdapter$JavaAdapter can not access a member of class com.pfaeff_and_cdkrot.ForgeMod with modifiers "public" at sun.reflect.Reflection.ensureMemberAccess(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:168) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:466) 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.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172) 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.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103) at cpw.mods.fml.common.Loader.loadMods(Loader.java:504) ... 5 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.5.2 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.7.0, Oracle Corporation Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation Memory: 439244944 bytes (418 MB) / 519110656 bytes (495 MB) up to 1037959168 bytes (989 MB) JVM Flags: 2 total; -Xms512m -Xmx1024m AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v7.51 FML v5.2.23.737 Minecraft Forge 7.8.1.737 Optifine OptiFine_1.5.2_HD_U_D5 4 mods loaded, 4 mods active mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{5.2.23.737} [Forge Mod Loader] (coremods) Unloaded->Constructed Forge{7.8.1.737} [Minecraft Forge] (coremods) Unloaded->Constructed Pfaeff_mods{1.2.3} [Pfaeff's mods. cdkrot's Forge edition.] (modzip.zip) Unloaded->Errored LWJGL: 2.4.2 OpenGL: Intel® HD Graphics GL version 2.1.0 - Build 8.15.10.2104, Intel Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null FML log ф2013-08-19 17:59:40 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.2.23.737 for Minecraft 1.5.2 loading 2013-08-19 17:59:40 [iNFO] [ForgeModLoader] Java is Java HotSpot Client VM, version 1.7.0, running on Windows 7:x86:6.1, installed at C:\Program Files (x86)\Java\jre7 2013-08-19 17:59:40 [FINE] [ForgeModLoader] Java classpath at launch is /C:/Users/cds/AppData/Local/Temp/e4j17BC.tmp_dir/MinecraftSP.jar 2013-08-19 17:59:40 [FINE] [ForgeModLoader] Java library path at launch is C:\Windows\SysWOW64;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\EgisTec BioExcess\;C:\Program Files (x86)\EgisTec BioExcess\x64;c:\program files (x86)\java\jre7\bin;. 2013-08-19 17:59:40 [FINE] [ForgeModLoader] Enabling runtime deobfuscation 2013-08-19 17:59:40 [FINEST] [ForgeModLoader] All core mods are successfully located 2013-08-19 17:59:40 [FINEST] [ForgeModLoader] Discovering coremods 2013-08-19 17:59:40 [FINEST] [ForgeModLoader] Found library file argo-small-3.2.jar present and correct in lib dir 2013-08-19 17:59:40 [FINEST] [ForgeModLoader] Found library file guava-14.0-rc3.jar present and correct in lib dir 2013-08-19 17:59:40 [FINEST] [ForgeModLoader] Found library file asm-all-4.1.jar present and correct in lib dir 2013-08-19 17:59:40 [FINEST] [ForgeModLoader] Found library file bcprov-jdk15on-148.jar present and correct in lib dir 2013-08-19 17:59:40 [FINEST] [ForgeModLoader] Found library file deobfuscation_data_1.5.2.zip present and correct in lib dir 2013-08-19 17:59:40 [FINEST] [ForgeModLoader] Found library file scala-library.jar present and correct in lib dir 2013-08-19 17:59:40 [FINEST] [ForgeModLoader] Running coremod plugins 2013-08-19 17:59:40 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin 2013-08-19 17:59:41 [sEVERE] [ForgeModLoader] FML appears to be missing any signature data. This is not a good thing 2013-08-19 17:59:41 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully 2013-08-19 17:59:41 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin 2013-08-19 17:59:41 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully 2013-08-19 17:59:41 [FINEST] [ForgeModLoader] Validating minecraft 2013-08-19 17:59:41 [FINEST] [ForgeModLoader] Minecraft validated, launching... 2013-08-19 17:59:43 [iNFO] [sTDOUT] 229 recipes 2013-08-19 17:59:43 [iNFO] [sTDOUT] 27 achievements 2013-08-19 17:59:43 [iNFO] [Minecraft-Client] Setting user: cdkrot 2013-08-19 17:59:43 [iNFO] [sTDOUT] (Session ID is 12345) 2013-08-19 17:59:43 [iNFO] [Minecraft-Client] LWJGL Version: 2.4.2 2013-08-19 17:59:43 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2013-08-19 17:59:43 [iNFO] [sTDOUT] MinecraftForge v7.8.1.737 Initialized 2013-08-19 17:59:43 [iNFO] [ForgeModLoader] MinecraftForge v7.8.1.737 Initialized 2013-08-19 17:59:43 [iNFO] [sTDOUT] Replaced 85 ore recipies 2013-08-19 17:59:43 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2013-08-19 17:59:43 [iNFO] [ForgeModLoader] Forge Mod Loader has detected optifine OptiFine_1.5.2_HD_U_D5, enabling compatibility features 2013-08-19 17:59:43 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\cds\AppData\Roaming\.minecraft\config\logging.properties 2013-08-19 17:59:43 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2013-08-19 17:59:43 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer] 2013-08-19 17:59:43 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes 2013-08-19 17:59:43 [FINER] [ForgeModLoader] Skipping known library file C:\Users\cds\AppData\Roaming\.minecraft\bin\lwjgl.jar 2013-08-19 17:59:43 [FINER] [ForgeModLoader] Skipping known library file C:\Users\cds\AppData\Roaming\.minecraft\bin\jinput.jar 2013-08-19 17:59:43 [FINER] [ForgeModLoader] Skipping known library file C:\Users\cds\AppData\Roaming\.minecraft\bin\lwjgl_util.jar 2013-08-19 17:59:43 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\cds\AppData\Roaming\.minecraft\bin\minecraft.jar, examining for mod candidates 2013-08-19 17:59:43 [FINER] [ForgeModLoader] Skipping known library file C:\Users\cds\AppData\Roaming\.minecraft\lib\argo-small-3.2.jar 2013-08-19 17:59:43 [FINER] [ForgeModLoader] Skipping known library file C:\Users\cds\AppData\Roaming\.minecraft\lib\guava-14.0-rc3.jar 2013-08-19 17:59:43 [FINER] [ForgeModLoader] Skipping known library file C:\Users\cds\AppData\Roaming\.minecraft\lib\asm-all-4.1.jar 2013-08-19 17:59:43 [FINER] [ForgeModLoader] Skipping known library file C:\Users\cds\AppData\Roaming\.minecraft\lib\bcprov-jdk15on-148.jar 2013-08-19 17:59:43 [FINER] [ForgeModLoader] Skipping known library file C:\Users\cds\AppData\Roaming\.minecraft\lib\deobfuscation_data_1.5.2.zip 2013-08-19 17:59:43 [FINER] [ForgeModLoader] Skipping known library file C:\Users\cds\AppData\Roaming\.minecraft\lib\scala-library.jar 2013-08-19 17:59:43 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully 2013-08-19 17:59:43 [iNFO] [ForgeModLoader] Searching C:\Users\cds\AppData\Roaming\.minecraft\mods for mods 2013-08-19 17:59:43 [FINE] [ForgeModLoader] Found a candidate zip or jar file modzip.zip 2013-08-19 17:59:43 [FINE] [ForgeModLoader] Found a candidate mod directory rei_minimap 2013-08-19 17:59:43 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods 2013-08-19 17:59:43 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file 2013-08-19 17:59:44 [FINE] [ForgeModLoader] Examining file modzip.zip for potential mods 2013-08-19 17:59:44 [FINE] [ForgeModLoader] The mod container modzip.zip appears to be missing an mcmod.info file 2013-08-19 17:59:44 [FINE] [ForgeModLoader] Identified an FMLMod type mod com.pfaeff_and_cdkrot.ForgeMod 2013-08-19 17:59:44 [FINEST] [Pfaeff_mods] Parsed dependency info : [] [] [] 2013-08-19 17:59:44 [FINE] [ForgeModLoader] Examining directory rei_minimap for potential mods 2013-08-19 17:59:44 [FINE] [ForgeModLoader] No mcmod.info file found in directory rei_minimap 2013-08-19 17:59:44 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2013-08-19 17:59:44 [FINER] [ForgeModLoader] Received a system property request '' 2013-08-19 17:59:44 [FINER] [ForgeModLoader] System property request managing the state of 0 mods 2013-08-19 17:59:44 [FINE] [ForgeModLoader] After merging, found state information for 0 mods 2013-08-19 17:59:44 [FINE] [ForgeModLoader] Reloading logging properties from C:\Users\cds\AppData\Roaming\.minecraft\config\logging.properties 2013-08-19 17:59:44 [FINE] [ForgeModLoader] Reloaded logging properties 2013-08-19 17:59:44 [FINE] [mcp] Mod Logging channel mcp configured at default level. 2013-08-19 17:59:44 [iNFO] [mcp] Activating mod mcp 2013-08-19 17:59:44 [FINE] [FML] Mod Logging channel FML configured at default level. 2013-08-19 17:59:44 [iNFO] [FML] Activating mod FML 2013-08-19 17:59:44 [FINE] [Forge] Mod Logging channel Forge configured at default level. 2013-08-19 17:59:44 [iNFO] [Forge] Activating mod Forge 2013-08-19 17:59:44 [FINE] [Pfaeff_mods] Enabling mod Pfaeff_mods 2013-08-19 17:59:44 [FINE] [Pfaeff_mods] Mod Logging channel Pfaeff_mods configured at default level. 2013-08-19 17:59:44 [iNFO] [Pfaeff_mods] Activating mod Pfaeff_mods 2013-08-19 17:59:44 [FINER] [ForgeModLoader] Verifying mod requirements are satisfied 2013-08-19 17:59:44 [FINER] [ForgeModLoader] All mod requirements are satisfied 2013-08-19 17:59:44 [FINER] [ForgeModLoader] Sorting mods into an ordered list 2013-08-19 17:59:44 [FINER] [ForgeModLoader] Mod sorting completed successfully 2013-08-19 17:59:44 [FINE] [ForgeModLoader] Mod sorting data 2013-08-19 17:59:44 [FINE] [ForgeModLoader] Pfaeff_mods(Pfaeff's mods. cdkrot's Forge edition.:1.2.3): modzip.zip () 2013-08-19 17:59:44 [FINEST] [mcp] Sending event FMLConstructionEvent to mod mcp 2013-08-19 17:59:44 [FINEST] [mcp] Sent event FMLConstructionEvent to mod mcp 2013-08-19 17:59:44 [FINEST] [FML] Sending event FMLConstructionEvent to mod FML 2013-08-19 17:59:44 [FINEST] [FML] Sent event FMLConstructionEvent to mod FML 2013-08-19 17:59:44 [FINEST] [Forge] Sending event FMLConstructionEvent to mod Forge 2013-08-19 17:59:44 [iNFO] [ForgeModLoader] Registering Forge Packet Handler 2013-08-19 17:59:44 [FINEST] [ForgeModLoader] Testing mod Forge to verify it accepts its own version in a remote connection 2013-08-19 17:59:44 [FINEST] [ForgeModLoader] The mod Forge accepts its own version (7.8.1.737) 2013-08-19 17:59:44 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler 2013-08-19 17:59:44 [FINEST] [Forge] Sent event FMLConstructionEvent to mod Forge 2013-08-19 17:59:44 [FINEST] [Pfaeff_mods] Sending event FMLConstructionEvent to mod Pfaeff_mods 2013-08-19 17:59:44 [FINEST] [ForgeModLoader] Testing mod Pfaeff_mods to verify it accepts its own version in a remote connection 2013-08-19 17:59:44 [FINEST] [ForgeModLoader] The mod Pfaeff_mods accepts its own version (1.2.3) 2013-08-19 17:59:44 [FINEST] [Pfaeff_mods] Sent event FMLConstructionEvent to mod Pfaeff_mods 2013-08-19 17:59:44 [FINE] [ForgeModLoader] Mod signature data 2013-08-19 17:59:44 [FINE] [ForgeModLoader] mcp(Minecraft Coder Pack:7.51): minecraft.jar (NO VALID CERTIFICATE FOUND) 2013-08-19 17:59:44 [FINE] [ForgeModLoader] FML(Forge Mod Loader:5.2.23.737): coremods (NO VALID CERTIFICATE FOUND) 2013-08-19 17:59:44 [FINE] [ForgeModLoader] Forge(Minecraft Forge:7.8.1.737): coremods (NO VALID CERTIFICATE FOUND) 2013-08-19 17:59:44 [FINE] [ForgeModLoader] Pfaeff_mods(Pfaeff's mods. cdkrot's Forge edition.:1.2.3): modzip.zip (NO VALID CERTIFICATE FOUND) 2013-08-19 17:59:44 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue 2013-08-19 17:59:44 [sEVERE] [ForgeModLoader] mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{5.2.23.737} [Forge Mod Loader] (coremods) Unloaded->Constructed Forge{7.8.1.737} [Minecraft Forge] (coremods) Unloaded->Constructed Pfaeff_mods{1.2.3} [Pfaeff's mods. cdkrot's Forge edition.] (modzip.zip) Unloaded->Errored 2013-08-19 17:59:44 [sEVERE] [ForgeModLoader] The following problems were captured during this phase 2013-08-19 17:59:44 [sEVERE] [ForgeModLoader] Caught exception from Pfaeff_mods java.lang.IllegalAccessException: Class cpw.mods.fml.common.ILanguageAdapter$JavaAdapter can not access a member of class com.pfaeff_and_cdkrot.ForgeMod with modifiers "public" at sun.reflect.Reflection.ensureMemberAccess(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:168) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:466) 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.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172) 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.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103) at cpw.mods.fml.common.Loader.loadMods(Loader.java:504) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:411) at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56) at net.minecraft.client.Minecraft.run(Minecraft.java:733) at java.lang.Thread.run(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.IllegalAccessException: Class cpw.mods.fml.common.ILanguageAdapter$JavaAdapter can not access a member of class com.pfaeff_and_cdkrot.ForgeMod with modifiers "public" 2013-08-19 17:59:54 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.transition(LoadController.java:147) 2013-08-19 17:59:54 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:514) 2013-08-19 17:59:54 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163) 2013-08-19 17:59:54 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:411) 2013-08-19 17:59:54 [iNFO] [sTDERR] at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56) 2013-08-19 17:59:54 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:733) 2013-08-19 17:59:54 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] Caused by: java.lang.IllegalAccessException: Class cpw.mods.fml.common.ILanguageAdapter$JavaAdapter can not access a member of class com.pfaeff_and_cdkrot.ForgeMod with modifiers "public" 2013-08-19 17:59:54 [iNFO] [sTDERR] at sun.reflect.Reflection.ensureMemberAccess(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] at java.lang.Class.newInstance0(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] at java.lang.Class.newInstance(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:168) 2013-08-19 17:59:54 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:466) 2013-08-19 17:59:54 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-19 17:59:54 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-08-19 17:59:54 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-08-19 17:59:54 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 2013-08-19 17:59:54 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-08-19 17:59:54 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-08-19 17:59:54 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192) 2013-08-19 17:59:54 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172) 2013-08-19 17:59:54 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-08-19 17:59:54 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-08-19 17:59:54 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-08-19 17:59:54 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-08-19 17:59:54 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 2013-08-19 17:59:54 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-08-19 17:59:54 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-08-19 17:59:54 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103) 2013-08-19 17:59:54 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:504) 2013-08-19 17:59:54 [iNFO] [sTDERR] ... 5 more
August 19, 201312 yr Your class is package private, it needs to be public. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.