Jump to content

Adding a new dimension help


MiCr2

Recommended Posts

Hi forge modders,

 

I've spent countless hours in trying to find a tutorial both here and else where, but I can't find any good tutorials.

 

Please don't answer with "Look at wuppy's blog" he uses the Dimension API, I'm wanting to use just forge. I've already tried it with the Dimension API, it loads the world, but the wrong blocks, I made a biome for the world with my own custom blocks, but I get errors. So I have to put in Block.grass.blockID even then, then world just generates stone (my custom stone block).

So unless you know how to fix this, I would appreciate if you could help with just using forge.

 

Also don't just say: "Look at the Dimension Manager" and leave it at that, I've seen many posts like this and that just does not help at all.

 

 

Sorry for sounding rude or something like that, but this is getting frustrating.

 

Progress so far: I created the portal class, worldproviderlimbo class (that's the name of the dimension, limbo), chunkproviderlimbo class and a teleport class. The error I get is that it couldn't load the world Limbo.

In the main class, I got:

  DimensionManager.registerProviderType( 2, LimboWorldProvider.class, false);
  DimensionManager.registerDimension( 2, 2); 

Link to comment
Share on other sites

What is the error?

 

The error is:

 

 

2012-10-13 16:54:53 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.reflect.InvocationTargetException
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.transition(LoadController.java:106)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:603)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:217)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:447)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:734)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at java.lang.Thread.run(Unknown Source)
2012-10-13 16:54:53 [iNFO] [sTDERR] Caused by: java.lang.reflect.InvocationTargetException
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:308)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:127)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:85)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:602)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	... 4 more
2012-10-13 16:54:53 [iNFO] [sTDERR] Caused by: java.lang.ExceptionInInitializerError
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at limbo.common.Limbo.load(Limbo.java:112)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	... 30 more
2012-10-13 16:54:53 [iNFO] [sTDERR] Caused by: java.lang.IllegalArgumentException: Failed to register dimensiuon for id 2, provider type 2 does not exist
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at net.minecraftforge.common.DimensionManager.registerDimension(DimensionManager.java:54)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at net.minecraftforge.common.DimensionManager.init(DimensionManager.java:47)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	at net.minecraftforge.common.DimensionManager.<clinit>(DimensionManager.java:124)
2012-10-13 16:54:53 [iNFO] [sTDERR] 	... 31 more

 

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.