Java Code Examples for net.minecraft.block.material.Material.rock()

The following are Jave code examples for showing how to use rock() of the net.minecraft.block.material.Material class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: Technical   File: BlockChromiteShale.java   View Source Code Vote up 5 votes
public BlockChromiteShale() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("chromiteShale");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(6.0F);
	setResistance(6.0F);
	setHarvestLevel("pickaxe", 3);
}
 
Example 2
Project: Technical   File: BlockCassiteriteSlate.java   View Source Code Vote up 5 votes
public BlockCassiteriteSlate() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("cassiteriteSlate");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(3.0F);
	setResistance(3.0F);
	setHarvestLevel("pickaxe", 0);
}
 
Example 3
Project: Technical   File: BlockLapisGneiss.java   View Source Code Vote up 5 votes
public BlockLapisGneiss() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("lapisGneiss");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(5.0F);
	setResistance(5.0F);
	setHarvestLevel("pickaxe", 2);
}
 
Example 4
Project: FundamentalChemistry   File: BlockTest.java   View Source Code Vote up 5 votes
public BlockTest()
{
  super(Material.rock);
  this.setHardness(1.5f);
  this.setUnlocalizedName("test");
  this.setCreativeTab(FundamentalChemistry.tab);
}
 
Example 5
Project: Technical   File: BlockMagnesiteLimestone.java   View Source Code Vote up 5 votes
public BlockMagnesiteLimestone() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("magnesiteLimestone");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeGlass);
	setHardness(3.0F);
	setResistance(3.0F);
	setHarvestLevel("pickaxe", 1);
}
 
Example 6
Project: Technical   File: BlockBauxiteGranite.java   View Source Code Vote up 5 votes
public BlockBauxiteGranite() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("bauxiteGranite");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(3.0F);
	setResistance(3.0F);
	setHarvestLevel("pickaxe", 1);
}
 
Example 7
Project: Technical   File: BlockHematiteGneiss1.java   View Source Code Vote up 5 votes
public BlockHematiteGneiss1() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("hematiteGneiss1");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(5.0F);
	setResistance(5.0F);
	setHarvestLevel("pickaxe", 2);
}
 
Example 8
Project: Technical   File: BlockChalcopyriteOre.java   View Source Code Vote up 5 votes
public BlockChalcopyriteOre() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("chalcopyriteOre");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(6.0F);
	setResistance(6.0F);
	setHarvestLevel("pickaxe", 1);
	
}
 
Example 9
Project: BaseClient   File: BlockRedstoneOre.java   View Source Code Vote up 5 votes
public BlockRedstoneOre(boolean isOn)
{
    super(Material.rock);

    if (isOn)
    {
        this.setTickRandomly(true);
    }

    this.isOn = isOn;
}
 
Example 10
Project: Technical   File: BlockGalenaLimestone.java   View Source Code Vote up 5 votes
public BlockGalenaLimestone() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("galenaLimestone");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(6.0F);
	setResistance(6.0F);
	setHarvestLevel("pickaxe", 0);
}
 
Example 11
Project: Technical   File: BlockSperryliteLimestone.java   View Source Code Vote up 5 votes
public BlockSperryliteLimestone() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("sperryliteLimestone");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(3.0F);
	setResistance(3.0F);
	setHarvestLevel("pickaxe", 1);
}
 
Example 12
Project: Technical   File: BlockMalachiteLimestone.java   View Source Code Vote up 5 votes
public BlockMalachiteLimestone() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("malachiteLimestone");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(3.0F);
	setResistance(3.0F);
	setHarvestLevel("pickaxe", 0);
}
 
Example 13
Project: Technical   File: BlockShale.java   View Source Code Vote up 5 votes
public BlockShale() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("shale");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(4.0F);
	setResistance(4.0F);
	setHarvestLevel("pickaxe", 2);
}
 
Example 14
Project: Technical   File: BlockAcanthiteSlate.java   View Source Code Vote up 5 votes
public BlockAcanthiteSlate() {
	super(Material.rock);
	setCreativeTab(Technical.tabTechnicalBlocks);
	setBlockName("acanthiteSlate");
	setBlockTextureName(Technical.modName + ":" + getUnlocalizedName().substring(5));
	setStepSound(soundTypeStone);
	setHardness(3.0F);
	setResistance(3.0F);
	setHarvestLevel("pickaxe", 1);
}
 
Example 15
Project: BaseClient   File: BlockHardenedClay.java   View Source Code Vote up 4 votes
public BlockHardenedClay()
{
    super(Material.rock);
    this.setCreativeTab(CreativeTabs.tabBlock);
}
 
Example 16
Project: BaseClient   File: BlockRedSandstone.java   View Source Code Vote up 4 votes
public BlockRedSandstone()
{
    super(Material.rock, BlockSand.EnumType.RED_SAND.getMapColor());
    this.setDefaultState(this.blockState.getBaseState().withProperty(TYPE, BlockRedSandstone.EnumType.DEFAULT));
    this.setCreativeTab(CreativeTabs.tabBlock);
}
 
Example 17
Project: BaseClient   File: BlockSandStone.java   View Source Code Vote up 4 votes
public BlockSandStone()
{
    super(Material.rock);
    this.setDefaultState(this.blockState.getBaseState().withProperty(TYPE, BlockSandStone.EnumType.DEFAULT));
    this.setCreativeTab(CreativeTabs.tabBlock);
}
 
Example 18
Project: DecompiledMinecraft   File: BlockSandStone.java   View Source Code Vote up 4 votes
public BlockSandStone()
{
    super(Material.rock);
    this.setDefaultState(this.blockState.getBaseState().withProperty(TYPE, BlockSandStone.EnumType.DEFAULT));
    this.setCreativeTab(CreativeTabs.tabBlock);
}
 
Example 19
Project: BaseClient   File: BlockOre.java   View Source Code Vote up 4 votes
public BlockOre(MapColor p_i46390_1_)
{
    super(Material.rock, p_i46390_1_);
    this.setCreativeTab(CreativeTabs.tabBlock);
}
 
Example 20
Project: BaseClient   File: BlockSandStone.java   View Source Code Vote up 4 votes
public BlockSandStone()
{
    super(Material.rock);
    this.setDefaultState(this.blockState.getBaseState().withProperty(TYPE, BlockSandStone.EnumType.DEFAULT));
    this.setCreativeTab(CreativeTabs.tabBlock);
}