src\minecraft\net\minecraft\src\mod_block.java:11: error: not a statement
ModLoader;RegisterBlock<Block>;
______________
Código:
package net.minecraft.src; import java.util.Random; public class mod_block extends BaseMod { public static final Block Block = (new Block(159,Material.sand)).setHardness(0.5F).setResistance(50F).setBlockName("YouTube").setLightValue(1F); public mod_block() { ModLoader;RegisterBlock(Block); ModLoader.AddName(Block, "Da Block"); Block.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/NewBlock.png"); ModLoader.AddRecipe(new ItemStack(Block,4), new Object[]{ "?%", Character.valueOf('?'), Block.dirt }); } public String Version() { return "1.2.5 Superfn"; } @Override public String getVersion() { // TODO Auto-generated method stub return null; } @Override public void load() { // TODO Auto-generated method stub } }