Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Galacticraft Addon Error


ashjack
 Share

Recommended Posts

I am making an addon for Galacticraft using the api and a tutorial

(http://forum.micdoodle8.com/index.php?threads/how-to-code-a-new-planet.1962/)

I have followed it correctly, changing a few things along the way, such as floats for meteorites and things like that. However, when I test it, I crash.

 

Here is the log(Sorry, the spoiler button is not working for some reason):

Mar 15, 2014 10:54:32 AM net.minecraft.launchwrapper.LogWrapper log

INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

Mar 15, 2014 10:54:33 AM net.minecraft.launchwrapper.LogWrapper log

INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

Mar 15, 2014 10:54:33 AM net.minecraft.launchwrapper.LogWrapper log

INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

2014-03-15 10:54:33 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.4.45.953 for Minecraft 1.6.4 loading

2014-03-15 10:54:33 [iNFO] [ForgeModLoader] Java is Java HotSpot Client VM, version 1.7.0_51, running on Windows Vista:x86:6.0, installed at C:\Program Files\Java\jre7

2014-03-15 10:54:33 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

2014-03-15 10:54:33 [WARNING] [ForgeModLoader] The coremod micdoodle8.mods.miccore.MicdoodlePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-03-15 10:54:33 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

2014-03-15 10:54:33 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

2014-03-15 10:54:33 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

2014-03-15 10:54:33 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

2014-03-15 10:54:33 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

2014-03-15 10:54:33 [iNFO] [sTDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg

2014-03-15 10:54:33 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!

2014-03-15 10:54:34 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

2014-03-15 10:54:34 [iNFO] [sTDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg

2014-03-15 10:54:34 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

2014-03-15 10:54:34 [iNFO] [sTDOUT] Successfully Registered Transformer

2014-03-15 10:54:34 [iNFO] [sTDOUT] [Micdoodle8Core]: Patching game...

2014-03-15 10:54:34 [iNFO] [sTDOUT] [Micdoodle8Core]: Patching game...

2014-03-15 10:54:34 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

2014-03-15 10:54:34 [iNFO] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}

2014-03-15 10:54:34 [iNFO] [sTDOUT] Galacticraft successfully injected bytecode into: net/minecraft/entity/EntityLivingBase (1 / 1)

2014-03-15 10:54:34 [iNFO] [sTDOUT] Galacticraft successfully injected bytecode into: net/minecraft/client/gui/GuiSleepMP (1 / 1)

2014-03-15 10:54:36 [iNFO] [Minecraft-Client] Setting user: Player986

2014-03-15 10:54:36 [iNFO] [sTDOUT] Galacticraft successfully injected bytecode into: net/minecraft/entity/item/EntityItem (2 / 2)

2014-03-15 10:54:37 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0

2014-03-15 10:54:37 [iNFO] [sTDOUT] Galacticraft successfully injected bytecode into: net/minecraftforge/client/ForgeHooksClient (1 / 1)

2014-03-15 10:54:38 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default

2014-03-15 10:54:40 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization

2014-03-15 10:54:40 [iNFO] [sTDOUT] MinecraftForge v9.11.1.953 Initialized

2014-03-15 10:54:40 [iNFO] [ForgeModLoader] MinecraftForge v9.11.1.953 Initialized

2014-03-15 10:54:40 [iNFO] [sTDOUT] Replaced 112 ore recipies

2014-03-15 10:54:40 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization

2014-03-15 10:54:40 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Ashley\Desktop\Galacticraft Plugin\forge\mcp\jars\config\logging.properties

2014-03-15 10:54:40 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL

2014-03-15 10:54:40 [iNFO] [ForgeModLoader] Searching C:\Users\Ashley\Desktop\Galacticraft Plugin\forge\mcp\jars\mods for mods

2014-03-15 10:54:44 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 6 mods to load

2014-03-15 10:54:44 [iNFO] [mcp] Activating mod mcp

2014-03-15 10:54:44 [iNFO] [FML] Activating mod FML

2014-03-15 10:54:44 [iNFO] [Forge] Activating mod Forge

2014-03-15 10:54:44 [iNFO] [Micdoodlecore] Activating mod Micdoodlecore

2014-03-15 10:54:44 [iNFO] [ExoplanetaryExploration] Activating mod ExoplanetaryExploration

2014-03-15 10:54:44 [iNFO] [GalacticraftCore] Activating mod GalacticraftCore

2014-03-15 10:54:44 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well

2014-03-15 10:54:44 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well

2014-03-15 10:54:44 [WARNING] [Exoplanetary Exploration] Mod Exoplanetary Exploration is missing a pack.mcmeta file, things may not work well

2014-03-15 10:54:44 [WARNING] [Galacticraft Core] Mod Galacticraft Core is missing a pack.mcmeta file, things may not work well

2014-03-15 10:54:44 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Exoplanetary Exploration, FMLFileResourcePack:Galacticraft Core

2014-03-15 10:54:44 [iNFO] [ForgeModLoader] Registering Forge Packet Handler

2014-03-15 10:54:44 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler

2014-03-15 10:54:44 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0

2014-03-15 10:54:44 [sEVERE] [ExoplanetaryExploration] Skipping event FMLPreInitializationEvent and marking errored mod ExoplanetaryExploration since required dependency GalacticraftCore has errored

2014-03-15 10:54:44 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue

2014-03-15 10:54:44 [sEVERE] [ForgeModLoader]

mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized

FML{6.4.45.953} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized

Forge{9.11.1.953} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized

Micdoodlecore{} [Micdoodle8 Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized

GalacticraftCore{2.0.8} [Galacticraft Core] (GALACTICRAFT-1.6.4-2.0.8.908.jar) Unloaded->Constructed->Errored

ExoplanetaryExploration{0.0.1} [Exoplanetary Exploration] (bin) Unloaded->Constructed->Errored

2014-03-15 10:54:44 [sEVERE] [ForgeModLoader] The following problems were captured during this phase

2014-03-15 10:54:44 [sEVERE] [ForgeModLoader] Caught exception from GalacticraftCore

java.lang.NoSuchFieldError: field_71946_M

at micdoodle8.mods.galacticraft.core.GCCoreConfigManager.setDefaultValues(GCCoreConfigManager.java:305)

at micdoodle8.mods.galacticraft.core.GalacticraftCore.preInit(GalacticraftCore.java:208)

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:545)

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:313)

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:201)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)

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:313)

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:112)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:522)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)

