当前位置: 首页>>代码示例>>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;未经允许,请勿转载。