Hello, I'm new at the comunity,
I created a new block with the name: "Stone Lamp" but in game it don't have a name
There is standing something like: "tile.name...." and so on.
This is my Code:
public class BlockEins extends Block{
protected BlockEins(Material material) {
super(material);
setCreativeTab(CreativeTabs.tabBlock);
setLightLevel(1.0F);
setStepSound(Block.soundTypeStone);
setResistance(100);
setHardness(10);
setBlockTextureName("BasisMod:BlockEins");
setBlockName("BlockEins");
}
}
And in the main Class:
Block blockEins;
and this:
//BLOCKS
blockEins = new BlockEins (Material.rock);
GameRegistry.registerBlock(blockEins,"BlockEins");
}
And in the en_US.Lang:
block.BlockEins.name=Stone Lamp