本文整理匯總了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例9: BlockRedstoneOre
import net.minecraft.block.material.Material; //導入方法依賴的package包/類
public BlockRedstoneOre(boolean isOn)
{
super(Material.rock);
if (isOn)
{
this.setTickRandomly(true);
}
this.isOn = isOn;
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例15: BlockHardenedClay
import net.minecraft.block.material.Material; //導入方法依賴的package包/類
public BlockHardenedClay()
{
super(Material.rock);
this.setCreativeTab(CreativeTabs.tabBlock);
}