Thygamerkid, I dont need it done by a set date, but somewhere between 1 month to 2 months would be good.
And if Universeofbutter can send you the code for the ores, that would be great.
Rollback Post to RevisionRollBack
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
private void generateNether(World world, Random random, int x, int z) {
// TODO Auto-generated method stub
}
private void generateEnd(World world, Random random, int x, int z) {
}
private void addOreSpawn(Block block, World world, Random random, int blockXPos, int blockZPos, int maxX, int maxZ, int maxVeinSize, int chanceToSpawn, int minY, int maxY) {
for(int i = 0; i < chanceToSpawn; i++) {
int posX = blockXPos + random.nextInt(maxX);
int posY = minY + random.nextInt(maxY - minY);
int posZ = blockZPos + random.nextInt(maxZ);
(new WorldGenMinable(block, maxVeinSize)).generate(world, random, posX, posY, posZ);
}
}
//Spawning of things
GameRegistry.registerWorldGenerator(eventWG, 0);
}
@EventHandler
public void Init(FMLInitializationEvent Event){
//Crafting
GameRegistry.addRecipe(new ItemStack(blockSilver), new Object[] {"CCC", "CCC", "CCC", 'C', ingotSilver});
GameRegistry.addShapelessRecipe(new ItemStack(ingotSilver,9), new Object[]{blockSilver});
//Smelting
GameRegistry.addSmelting(oreSilver, new ItemStack(ingotSilver), 10);
}
@EventHandler
public void PostInit(FMLPostInitializationEvent PostEvent){
}
}
This is some of the code. If you want the code for things like blocks just let me know. I check my inbox once a day.
Some new mobs would also be nice-for example, you could rename the Dragon's tooth to 'Lizard tooth' and add in giant lizards, with different species for deserts, jungles, and caves!
Yes i guess he has Not realy, i wish i could stress you my life! so sorta kinds, if anyone will be able to continue with it i would love that! Whell idk, i want to do this mod, but it is very time consuming!
But to tell the truth, i would be a lot more inspired to do this mod if i could see that it could make a huge difference! m8rboy, talk to me, lets talk about a mod that can make a difference! Together! But also some of the things in this mod has been created.
Yes i guess he has Not realy, i wish i could stress you my life! so sorta kinds, if anyone will be able to continue with it i would love that! Whell idk, i want to do this mod, but it is very time consuming!
But to tell the truth, i would be a lot more inspired to do this mod if i could see that it could make a huge difference! m8rboy, talk to me, lets talk about a mod that can make a difference! Together! But also some of the things in this mod has been created.
That was a beautiful speech. And indeed it would make a huge difference, seeing as it's going to be the main mod in my modpack.
Rollback Post to RevisionRollBack
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
Hmm
I see that proffeser diggi has taken this mod pack :/ And i might not be able to work with him cause the way i make mods is "different" and fast! I would like to make a mod separate from this one with you if that makes sense! But if not i under stand!
The Meaning of Life, the Universe, and Everything.
Location:
Behind You
Join Date:
5/4/2014
Posts:
48
Minecraft:
Proffesor_Diggi
PSN:
Proffesor_Diggi
Member Details
btw, Thygamerkid You don't know how I make mods - _ -
Oh and m8rboy! I can also make modpacks, I have one at the moment, search "Proffesor Diggi's Pixelmon +", on the technic website of course.
Thygamerkid, if you can't work on it ( if you're too busy or something, that's okay. And Professor_Diggi, did you use the code Universeofbutter put out for the ores? If not, it doesn't matter, but it might make things easier.
Rollback Post to RevisionRollBack
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
Just for the ores though
And if Universeofbutter can send you the code for the ores, that would be great.
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
package net.whynot.mod.worldgen;
import java.util.Random;
import net.battlecraft.mod.battlecraft;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.chunk.IChunkProvider;
import net.minecraft.world.gen.feature.WorldGenMinable;
import cpw.mods.fml.common.IWorldGenerator;
public class BattleCraftWG implements IWorldGenerator{
@Override
public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) {
switch(world.provider.dimensionId) {
case 0 :
//Generate our surface world
generateSurface(world, random, chunkX*16, chunkZ*16);
case -1 :
//Generate our surface world
generateNether(world, random, chunkX*16, chunkZ*16);
case 1 :
//Generate our surface world
generateEnd(world, random, chunkX*16, chunkZ*16);
}
}
private void generateSurface(World world, Random random, int x, int z) {
//this.addOreSpawn(Nealecraft.oreWhatever, world, random, i=blockXPos, j= blockZPos, maxX, maxZ, maxVeinSize, chancetospawn, minY, maxY);
//Add ores LOOK HERE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this.addOreSpawn(battlecraft.oreTitanium, world, random, x, z, 16, 16, 4+random.nextInt(6), 25, 38, 100);
this.addOreSpawn(battlecraft.oreUranium, world, random, x, z, 16, 16, 4+random.nextInt(6), 25, 38, 100);
this.addOreSpawn(battlecraft.oreSilver, world, random, x, z, 16, 16, 4+random.nextInt(6), 25, 38, 100);
this.addOreSpawn(battlecraft.oreBronze, world, random, x, z, 16, 16, 4+random.nextInt(6), 25, 38, 100);
}
private void generateNether(World world, Random random, int x, int z) {
// TODO Auto-generated method stub
}
private void generateEnd(World world, Random random, int x, int z) {
}
private void addOreSpawn(Block block, World world, Random random, int blockXPos, int blockZPos, int maxX, int maxZ, int maxVeinSize, int chanceToSpawn, int minY, int maxY) {
for(int i = 0; i < chanceToSpawn; i++) {
int posX = blockXPos + random.nextInt(maxX);
int posY = minY + random.nextInt(maxY - minY);
int posZ = blockZPos + random.nextInt(maxZ);
(new WorldGenMinable(block, maxVeinSize)).generate(world, random, posX, posY, posZ);
}
}
}
Main Registry:
package net.whynot.mod;
import net.battlecraft.mod.blocks.blockSilverBlock;
import net.battlecraft.mod.blocks.oreSilverOre;
import net.battlecraft.mod.items.BCItems;
import net.battlecraft.mod.worldgen.BattleCraftWG;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
@Mod(modid= whynot.modid, version = whynot.version)
public class whynot {
//Identifying Strings
public static final String modid = "Why Not?";
public static final String version = "Pre Alpha 0.0.1";
BattleCraftWG eventWG = new BattleCraftWG();
//Items
//Ingots
public static Item ingotSilver;
public static Item ingotBronze;
public static Item ingotUranium;
public static Item ingotTitanium;
//Blocks
public static Block blockSilver;
public static Block blockBronze;
public static Block blockTitanium;
public static Block blockUranium;
//Ores
public static Block oreSilver;
public static Block oreUranium;
public static Block oreBronze;
public static Block oreTitanium;
//Crafting
@EventHandler
public void PreInit(FMLPreInitializationEvent preEvent){
//Items
ingotSilver = new BCItems().setUnlocalizedName("SilverIngot");
GameRegistry.registerItem(ingotSilver, "SilverIngot");
LanguageRegistry.addName(ingotSilver, "Silver Ingot");
ingotBronze = new BCItems().setUnlocalizedName("CopperIngot");
GameRegistry.registerItem(ingotBronze, "CopperIngot");
LanguageRegistry.addName(ingotBronze, "Copper Ingot");
ingotUranium = new BCItems().setUnlocalizedName("CopperIngot");
GameRegistry.registerItem(ingotBronze, "CopperIngot");
LanguageRegistry.addName(ingotBronze, "Copper Ingot");
ingotTitanium = new BCItems().setUnlocalizedName("CopperIngot");
GameRegistry.registerItem(ingotBronze, "CopperIngot");
LanguageRegistry.addName(ingotBronze, "Copper Ingot");
//Blocks
blockSilver = new blockSilverBlock(Material.rock).setBlockName("SilverBlock").setBlockTextureName(modid + ":" + "SilverBlock");
GameRegistry.registerBlock(blockSilver, "SilverBlock");
LanguageRegistry.addName(blockSilver, "Silver Block");
blockBronze = new blockSilverBlock(Material.rock).setBlockName("CopperBlock").setBlockTextureName(modid + ":" + "CopperBlock");
GameRegistry.registerBlock(blockBronze, "CopperBlock");
LanguageRegistry.addName(blockBronze, "Copper Block");
blockUranium = new blockSilverBlock(Material.rock).setBlockName("CopperBlock").setBlockTextureName(modid + ":" + "CopperBlock");
GameRegistry.registerBlock(blockBronze, "CopperBlock");
LanguageRegistry.addName(blockBronze, "Copper Block");
blockTitanium = new blockSilverBlock(Material.rock).setBlockName("CopperBlock").setBlockTextureName(modid + ":" + "CopperBlock");
GameRegistry.registerBlock(blockBronze, "CopperBlock");
LanguageRegistry.addName(blockBronze, "Copper Block");
//Ores
oreSilver = new oreSilverOre(Material.rock).setBlockName("SilverOre").setBlockTextureName(modid + ":" + "SilverOre");
GameRegistry.registerBlock(oreSilver, "SilverOre");
LanguageRegistry.addName(oreSilver, "Silver Ore");
oreBronze = new oreSilverOre(Material.rock).setBlockName("CopperOre").setBlockTextureName(modid + ":" + "CopperOre");
GameRegistry.registerBlock(oreBronze, "CopperOre");
LanguageRegistry.addName(oreBronze, "Copper Ore");
oreUranium = new oreSilverOre(Material.rock).setBlockName("CopperOre").setBlockTextureName(modid + ":" + "CopperOre");
GameRegistry.registerBlock(oreBronze, "CopperOre");
LanguageRegistry.addName(oreBronze, "Copper Ore");
oreTitanium = new oreSilverOre(Material.rock).setBlockName("CopperOre").setBlockTextureName(modid + ":" + "CopperOre");
GameRegistry.registerBlock(oreBronze, "CopperOre");
LanguageRegistry.addName(oreBronze, "Copper Ore");
//Spawning of things
GameRegistry.registerWorldGenerator(eventWG, 0);
}
@EventHandler
public void Init(FMLInitializationEvent Event){
//Crafting
GameRegistry.addRecipe(new ItemStack(blockSilver), new Object[] {"CCC", "CCC", "CCC", 'C', ingotSilver});
GameRegistry.addShapelessRecipe(new ItemStack(ingotSilver,9), new Object[]{blockSilver});
//Smelting
GameRegistry.addSmelting(oreSilver, new ItemStack(ingotSilver), 10);
}
@EventHandler
public void PostInit(FMLPostInitializationEvent PostEvent){
}
}
This is some of the code. If you want the code for things like blocks just let me know. I check my inbox once a day.
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
That would be nice, cuz Thygamerkid has apparently given up.
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
Thank you
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
But to tell the truth, i would be a lot more inspired to do this mod if i could see that it could make a huge difference! m8rboy, talk to me, lets talk about a mod that can make a difference! Together! But also some of the things in this mod has been created.
That was a beautiful speech. And indeed it would make a huge difference, seeing as it's going to be the main mod in my modpack.
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
I see that proffeser diggi has taken this mod pack :/ And i might not be able to work with him cause the way i make mods is "different" and fast! I would like to make a mod separate from this one with you if that makes sense! But if not i under stand!
Oh and m8rboy! I can also make modpacks, I have one at the moment, search "Proffesor Diggi's Pixelmon +", on the technic website of course.
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
When life gives you lemons, make lime juice and sit back and let the whole world wonder how you did it.
You know it's gonna be a bad day when you fall out of bed and you miss the floor.
I'm having a mod made called Hero's Destiny, previously known as the Why Not mod. Please show support!
Jokes are like cheese; sometimes the best ones stink the most.
😋