Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.minecraft.src;
- import java.util.Random;
- public class mod_BlocksGalore extends BaseMod
- {
- public static final Block bluecobblestone;
- public void load()
- {
- bluecobblestone = new BlockBlueCobbleStone(148, ModLoader.addOverride("/terrian.png", "/Mods/BlueCobble.png")).setLightValue(.5F).setHardness(1.5F).setResistance(10.0F).setBlockName("Blue CobbleStone");
- ModLoader.registerBlock(bluecobblestone);
- ModLoader.addName(bluecobblestone, "Blue CobbleStone");
- }
- public void generateSurface(World world, Random random, int i, int j)
- {
- for(int i4 = 0; i4 < 20; i4++)
- {
- int j7 = i + random.nextInt(16);
- int k10 = random.nextInt(128);
- int j13 = j + random.nextInt(16);
- (new WorldGenMinable(mod_BlocksGalore.bluecobblestone.blockID, 8)).generate(world, random, j7, k10, j13);
- }
- }
- public String getVersion()
- {
- return ("Blocks Galore v1");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement