sky color is not working i cant get the sky color o my dimension to green it stays blue
Unless you want special effects for the sky color, change it in your biome's class, not your WorldProvider. The hook in WorldProviderBase is aimed at giving modders as much control as possible over sky rendering, but if you simply want to change the color, again you should do it for your dimension's biome(s).
I Did your tutorial and every time i walk into my portal it said transporting to dimension and then when i walked out the portal i have not been transported. So i copied and pasted the source code and edited it accordingly, still the same problem. Please Help
Did absolutely nothing change, or did the biomes change at all? Did it say "Entering the..." when you went and "Leaving the..." when you returned, or did it always say "Entering the..."? Is your dimension ID a non-zero number? I need more information.
I'm using this for my NarutoMod and i will include it in the download so http://www.minecraft...12/page__st__80
;D
Oh and how do i add more than one biome to my dimension?
Thanks for the link. If you want information on multiple biomes, go to page 4 and scroll down to post #72. That will at least give you some background info.
When I walk in My Portal it says "Entering Food Dimension" and Then you get Teleported to the same place, no biomes have changed nothing i even places blocks to see if they would disappear because of new chunk generation, but then when i get into my portal it does "Leaving Food Dimension". I Set My Id to 65 just like the source code Number. Also i set it up so only my biome would only generate, But nope still didn't work, I Hope this was enough information for You
Hmm... one more question: Does the world "generate" really, abnormally quickly when you're switching between dimensions? If so, this sounds like a save file bug; go to SaveOldDir.java and see if there are any references to my API (WorldProviderBase, specifically) in it. If not, then I suggest you re-install the API.
Someone else has gotten that error before also. Perhaps you should use the source code (found in the spoiler right under "Instructions for Modders") for that file, or for the installation in general, instead of decompiling it.
Also, a note for everyone on the next update: I will need MCP, ModLoader, and ModLoaderMp to update before I can. I will be adding several requested features.
No it's Says saving chunks but goes very quickly and keeps me in the overworld not food dimension, but i will try my oldsave thanks i will tell u if i get anymore errors
I have 2 SaveOldDir, 1 of them has this code in:
if(worldprovider instanceof WorldProviderBase)
{
File file3 = new File(file, (new StringBuilder()).append("DIM").append(worldprovider.field_4218_e).toString());
file3.mkdirs();
return new ThreadedChunkLoader(file3);
} else
{
return new ThreadedChunkLoader(file);
}
}
and the other file doesnt, Hope this can help
Okay, so, you step into the portal, it activates after a delay, and the screen changes to a dirt screen saying "Entering the Food Dimension". On the other side is what appears to be the overworld, but then the game suddenly crashes? Is this correct?
I forgot a quick way to test whether there's something wrong with saving, actually. In the save files for the worlds where you have tried to go to your dimension, is there a folder somewhere called DIM65?
The only place with the word "dim65" is the number 64 in my WorldProviderFood and that defining the dimension number, Is there somewhere i need to put that 65 and also i will try reninstalling your Api again and see if that helps
I meant in the save folders, not the code (mcp/jars/saves). A folder called DIM*whatever your dimension's ID is* should appear, like DIM-1 for the Nether, if you have tried to travel to that dimension in that save.
If I have even one more dimension without modifying base files then for me that's more than enough!
For me, a Dimension means that I can have my main world unedited while being able any time I want to travel somewhere where I can have new ores, new enemies, being able to build anything I want and then come back in a vanilla Minecraft world!
it's me again can you explain a little bit the steps i must do to make a new dimension because i'm confused like **** !
(like first make this file then that file etc...)
That would be great.
And what do you mean with use that file as installer ?
VirtualArts
I just meant put the source code directly into your src folder, instead of decompiling the obfuscated code. That should hopefully fix any recompiling errors.
Have you downloaded the source for my sample dimension? It explains a bit about making dimensions and includes the most basic necessary files for doing so. Since it's open-source, you can use any of the code you want from it while you're learning.
If I have even one more dimension without modifying base files then for me that's more than enough!
For me, a Dimension means that I can have my main world unedited while being able any time I want to travel somewhere where I can have new ores, new enemies, being able to build anything I want and then come back in a vanilla Minecraft world!
That's one reason I like dimension mods; they can add a whole ton of content without messing with the overworld.
How can I make so that if i for example make a frame out of cobblestone and use a :Flint and Steel: on it, the portal blocks come, which part of the code is that?
Look in the code for Nether portals and fire (BlockPortal and BlockFire). You may need to edit a class (probably BlockFire) to get it to work, or possibly use reflection if you can.
i tried to do what you said and when i recompile again i now get an error in Minecrafterror.java at line 25 and 40
heres the error:
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\MinecraftError.java:25: error: not a statement
"map_" + var0;
^
src\minecraft\net\minecraft\src\MinecraftError.java:40: error: not a statement
"map_" + var1.i();
^
2 errors
1 warning
==================
Do you maybe know waht this is ?
I also download the source code + desert source code tut
Thanks
MinecraftError.java? I don't edit that class. Because of this, I don't really know what to tell you. Does this not happen without the API?
No it also gives the error when recompiling it without your api.
I'm using mcp56 with minecraft 1.2.3 , can it be that i need an mcp compatible with that version ?
Because those errors in minecrafterror.java i got those also in minecraft v1.1
You definitely need the correct version of MCP; it doesn't work without the correct version. I believe a pre-release of MCP v6 (for 1.2.3) is out, and the normal release will come later today if no issues are found. I don't know why the same errors were occurring for 1.1, though.
I would wait for the official version if I were you, though. I'm not updating the API until the official version is released and ModLoaderMp is updated. (The current version of the API won't be compatible with 1.2.3.)
Creating a custom biome is a pain since i have to recreate GenLayer :l
Yeah, it sort of is. Also watch out for when the biome IDs are referenced by just the numbers, as opposed to BiomeGenBase.biome.biomeID (especially common is 0 instead of the ocean biome).
latest forge version edits WorldProvider for dimensions but this dimension api is way better than forge dimension thing cause its easier to use and as alot more functions, ill make a patch or remove the incompatality by editing forge WorldProvider
latest forge version edits WorldProvider for dimensions but this dimension api is way better than forge dimension thing cause its easier to use and as alot more functions, ill make a patch or remove the incompatality by editing forge WorldProvider
Wait, what? Where did you see that Forge has any dimension hooks? Can you give me a link please? Thanks for the compliments, by the way.
I went ahead and added it to the main post. :smile.gif:
Unless you want special effects for the sky color, change it in your biome's class, not your WorldProvider. The hook in WorldProviderBase is aimed at giving modders as much control as possible over sky rendering, but if you simply want to change the color, again you should do it for your dimension's biome(s).
As long as you don't add it to overworld biome generation in GenLayerVillageLandscape, it should be fine.
Did absolutely nothing change, or did the biomes change at all? Did it say "Entering the..." when you went and "Leaving the..." when you returned, or did it always say "Entering the..."? Is your dimension ID a non-zero number? I need more information.
Great!
Thanks for the link. If you want information on multiple biomes, go to page 4 and scroll down to post #72. That will at least give you some background info.
Hmm... one more question: Does the world "generate" really, abnormally quickly when you're switching between dimensions? If so, this sounds like a save file bug; go to SaveOldDir.java and see if there are any references to my API (WorldProviderBase, specifically) in it. If not, then I suggest you re-install the API.
Someone else has gotten that error before also. Perhaps you should use the source code (found in the spoiler right under "Instructions for Modders") for that file, or for the installation in general, instead of decompiling it.
Also, a note for everyone on the next update: I will need MCP, ModLoader, and ModLoaderMp to update before I can. I will be adding several requested features.
Okay, so, you step into the portal, it activates after a delay, and the screen changes to a dirt screen saying "Entering the Food Dimension". On the other side is what appears to be the overworld, but then the game suddenly crashes? Is this correct?
I forgot a quick way to test whether there's something wrong with saving, actually. In the save files for the worlds where you have tried to go to your dimension, is there a folder somewhere called DIM65?
I meant in the save folders, not the code (mcp/jars/saves). A folder called DIM*whatever your dimension's ID is* should appear, like DIM-1 for the Nether, if you have tried to travel to that dimension in that save.
Thank you!
Thanks. No, I'm not Swedish, but I do like poodles.
For me, a Dimension means that I can have my main world unedited while being able any time I want to travel somewhere where I can have new ores, new enemies, being able to build anything I want and then come back in a vanilla Minecraft world!
I just meant put the source code directly into your src folder, instead of decompiling the obfuscated code. That should hopefully fix any recompiling errors.
Have you downloaded the source for my sample dimension? It explains a bit about making dimensions and includes the most basic necessary files for doing so. Since it's open-source, you can use any of the code you want from it while you're learning.
That's one reason I like dimension mods; they can add a whole ton of content without messing with the overworld.
Look in the code for Nether portals and fire (BlockPortal and BlockFire). You may need to edit a class (probably BlockFire) to get it to work, or possibly use reflection if you can.
Thank you.
MinecraftError.java? I don't edit that class. Because of this, I don't really know what to tell you. Does this not happen without the API?
You definitely need the correct version of MCP; it doesn't work without the correct version. I believe a pre-release of MCP v6 (for 1.2.3) is out, and the normal release will come later today if no issues are found. I don't know why the same errors were occurring for 1.1, though.
Searge released it on his Twitter feed. (link)
I would wait for the official version if I were you, though. I'm not updating the API until the official version is released and ModLoaderMp is updated. (The current version of the API won't be compatible with 1.2.3.)
Yeah, it sort of is. Also watch out for when the biome IDs are referenced by just the numbers, as opposed to BiomeGenBase.biome.biomeID (especially common is 0 instead of the ocean biome).
I still need ModLoaderMp to update before I can.
Wait, what? Where did you see that Forge has any dimension hooks? Can you give me a link please? Thanks for the compliments, by the way.
its version 1.3.4
http://goo.gl/8tbXQ
heres the changelog where i found the dimension thing
http://pastebin.com/qsCmZp4Y