package net.minecraft.src;
import java.util.Random;
public class mod_Plasma extends BaseMod
{
public mod_Plasma()
{
ModLoader.RegisterBlock(Plasma);
ModLoader.RegisterBlock(PlasmaIngots);
ModLoader.AddSmelting(Plasma.blockID, new ItemStack(cookedPlasmaIngots));
Ingot.iconIndex(ModLoader.addOverride("/gui/items.png", "/mod/PlasmaIngots.png");
}
public void GenerateSurface(World world, Random rand, int chunkX, int chunkZ);
{
for(int i = 0; i < 4; i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(16);
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(Plasma.blockID, 7)).generate(
world, rand, randPosX, randPosY, randPosZ);
}
}
public static Item Ingot = (new PlasmaIngots(254)).setIconCoord(0, 0).setItemName("Ingot");
public static final Block Plasma = (new BlockPlasma(255,ModLoader.addOverride("/terrain.png", "/mod/PlasmaBlock.png")))
.setHardness(2.0F)
.setResistance(10F)
.setLightValue(10F)
.setStepSound(Block.soundStoneFootstep).setBlockName("Plasma");
public String Version()
{
return "1.7.3";
}
}