">Hello everyone, this is my first post and my first mod. This is only version 1 and I'm looking to add more versions as time goes on. I just wanted to get a public opinion on this mod and continue to add and grow as time passes. Well today, I bring to you....
ENDERCRAFT
Now I know there are far more talented coders out there and I do need your assistance. I have no idea how to make my Enderblock spawn naturally. I would like to make it spawn as naturally as diamond and just as similarly (most commonly found near bedrock). Anyway, back to business, please leave feedback on this mod. I know it's simple and I know there are plenty of people who could code this client, but I'm looking for ideas for my next add-on to the mod. I will be adding Endertorches which give off more light than a normal torch. But if you could offer ideas on what to add to Endercraft, that would help a lot.
I added a block called "Enderblock" which could be crafted from 8 stone and 1 diamond. When smelted, yields one EnderPearl. I found the need for this mod myself because I'm not really a fighter and I tend to just build. So I added this so there was a way (somewhat fair of course) to still obtain EnderPearls without having to deal with Enderman. This was the closest solution. I want to continue to add more and more to this mod and eventually make it one of those great mods you always see on the front page. Hope you like it!
[EDIT] This apparently is my third post... sorry for the misunderstanding
[EDIT 2] This was copied from Mod Development because I felt it was both a mod to be released and it was under development
Ok.. I'm a little lost.. do you want to make it a crafting recipe.. or spawn naturally underground?
I would like the Enderblock to spawn naturally when the world is generated. I would like it to have the same spawning properties as Diamond Ore. I tried to find it myself and on YouTube but i just couldn't seem to find it. If you could help out that would be great.
Are you using modloader? sorry I went AFK for a while and I guess you left. If you are using modloader:
//This function will randomly generate our block in the world (thus making it an ore).
public void GenerateSurface(World world, Random rand, int chunkX, int chunkZ)
{
// i< 25 defines how rare the ore is. Higher number = more common
for (int i = 0; i< 25; i++)
{
//This sets a random x position for the block, so change the number (16) to
// determine how large each vein of ore is
int randPosX = chunkX + rand.nextInt(16);
//This sets a random y position for the block, so change the number (60) to determine
//what depth your ore can be found at (measured in # of levels above bedrock)
int randPosY = rand.nextInt(60);
//This sets a random z position for the block, so change the number (16) to also determine
//how large each vein of ore is
int randPosZ = chunkZ + rand.nextInt(16);
//This tells Minecraft to finally place the block at the x,y and z position that we defined above. And I think the 50 is how many there are per chunk :S
(new WorldGenMinable(YOURBLOCKNAMEHERE.blockID, 50)).generate(world, rand, randPosX, randPosY, randPosZ);
}
}
customize that and put it in your mod_blockname.java
Are you using modloader? sorry I went AFK for a while and I guess you left. If you are using modloader:
//This function will randomly generate our block in the world (thus making it an ore).
public void GenerateSurface(World world, Random rand, int chunkX, int chunkZ)
{
// i< 25 defines how rare the ore is. Higher number = more common
for (int i = 0; i< 25; i++)
{
//This sets a random x position for the block, so change the number (16) to
// determine how large each vein of ore is
int randPosX = chunkX + rand.nextInt(16);
//This sets a random y position for the block, so change the number (60) to determine
//what depth your ore can be found at (measured in # of levels above bedrock)
int randPosY = rand.nextInt(60);
//This sets a random z position for the block, so change the number (16) to also determine
//how large each vein of ore is
int randPosZ = chunkZ + rand.nextInt(16);
//This tells Minecraft to finally place the block at the x,y and z position that we defined above. And I think the 50 is how many there are per chunk :S
(new WorldGenMinable(YOURBLOCKNAMEHERE.blockID, 50)).generate(world, rand, randPosX, randPosY, randPosZ);
}
}
customize that and put it in your mod_blockname.java
Thanks for this, I am not using ModLoader...yet...I see most coders use ModLoader anyway and I'm going to convert for the next update.
Thanks for this, I am not using ModLoader...yet...I see most coders use ModLoader anyway and I'm going to convert for the next update.
It makes life so much easier. The biggest thing is that it doesn't modify base files so you can use other mods alongside your own. I highly recommend it as there wont be much support for people making mods without it. good luck.
also, did you +1 this or did someone that needed that bit of code happen by? lol
This mod sounds amazing but there are a few things you can do to improve your post:
1. Format the title, I see you've added [SSP] but you should also add [version number] (eg [1.8.1])
2. Add the pictures to your OP to show off your mod, it gives people the knowledge that this isnt a virus ;3... To add a picture grab the URL (with the http://) and click on the Add Image button, then paste the URL
...also welcome to the forums, hope to see you posting around the forums :happy.gif:
This mod sounds amazing but there are a few things you can do to improve your post:
1. Format the title, I see you've added [SSP] but you should also add [version number] (eg [1.8.1])
2. Add the pictures to your OP to show off your mod, it gives people the knowledge that this isnt a virus ;3... To add a picture grab the URL (with the http://) and click on the Add Image button, then paste the URL
...also welcome to the forums, hope to see you posting around the forums :happy.gif:
I think the thread was more of a "help" than it was a prerelease. It should be good how it is until he makes an actual release post. but yeah definitely follow this reply in the future codst3r
This mod sounds amazing but there are a few things you can do to improve your post:
1. Format the title, I see you've added [SSP] but you should also add [version number] (eg [1.8.1])
2. Add the pictures to your OP to show off your mod, it gives people the knowledge that this isnt a virus ;3... To add a picture grab the URL (with the http://) and click on the Add Image button, then paste the URL
...also welcome to the forums, hope to see you posting around the forums :happy.gif:
You my friend are retarded arent you?
IT HAS A LINK TO SCREENSHOTS!!!!!
OT (on topic) (kinnda):Welcome to the forums. My name is =D. You cant have my username because it is mine and if you had it then I would never of had it to inspire you to have it and there would be a giant paradox. Please dont blow up the universe, its like the main rule of theese forums.
OT (on topic) (kinnda):Welcome to the forums. My name is =D. You cant have my username because it is mine and if you had it then I would never of had it to inspire you to have it and there would be a giant paradox. Please dont blow up the universe, its like the main rule of theese forums.
Didnt have to go all hostile on me. I knew there was a link to the screenshots I was just suggesting he added them to the original post... Please think before you post because I really hate it when people abuse me and call me things like 'retard'
Now I know there are far more talented coders out there and I do need your assistance. I have no idea how to make my Enderblock spawn naturally. I would like to make it spawn as naturally as diamond and just as similarly (most commonly found near bedrock). Anyway, back to business, please leave feedback on this mod. I know it's simple and I know there are plenty of people who could code this client, but I'm looking for ideas for my next add-on to the mod. I will be adding Endertorches which give off more light than a normal torch. But if you could offer ideas on what to add to Endercraft, that would help a lot.
I added a block called "Enderblock" which could be crafted from 8 stone and 1 diamond. When smelted, yields one EnderPearl. I found the need for this mod myself because I'm not really a fighter and I tend to just build. So I added this so there was a way (somewhat fair of course) to still obtain EnderPearls without having to deal with Enderman. This was the closest solution. I want to continue to add more and more to this mod and eventually make it one of those great mods you always see on the front page. Hope you like it!
Screenshots
">Download (AdFly)
Direct Download
[EDIT] This apparently is my third post... sorry for the misunderstanding
[EDIT 2] This was copied from Mod Development because I felt it was both a mod to be released and it was under development
Sorry, I jumped the gun. I got so excited as to posting this that I posted it as soon as I could!
Sorry about that... I just updated the post.
I would like the Enderblock to spawn naturally when the world is generated. I would like it to have the same spawning properties as Diamond Ore. I tried to find it myself and on YouTube but i just couldn't seem to find it. If you could help out that would be great.
Thanks for this, I am not using ModLoader...yet...I see most coders use ModLoader anyway and I'm going to convert for the next update.
It makes life so much easier. The biggest thing is that it doesn't modify base files so you can use other mods alongside your own. I highly recommend it as there wont be much support for people making mods without it. good luck.
also, did you +1 this or did someone that needed that bit of code happen by? lol
1. Format the title, I see you've added [SSP] but you should also add [version number] (eg [1.8.1])
2. Add the pictures to your OP to show off your mod, it gives people the knowledge that this isnt a virus ;3... To add a picture grab the URL (with the http://) and click on the Add Image button, then paste the URL
...also welcome to the forums, hope to see you posting around the forums :happy.gif:
I think the thread was more of a "help" than it was a prerelease. It should be good how it is until he makes an actual release post. but yeah definitely follow this reply in the future codst3r
You my friend are retarded arent you?
IT HAS A LINK TO SCREENSHOTS!!!!!
OT (on topic) (kinnda):Welcome to the forums. My name is =D. You cant have my username because it is mine and if you had it then I would never of had it to inspire you to have it and there would be a giant paradox. Please dont blow up the universe, its like the main rule of theese forums.
Didnt have to go all hostile on me. I knew there was a link to the screenshots I was just suggesting he added them to the original post... Please think before you post because I really hate it when people abuse me and call me things like 'retard'