at net.minecraft.client.Minecraft.run(Minecraft.java:808)

at net.minecraft.client.main.Main.main(Main.java:93)

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:131)

at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

2014-03-15 10:54:44 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----

2014-03-15 10:54:44 [iNFO] [sTDOUT] // Oh - I know what I did wrong!

2014-03-15 10:54:44 [iNFO] [sTDOUT]

2014-03-15 10:54:44 [iNFO] [sTDOUT] Time: 15/03/14 10:54

2014-03-15 10:54:44 [iNFO] [sTDOUT] Description: There was a severe problem during mod loading that has caused the game to fail

2014-03-15 10:54:44 [iNFO] [sTDOUT]

2014-03-15 10:54:44 [iNFO] [sTDOUT] cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: field_71946_M

2014-03-15 10:54:44 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.transition(LoadController.java:156)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:523)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

2014-03-15 10:54:44 [iNFO] [sTDOUT] Caused by: java.lang.NoSuchFieldError: field_71946_M

2014-03-15 10:54:44 [iNFO] [sTDOUT] at micdoodle8.mods.galacticraft.core.GCCoreConfigManager.setDefaultValues(GCCoreConfigManager.java:305)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at micdoodle8.mods.galacticraft.core.GalacticraftCore.preInit(GalacticraftCore.java:208)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)

2014-03-15 10:54:44 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:522)

2014-03-15 10:54:44 [iNFO] [sTDOUT] ... 10 more

2014-03-15 10:54:44 [iNFO] [sTDOUT]

2014-03-15 10:54:44 [iNFO] [sTDOUT]

2014-03-15 10:54:44 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:

2014-03-15 10:54:44 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------

