package net[paste][/paste]minecraft[paste][/paste]src; import java[paste][/paste]util[paste][/paste]Random;import java[paste][/paste]util[paste][/paste]Map;import java[paste][/paste]io[paste][/paste]*;import net[paste][/paste]minecraft[paste][/paste]client[paste][/paste]Minecraft;public class mod_Big extends BaseMod{ public String Version() { return "1[paste][/paste]6[paste][/paste]6"; } public mod_Big() { ModLoader[paste][/paste]RegisterBlock(uranium); ModLoader[paste][/paste]RegisterBlock(copper); ModLoader[paste][/paste]RegisterBlock(tin); ModLoader[paste][/paste]RegisterBlock(maceratorIdle); ModLoader[paste][/paste]RegisterBlock(maceratorActive); ModLoader[paste][/paste]RegisterTileEntity(TileEntityMacerator[paste][/paste]class, "maceratorIdle"); uranium[paste][/paste]blockIndexInTexture = ModLoader[paste][/paste]addOverride("/terrain[paste][/paste]png", "/123/UraniumOre[paste][/paste]png"); copper[paste][/paste]blockIndexInTexture = ModLoader[paste][/paste]addOverride("/terrain[paste][/paste]png", "/123/CopperOre[paste][/paste]png"); tin[paste][/paste]blockIndexInTexture = ModLoader[paste][/paste]addOverride("/terrain[paste][/paste]png", "/123/TinOre[paste][/paste]png"); uraniumdrop[paste][/paste]iconIndex = ModLoader[paste][/paste]addOverride("/gui/items[paste][/paste]png", "/123/UraniumDrop[paste][/paste]png"); copperdrop[paste][/paste]iconIndex = ModLoader[paste][/paste]addOverride("/gui/items[paste][/paste]png", "/123/CopperDust[paste][/paste]png"); tindrop[paste][/paste]iconIndex = ModLoader[paste][/paste]addOverride("/gui/items[paste][/paste]png", "/123/TinDust[paste][/paste]png"); copperingot[paste][/paste]iconIndex = ModLoader[paste][/paste]addOverride("/gui/items[paste][/paste]png", "/123/CopperIngot[paste][/paste]png"); uraniumingot[paste][/paste]iconIndex = ModLoader[paste][/paste]addOverride("/gui/items[paste][/paste]png", "/123/UraniumRod[paste][/paste]png"); tiningot[paste][/paste]iconIndex = ModLoader[paste][/paste]addOverride("/gui/items[paste][/paste]png", "/123/TinIngot[paste][/paste]png"); ModLoader[paste][/paste]AddName(maceratorIdle, "Macerator"); ModLoader[paste][/paste]AddName(maceratorActive, "Macerator"); ModLoader[paste][/paste]AddName(uranium, "Uranium ore"); ModLoader[paste][/paste]AddName(uraniumdrop, "Uranium"); ModLoader[paste][/paste]AddName(uraniumingot, "Uranium Ingot"); ModLoader[paste][/paste]AddName(copperdrop, "Copper dust"); ModLoader[paste][/paste]AddName(copper, "Copper ore"); ModLoader[paste][/paste]AddName(copperingot, "Copper ingot"); ModLoader[paste][/paste]AddName(tin, "Tin ore"); ModLoader[paste][/paste]AddName(tindrop, "Tin dust"); ModLoader[paste][/paste]AddName(tiningot, "Tin ingot"); } public void GenerateSurface(World world, Random rand, int chunkX, int chunkZ) { for(int i = 0; i < 6; i++) { int randPosX = chunkX + rand[paste][/paste]nextInt(16); int randPosY = rand[paste][/paste]nextInt(30); int randPosZ = chunkZ + rand[paste][/paste]nextInt(16); (new WorldGenMinable(mod_Big[paste][/paste]tin[paste][/paste]blockID, 5))[paste][/paste]generate(world, rand, randPosX, randPosY, randPosZ); } for(int i = 0; i < 8; i++) { int randPosX = chunkX + rand[paste][/paste]nextInt(16); int randPosY = rand[paste][/paste]nextInt(35); int randPosZ = chunkZ + rand[paste][/paste]nextInt(16); (new WorldGenMinable(mod_Big[paste][/paste]copper[paste][/paste]blockID, 12))[paste][/paste]generate(world, rand, randPosX, randPosY, randPosZ); } for(int i = 0; i < 4; i++) { int randPosX = chunkX + rand[paste][/paste]nextInt(16); int randPosY = rand[paste][/paste]nextInt(25); int randPosZ = chunkZ + rand[paste][/paste]nextInt(16); (new WorldGenMinable(mod_Big[paste][/paste]uranium[paste][/paste]blockID, 3))[paste][/paste]generate(world, rand, randPosX, randPosY, randPosZ); } } public static final Item uraniumdrop = new Item(2000)[paste][/paste]setItemName("uraniumdrop"); public static final Item copperdrop = new Item(2001)[paste][/paste]setItemName("copperdrop"); public static final Item tindrop = new Item(2002)[paste][/paste]setItemName("tindrop"); public static final Item copperingot = new Item(2003)[paste][/paste]setItemName("copperingot"); public static final Item uraniumingot = new Item(2004)[paste][/paste]setItemName("uraniumingot"); public static final Item tiningot = new Item(2005)[paste][/paste]setItemName("tiningot"); public static Block uranium = new BlockUranium(101, 0)[paste][/paste]setHardness(3[paste][/paste]0F)[paste][/paste]setResistance(5[paste][/paste]0F)[paste][/paste]setLightValue(0[paste][/paste]9375F)[paste][/paste]setBlockName("uranium"); public static Block copper = new BlockCopper(102, 1)[paste][/paste]setHardness(2[paste][/paste]5F)[paste][/paste]setResistance(5[paste][/paste]0F)[paste][/paste]setBlockName("copper"); public static Block tin = new BlockTin(103, 6)[paste][/paste]setHardness(3[paste][/paste]5F)[paste][/paste]setResistance(6[paste][/paste]0F)[paste][/paste]setBlockName("tin"); public static Block maceratorIdle = new BlockMacerator(maceratorIdleID, false)[paste][/paste]setHardness(3F)[paste][/paste]setResistance(2000F)[paste][/paste]setBlockName("maceratorIdle"); public static Block maceratorActive = new BlockMacerator(maceratorActiveID, true)[paste][/paste]setHardness(3F)[paste][/paste]setResistance(2000F)[paste][/paste]setLightValue(1F)[paste][/paste]setBlockName("maceratorActive"); public static int texmaceratorfrontidle = ModLoader[paste][/paste]addOverride("/terrain[paste][/paste]png", "/123/macerator_indde[paste][/paste]png"); public static int texmaceratorfrontactive = ModLoader[paste][/paste]addOverride("/terrain[paste][/paste]png", "/123/macerator_active[paste][/paste]png"); public static int texmaceratorside = ModLoader[paste][/paste]addOverride("/terrain[paste][/paste]png", "/123/macerator[paste][/paste]png"); public static int texmaceratortop = ModLoader[paste][/paste]addOverride("/terrain[paste][/paste]png", "/123/macerator[paste][/paste]png");}