Dimension
On hold until problems are resolved.
This tutorial has been long awaited. It will utilise Forge and it alone. If you are following this tutorial it is expected that you have already set up your Forge workspace and have the main registry class of your mod set up. When I say "the main registry class", I am referring to the class with the @Mod annotation and the three methods with the @Init, @PreInit and @PostInit annotations.
At first, it will be a basic tutorial on how to get the dimension up and running. After that you can customise it however you like. I plan to have customisation tutorials up soon but I would prefer just to get this bit done well first.Before we actually get to making the dimension, I'll give a bit of an explanation as to how they actually work.
Dimensions use something called a WorldProvider. The WorldProvider registers almost everything to do with the dimension. Functions the WorldProvider has include registering the chunk manager and provider for the world(more about this below), the angle the sky is rotated at and setting the light levels, biomes and fog levels; just to name a few.
The biome/s of the world is/are set in the WorldChunkManager. You could have one biome, or many. It is all up to you when you get to customising it. The chunk manager is registered in the WorldProvider class.
The terrain itself is set in the ChunkProvider for the world. The ChunkProvider allows possibly the most customisation out of every other class that you will make. It is registered in the WorldProvider class aswell. In the chunk provider you can change terrain levels, water/lava pools, villages, strongholds, dungeons, etc. and several other variables that are fun to mess around with.
The first thing you'll need to do is register a provider for your dimension.
DimensionManager.registerProviderType(25,WorldProviderNameHere.class, true);
The registerProviderType method accepts three arguments: An int, a class and a boolean. The int is the id you want to assign to the world provider. The class is the actual class of the world provider. The boolean is whether or not to keep the world loaded. That is, keep the world prebuffered so it loads quicker(needs citation). For example, the Overworld and Nether have this boolean set to true but the End has it set to false. This is because the Overworld and Nether are the main two dimensions of the game.
Next you will need to register the dimension itself and assign the world provider.
DimensionManager.registerDimension(DimensionManager.getNextFreeDimId(), 25);
The registerDimension method accepts two ints for its arguments. The first is the id of the dimension. You are best of calling the getNextFreeDimId method here so that there are less incompatibilities. The second int is the providerType id you assigned to the world provider above. In our example we used 25.
This section is under work. I will try not to let it die like the gui tutorial did. By the time this tutorial is fully done, it will probably be my most comprehensive tutorial by far.
Tutorials I Recommend
This is a list of tutorials I recommend. These tutorials are not made by me, nor will I make tutorials on things listed below. I can't guarantee that these tutorials will continue to be updated and work in the future.- Adding Sounds - By lockNload147 (Vanilla(All MC Versions), Forge 1.5)
- Damage Item After Use In Recipe - By dmillerw (All MC Versions)
1
1
if i ever finish what i plan this mod will be on par with aether(no really but i can dream cant i).
some of the things i plan to do is
- different color enchantments instead of just purple (will be called upgrades) allow with its own enchanting system allowing you to choose what you get.
- all the light vehicles
- a dimension with tons of bioems including skylands area above the sea.
- the grids own crafting system more of a one touch crafting.
- tons of commands so that you can allow or disable parts of the mod.
and this is just the beginning
1
there is no beta yet and it will be forge
1
i really like this idea.
1
1. Temples
2. Dragons Rewrite(Armor,fire, saddle bag, better flying,much more)
3.Magic(there have been lots of ideas but not sure which method we will go with) but keep giving us ideas.
4. Other Races and their cities.
5. What ever else is too come.
This list is not set in stone but its what i expect to be doing. You will be happy to know that i am getting more work done on the Temples and should have it done some time next week. Because of the release of 1.4.4 soon i will upgrade it to that instead of 1.4.2. again sorry for taking so long to update but i didn't want to just release it with the same stuff in it.
1
1.4.3 was canceled so the next release will be 1.4.4 . that will also be the version we release.
right now we are still working on adding the temples back to the mod. im sorry that it has taken this long but do to unforeseen circumstances (a large hurricane) we have been a bit delayed.
1
i currently am working on 1.4.2(and 1.4.3). it is technical updated but i still want to add stuff and fix a few things before i put out another release(i don't want to be putting out a 1.4 with the only the same stuff as 1.3). Mostly the new version will include the temples, da new textures, bug fixes(where ever i can), ect. the old flight system was amazing and i loved it so i will be trying to add that back when i finish a few things. now the part you may not like about flight is even when i add back the old flight system is will still be choppy only because there is server client communications going on all the time and it will lag some(the amount will vary).
edit: also i believe this mod is far enough along to need a config file(for item id's and such) so i will be adding that so you can reduce compatibility problems.
1
I hope to have the update out in the next couple of days
1
I will say this good luck programing, just because its "the second best school in the country" doesn't mean you will be able to program with out problem cause, programing is a mind set, a logical way of thought. you arn't showing that logic(doesn't mean you don't have it but that i haven't seen it by the way u act). if you really don't like what were doing then go and try yourself, but after 20+ hours of trying and you still don't have it done and we will still be here if you would like to play with awesome dragons.
1