當前位置: 首頁>>代碼示例>>Java>>正文


Java Material.rock方法代碼示例

本文整理匯總了Java中net.minecraft.block.material.Material.rock方法的典型用法代碼示例。如果您正苦於以下問題:Java Material.rock方法的具體用法?Java Material.rock怎麽用?Java Material.rock使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在net.minecraft.block.material.Material的用法示例。


在下文中一共展示了Material.rock方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: BlockChromiteShale

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockChromiteShale.java

示例2: BlockCassiteriteSlate

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockCassiteriteSlate.java

示例3: BlockLapisGneiss

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockLapisGneiss.java

示例4: BlockTest

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
public BlockTest()
{
  super(Material.rock);
  this.setHardness(1.5f);
  this.setUnlocalizedName("test");
  this.setCreativeTab(FundamentalChemistry.tab);
}
 
開發者ID:ImagicTheCat,項目名稱:FundamentalChemistry,代碼行數:8,代碼來源:BlockTest.java

示例5: BlockMagnesiteLimestone

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockMagnesiteLimestone.java

示例6: BlockBauxiteGranite

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockBauxiteGranite.java

示例7: BlockHematiteGneiss1

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockHematiteGneiss1.java

示例8: BlockChalcopyriteOre

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
	
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:12,代碼來源:BlockChalcopyriteOre.java

示例9: BlockRedstoneOre

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
public BlockRedstoneOre(boolean isOn)
{
    super(Material.rock);

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

    this.isOn = isOn;
}
 
開發者ID:SkidJava,項目名稱:BaseClient,代碼行數:12,代碼來源:BlockRedstoneOre.java

示例10: BlockGalenaLimestone

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockGalenaLimestone.java

示例11: BlockSperryliteLimestone

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockSperryliteLimestone.java

示例12: BlockMalachiteLimestone

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockMalachiteLimestone.java

示例13: BlockShale

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockShale.java

示例14: BlockAcanthiteSlate

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
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);
}
 
開發者ID:viddeno,項目名稱:Technical,代碼行數:11,代碼來源:BlockAcanthiteSlate.java

示例15: BlockHardenedClay

import net.minecraft.block.material.Material; //導入方法依賴的package包/類
public BlockHardenedClay()
{
    super(Material.rock);
    this.setCreativeTab(CreativeTabs.tabBlock);
}
 
開發者ID:SkidJava,項目名稱:BaseClient,代碼行數:6,代碼來源:BlockHardenedClay.java


注:本文中的net.minecraft.block.material.Material.rock方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。