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

Obsidia and forge


SenpaiSubaraki
 Share

Recommended Posts

Obsidia crashes with forge é.è

 

Being author of this mod (luckily) i know what the problem is.

 

ModLoader has a nice build in, good working, entityTracker system.

Sadly enough, Forge never adapted this ModLoader method, but created an own entitytracker (which untill today i still didn't find any tutorials of, or failed miserably trying myself)

 

So any fix would be great, as I use my own mod together with forge mods.

 

 

2012-11-20 09:47:01 [sEVERE] [ForgeModLoader] Caught exception from mod_ObsidianMod

java.lang.IllegalArgumentException: The ModLoader mod mod_ObsidianMod has tried to register an entity tracker for a non-existent entity type EntityHarvest

at cpw.mods.fml.common.registry.EntityRegistry.registerModLoaderEntity(EntityRegistry.java:374)

at cpw.mods.fml.common.modloader.ModLoaderHelper.buildEntityTracker(ModLoaderHelper.java:194)

at ModLoader.addEntityTracker(ModLoader.java:122)

at mod_ObsidianMod.load(mod_ObsidianMod.java:77)

at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:544)

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

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

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

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

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:651)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:196)

at net.minecraft.client.Minecraft.a(Minecraft.java:469)

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

at java.lang.Thread.run(Unknown Source)

 

Link to comment
Share on other sites

You're registering your entity after you register it's tracker.

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Link to comment
Share on other sites

While that may be true, Modloader is less picky when it comes to those things - so perhaps FML should sort it out for Modloader mods which try to do that (if possible). Are you just using Modloader functions?

 

i think you might be wrong:/

cause in my mod file the entityTracker is clearely registered after the entity.

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.

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



×
×
  • Create New...

Important Information

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