2014-03-15 10:54:44 [iNFO] [sTDOUT]

2014-03-15 10:54:44 [iNFO] [sTDOUT] -- System Details --

2014-03-15 10:54:44 [iNFO] [sTDOUT] Details:

2014-03-15 10:54:44 [iNFO] [sTDOUT] Minecraft Version: 1.6.4

2014-03-15 10:54:44 [iNFO] [sTDOUT] Operating System: Windows Vista (x86) version 6.0

2014-03-15 10:54:44 [iNFO] [sTDOUT] Java Version: 1.7.0_51, Oracle Corporation

2014-03-15 10:54:44 [iNFO] [sTDOUT] Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

2014-03-15 10:54:44 [iNFO] [sTDOUT] Memory: 919081376 bytes (876 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)

2014-03-15 10:54:44 [iNFO] [sTDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

2014-03-15 10:54:44 [iNFO] [sTDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

2014-03-15 10:54:44 [iNFO] [sTDOUT] Suspicious classes: FML and Forge are installed

2014-03-15 10:54:44 [iNFO] [sTDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

2014-03-15 10:54:44 [iNFO] [sTDOUT] FML: MCP v8.11 FML v6.4.45.953 Minecraft Forge 9.11.1.953 6 mods loaded, 6 mods active

2014-03-15 10:54:44 [iNFO] [sTDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized

2014-03-15 10:54:44 [iNFO] [sTDOUT] FML{6.4.45.953} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized

2014-03-15 10:54:44 [iNFO] [sTDOUT] Forge{9.11.1.953} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized

2014-03-15 10:54:44 [iNFO] [sTDOUT] Micdoodlecore{} [Micdoodle8 Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized

2014-03-15 10:54:44 [iNFO] [sTDOUT] GalacticraftCore{2.0.8} [Galacticraft Core] (GALACTICRAFT-1.6.4-2.0.8.908.jar) Unloaded->Constructed->Errored

2014-03-15 10:54:44 [iNFO] [sTDOUT] ExoplanetaryExploration{0.0.1} [Exoplanetary Exploration] (bin) Unloaded->Constructed->Errored

2014-03-15 10:54:44 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Ashley\Desktop\Galacticraft Plugin\forge\mcp\jars\.\crash-reports\crash-2014-03-15_10.54.44-client.txt

 

 

If you would like me so show you a certain piece of code, I can, but there are a lot, so I didn't post them here in the first place

Link to comment
Share on other sites

Actually, I think I know what it is. The problem could lie with either of these files:

package ashjack.galacticraft.exo;

 

import micdoodle8.mods.galacticraft.api.GalacticraftRegistry;

import net.minecraftforge.common.Configuration;

import net.minecraftforge.common.DimensionManager;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.EventHandler;

import cpw.mods.fml.common.Mod.Instance;

import cpw.mods.fml.common.SidedProxy;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.event.FMLPostInitializationEvent;

import cpw.mods.fml.common.event.FMLPreInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

 

@Mod(modid="ExoplanetaryExploration", name="Exoplanetary Exploration", version="0.0.1", dependencies="required-after:GalacticraftCore")

@NetworkMod(clientSideRequired=true)

 

public class ExoplanetaryExploration {

 

 

    @Instance(value = "ExoplanetaryExploration")

    public static ExoplanetaryExploration instance;

   

 

    @SidedProxy(clientSide="ashjack.galacticraft.exo.client.ClientProxy", serverSide="ashjack.galacticraft.exo.CommonProxy")

    public static CommonProxy proxy;

   

    @EventHandler

   

    public void preInit(FMLPreInitializationEvent event) {

    Configuration config = new Configuration(event.getSuggestedConfigurationFile());

   

    config.load();

 

        config.save();

       

        GalacticraftRegistry.registerTeleportType(PlanetWorldProvider.class, new PlanetTeleporterType());

        GalacticraftRegistry.registerCelestialBody(new PlanetKepler22b());

    }

   

    @EventHandler

    public void load(FMLInitializationEvent event) {

   

    proxy.registerRenderers();

        int dimID = config.get(Configuration.CATEGORY_GENERAL, "Kepler-22b", -30).getInt();//config cannot be resolved

        DimensionManager.registerProviderType(dimID, new PlanetWorldProvider(), false); //The method registerProviderType(int, Class<? extends WorldProvider>, boolean) in the type DimensionManager is not applicable for the arguments (int, PlanetWorldProvider, boolean)

        DimensionManager.registerDimension(dimID, dimID);

    }

   

    @EventHandler

    public void postInit(FMLPostInitializationEvent event) {

           

    }

 

}

 

 

OR

 

 

package ashjack.galacticraft.exo;

 

import net.minecraft.world.WorldProvider;

import net.minecraftforge.common.Configuration;

import micdoodle8.mods.galacticraft.api.world.IGalaxy;

import micdoodle8.mods.galacticraft.api.world.IMapObject;

import micdoodle8.mods.galacticraft.api.world.IPlanet;

 

public class PlanetKepler22b implements IPlanet {

 

@Override

    public String getName() {

            return "Kepler-22b";

    }

 

    @Override

    public boolean isReachable() {

            return true;

    }

 

    @Override

    public IMapObject getMapObject() {

            return new Kepler22bMapObject();

    }

 

    @Override

    public boolean addToList() {

            return true;

    }

 

    @Override

    public boolean autoRegister() {

            return false;

    }

 

    @Override

    public Class<? extends WorldProvider> getWorldProvider() {

            return PlanetWorldProvider.class;

    }

 

    @Override

    public int getDimensionID() {

            return ExoplanetaryExploration.config.get(Configuration.CATEGORY_GENERAL, "Kepler-22b", -30).getInt();//config cannot be resolved or is not a field

            }

 

    @Override

    public IGalaxy getParentGalaxy() {

            return new GCCoreGalaxyKepler22();

    }

}

 

Link to comment
Share on other sites

1) config cannot be resolved

2) The method registerProviderType(int, Class<? extends WorldProvider>, boolean) in the type DimensionManager is not applicable for the arguments (int, PlanetWorldProvider, boolean)

 

Come on dude, this is basic stuff; basic Java, casting.

 

1) The code doesn't even know where "config" is. Where you load your config, and save you config is where you should put it. Why put it in load, when Forge doesn't even read it?

2) Class<? extends WorldProvider> (does not equal) PlanetWorldProvider. You need to make your PlanetWorldProvider "extend" WorldProvider.

 

One more thing, you don't even know how to use configs. You have to create a new instance of the int in your mod, and set the value later. You can't even receive (ExoplanetaryExploration.config) because it isn't static. Please please please, don't come here until you fully understand how casting works and how fields work.

Link to comment
Share on other sites

 @EventHandler
    public void load(FMLInitializationEvent event) {
       
       proxy.registerRenderers();
        int dimID = config.get(Configuration.CATEGORY_GENERAL, "Kepler-22b", -30).getInt();//config cannot be resolved
        DimensionManager.registerProviderType(dimID, new PlanetWorldProvider(), false); //The method registerProviderType(int, Class<? extends WorldProvider>, boolean) in the type DimensionManager is not applicable for the arguments (int, PlanetWorldProvider, boolean)
        DimensionManager.registerDimension(dimID, dimID);
    }]/code]
Tthis piece of code:
[code]new PlanetWorldProvide()

you need to change to

PlanetWorldProvider.class

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Thank you for both your replies. I fixed the config, and the registerProviderType. But I still experience a crash on testing my addon. I still get "cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: field_71946_M" There are still errors in my files, but they are just referencing to galacticraft itself. I have all 3 mods (MicdoodleCore, Galacticraft and Galacticraft Planets) in my mcp/jars/mods folder. If you want to see the code with the errors, I can, but I don't see how that would help, because as I mentioned before, they are just referencing to the mods that the user will have installed, but I can't put into eclipse(because I can't release any of the mods within my addon)

Link to comment
Share on other sites

Hey guy, those two classes you posted are not even in your crash log as suspects. This is your error location:

micdoodle8.mods.galacticraft.core.GCCoreConfigManager.setDefaultValues(GCCoreConfigManager.java:305)

 

Notice the error occurs at line # 305 in your micdoodle8.mods.galacticraft.core.GCCoreConfigManager class, in the method setDefaultValue.

 

Without that code, I can't help you.

Link to comment
Share on other sites

Well, that other guy's code is crashing in the Preinit event handler. Since, it dies and never returns it causes you to crash.

 

I see you are also experiencing a different crash now. Post the logs and I'll try to help.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • you subscribe the EntityAttributeCreationEvent to the worng EventBus, since you need the ModEventBus
    • I'm new to forge developing and I'm trying to make a custom tile entity for a mod, but when I right click the block, the game crashes. The error seems tobe here:   @Override public ActionResultType use(BlockState state, World worldIn, BlockPos pos, PlayerEntity player, Hand handIn, BlockRayTraceResult hit) { if(worldIn.isClientSide()){ TileEntity tileEntity = worldIn.getBlockEntity(pos); if(!player.isCrouching()){ if(tileEntity instanceof BasicGemFusionBenchTile){ INamedContainerProvider containerProvider = createContainerProvider(worldIn,pos); NetworkHooks.openGui(((ServerPlayerEntity)player), containerProvider, tileEntity.getBlockPos()); }else { throw new IllegalStateException("Our Container provider is missing"); } } } return ActionResultType.SUCCESS; } Could someone help me out?
    • in AttachCapabilitiesEvent you need a ICapabilityProvider which holds your Capability
    • Hello, I downloaded a modpack from the curseforge application but when I started it it showed me "error loading mods" so I opened the crash log file, can someone explain to me why it crashed?   ---- Minecraft Crash Report ---- // Uh... Did I do that? Time: 1/29/22 3:10 PM Description: Mod loading error has occurred java.lang.Exception: Mod Loading has failed     at net.minecraftforge.fml.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:85) [?:?] {re:classloading}     at net.minecraftforge.fml.client.ClientModLoader.completeModLoading(ClientModLoader.java:188) [?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.lambda$null$1(Minecraft.java:508) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorMinecraft,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft$$Lambda$11737/1907223181.run(Unknown Source) [?:?] {}     at net.minecraft.util.Util.func_215077_a(Util.java:320) [?:?] {re:classloading}     at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:504) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorMinecraft,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft$$Lambda$11514/1392735791.accept(Unknown Source) [?:?] {}     at net.minecraft.client.gui.ResourceLoadProgressGui.func_230430_a_(ResourceLoadProgressGui.java:113) [?:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:481) [?:?] {re:mixin,pl:accesstransformer:B,xf:fml:fairylights:GameRendererTransformer,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:fairylights:GameRendererTransformer,pl:mixin:APP:flywheel.mixins.json:StoreProjectionMatrixMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:977) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorMinecraft,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorMinecraft,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}     at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.5-36.2.23.jar:36.2] {}     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$492/1468393491.call(Unknown Source) [forge-1.16.5-36.2.23.jar:36.2] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22) ~[core-3.6.3.jar:?] {} -- MOD ironfurnaces -- Details:     Mod File: ironfurnaces-1.16.5-2.7.7.jar     Failure message: Iron Furnaces (ironfurnaces) has failed to load correctly         com.electronwill.nightconfig.core.io.ParsingException: Not enough data available     Mod Version: 2.7.7     Mod Issue URL: NOT PROVIDED     Exception message: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available Stacktrace:     at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.3.jar:?] {}     at ironfurnaces.Config.loadConfig(Config.java:233) ~[?:2.7.7] {re:classloading}     at ironfurnaces.IronFurnaces.<init>(IronFurnaces.java:50) ~[?:2.7.7] {re:classloading}     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51] {}     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51] {}     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] {}     at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] {}     at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_51] {}     at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81) ~[?:36.2] {re:classloading}     at net.minecraftforge.fml.javafmlmod.FMLModContainer$$Lambda$3130/2022311187.run(Unknown Source) ~[?:?] {}     at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:120) ~[?:?] {re:classloading}     at net.minecraftforge.fml.ModContainer$$Lambda$3668/1641169735.run(Unknown Source) ~[?:?] {}     at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) ~[?:1.8.0_51] {}     at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1610) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_51] {} -- MOD invtweaks -- Details:     Mod File: invtweaks-1.16.4-1.0.1.jar     Failure message: Inventory Tweaks Renewed (invtweaks) has failed to load correctly         com.electronwill.nightconfig.core.io.ParsingException: Not enough data available     Mod Version: 1.16.4-1.0.1     Mod Issue URL: NOT PROVIDED     Exception message: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available Stacktrace:     at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.3.jar:?] {}     at invtweaks.config.InvTweaksConfig.loadConfig(InvTweaksConfig.java:262) ~[?:?] {re:classloading}     at invtweaks.InvTweaksMod.<init>(InvTweaksMod.java:141) ~[?:?] {re:classloading}     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51] {}     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51] {}     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] {}     at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] {}     at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_51] {}     at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81) ~[?:36.2] {re:classloading}     at net.minecraftforge.fml.javafmlmod.FMLModContainer$$Lambda$3130/2022311187.run(Unknown Source) ~[?:?] {}     at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:120) ~[?:?] {re:classloading}     at net.minecraftforge.fml.ModContainer$$Lambda$3668/1641169735.run(Unknown Source) ~[?:?] {}     at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) ~[?:1.8.0_51] {}     at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1610) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_51] {} -- MOD mininggadgets -- Details:     Mod File: mininggadgets-1.7.5.jar     Failure message: Mining Gadgets (mininggadgets) has failed to load correctly         com.electronwill.nightconfig.core.io.ParsingException: Not enough data available     Mod Version: 1.7.5     Mod Issue URL: https://github.com/Direwolf20-MC/MiningGadgets     Exception message: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available Stacktrace:     at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.3.jar:?] {}     at com.direwolf20.mininggadgets.common.Config.loadConfig(Config.java:116) ~[?:1.7.5] {re:classloading}     at com.direwolf20.mininggadgets.common.MiningGadgets.<init>(MiningGadgets.java:65) ~[?:1.7.5] {re:classloading}     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51] {}     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51] {}     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] {}     at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] {}     at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_51] {}     at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81) ~[?:36.2] {re:classloading}     at net.minecraftforge.fml.javafmlmod.FMLModContainer$$Lambda$3130/2022311187.run(Unknown Source) ~[?:?] {}     at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:120) ~[?:?] {re:classloading}     at net.minecraftforge.fml.ModContainer$$Lambda$3668/1641169735.run(Unknown Source) ~[?:?] {}     at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) ~[?:1.8.0_51] {}     at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1610) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_51] {} -- MOD titanium -- Details:     Mod File: titanium-1.16.5-3.2.8.4-10.jar     Failure message: Titanium (titanium) has failed to load correctly         com.electronwill.nightconfig.core.io.ParsingException: Not enough data available     Mod Version: 3.2.8.4     Mod Issue URL: NOT PROVIDED     Exception message: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available Stacktrace:     at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.WriteAsyncFileConfig.load(WriteAsyncFileConfig.java:138) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.SimpleCommentedFileConfig.load(SimpleCommentedFileConfig.java:38) ~[core-3.6.3.jar:?] {}     at com.hrznstudio.titanium.module.ModuleController.onInit(ModuleController.java:68) ~[?:3.2.8.4] {re:classloading}     at com.hrznstudio.titanium.Titanium.onInit(Titanium.java:109) ~[?:3.2.8.4] {re:classloading}     at com.hrznstudio.titanium.module.ModuleController.<init>(ModuleController.java:45) ~[?:3.2.8.4] {re:classloading}     at com.hrznstudio.titanium.Titanium.<init>(Titanium.java:90) ~[?:3.2.8.4] {re:classloading}     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51] {}     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51] {}     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] {}     at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] {}     at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_51] {}     at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81) ~[?:36.2] {re:classloading}     at net.minecraftforge.fml.javafmlmod.FMLModContainer$$Lambda$3130/2022311187.run(Unknown Source) ~[?:?] {}     at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:120) ~[?:?] {re:classloading}     at net.minecraftforge.fml.ModContainer$$Lambda$3668/1641169735.run(Unknown Source) ~[?:?] {}     at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) ~[?:1.8.0_51] {}     at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1610) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_51] {} -- MOD appleskin -- Details:     Mod File: appleskin-forge-mc1.16.x-2.2.0.jar     Failure message: AppleSkin (appleskin) has failed to load correctly         com.electronwill.nightconfig.core.io.ParsingException: Not enough data available     Mod Version: mc1.16.4-2.2.0     Mod Issue URL: https://github.com/squeek502/AppleSkin     Exception message: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available Stacktrace:     at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.3.jar:?] {}     at squeek.appleskin.ModConfig.init(ModConfig.java:19) ~[?:mc1.16.4-2.2.0] {re:classloading}     at squeek.appleskin.AppleSkin.<init>(AppleSkin.java:30) ~[?:mc1.16.4-2.2.0] {re:classloading}     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51] {}     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51] {}     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] {}     at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] {}     at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_51] {}     at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81) ~[?:36.2] {re:classloading}     at net.minecraftforge.fml.javafmlmod.FMLModContainer$$Lambda$3130/2022311187.run(Unknown Source) ~[?:?] {}     at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:120) ~[?:?] {re:classloading}     at net.minecraftforge.fml.ModContainer$$Lambda$3668/1641169735.run(Unknown Source) ~[?:?] {}     at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) ~[?:1.8.0_51] {}     at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1610) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_51] {} -- MOD openloader -- Details:     Mod File: OpenLoader-1.16.5-9.0.3.jar     Failure message: OpenLoader (openloader) has failed to load correctly         com.electronwill.nightconfig.core.io.ParsingException: Not enough data available     Mod Version: 9.0.3     Mod Issue URL: https://github.com/Darkhax-Minecraft/Open-Loader/issues     Exception message: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available Stacktrace:     at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.3.jar:?] {}     at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.3.jar:?] {}     at net.darkhax.openloader.Configuration.forceLoad(Configuration.java:54) ~[?:9.0.3] {re:classloading}     at net.darkhax.openloader.OpenLoader.<init>(OpenLoader.java:40) ~[?:9.0.3] {re:mixin,re:classloading}     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51] {}     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51] {}     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] {}     at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] {}     at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_51] {}     at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81) ~[?:36.2] {re:classloading}     at net.minecraftforge.fml.javafmlmod.FMLModContainer$$Lambda$3130/2022311187.run(Unknown Source) ~[?:?] {}     at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:120) ~[?:?] {re:classloading}     at net.minecraftforge.fml.ModContainer$$Lambda$3668/1641169735.run(Unknown Source) ~[?:?] {}     at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) ~[?:1.8.0_51] {}     at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1610) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) ~[?:1.8.0_51] {}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_51] {} -- System Details -- Details:     Minecraft Version: 1.16.5     Minecraft Version ID: 1.16.5     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 1580801448 bytes (1507 MB) / 4540334080 bytes (4330 MB) up to 10200547328 bytes (9728 MB)     CPUs: 12     JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx10944m -Xms256m     ModLauncher: 8.0.9+86+master.3cf110c     ModLauncher launch target: fmlclient     ModLauncher naming: srg     ModLauncher services:          /mixin-0.8.4.jar mixin PLUGINSERVICE          /eventbus-4.0.0.jar eventbus PLUGINSERVICE          /forge-1.16.5-36.2.23.jar object_holder_definalize PLUGINSERVICE          /forge-1.16.5-36.2.23.jar runtime_enum_extender PLUGINSERVICE          /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE          /forge-1.16.5-36.2.23.jar capability_inject_definalize PLUGINSERVICE          /forge-1.16.5-36.2.23.jar runtimedistcleaner PLUGINSERVICE          /mixin-0.8.4.jar mixin TRANSFORMATIONSERVICE          /forge-1.16.5-36.2.23.jar fml TRANSFORMATIONSERVICE 
    • in vanilla it's called packet, in forge it's called message and yes you need to set a packet you can use this as a practical example
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.