当前位置: 首页>>代码示例>>Java>>正文


Java TFCTabs类代码示例

本文整理汇总了Java中com.bioxx.tfc.Core.TFCTabs的典型用法代码示例。如果您正苦于以下问题:Java TFCTabs类的具体用法?Java TFCTabs怎么用?Java TFCTabs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


TFCTabs类属于com.bioxx.tfc.Core包,在下文中一共展示了TFCTabs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: loadBlocks

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
private static void loadBlocks() {

		ore = new BlockModOre(Material.rock).setHardness(10F).setResistance(10F).setBlockName("Ore");
		ore.setHarvestLevel("pickaxe", 1);

		logHeveaNatural = new BlockModHeveaNatural(0).setHardness(50.0F).setStepSound(Block.soundTypeWood).setBlockName("Hevea");
		logHeveaNatural1 = new BlockModHeveaNatural(1).setHardness(50.0F).setStepSound(Block.soundTypeWood).setBlockName("Hevea1");
		logHeveaNatural2 = new BlockModHeveaNatural(2).setHardness(50.0F).setStepSound(Block.soundTypeWood).setBlockName("Hevea2");
		logHeveaNatural3 = new BlockModHeveaNatural(3).setHardness(50.0F).setStepSound(Block.soundTypeWood).setBlockName("Hevea3");
		logHeveaNaturalDead = new BlockModHeveaNatural(4).setHardness(50.0F).setStepSound(Block.soundTypeWood).setBlockName("HeveaDead");
		logHeveaVert = new BlockModHeveaVert().setBlockName("Hevea").setHardness(20).setResistance(15F).setStepSound(Block.soundTypeWood);
		logHeveaHoriz = new BlockModHeveaHoriz().setBlockName("Hevea").setHardness(20).setResistance(15F).setStepSound(Block.soundTypeWood);
		heveaLeaves = new BlockModHeveaLeaves().setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundTypeGrass).setBlockName("leaves").setCreativeTab(TFCTabs.TFC_DECORATION);
		heveaSapling = new BlockModHeveaSapling().setHardness(0.0F).setStepSound(Block.soundTypeGrass).setBlockName("sapling");

		latex = new BlockLatex(ModFluids.LATEX).setHardness(100.0F).setBlockName("Latex");
		
		latexExtractor = new BlockLatexExtractor().setBlockName("LatexExtractor").setHardness(2);
		wireDrawBench = new BlockWireDrawBench().setBlockName("WireDrawBench").setHardness(2).setResistance(20F).setStepSound(Block.soundTypeWood);
		inductionSmelter = new BlockInductionSmelter().setBlockName("InductionSmelter").setHardness(4);
		
	}
 
开发者ID:Shurgent,项目名称:TFCTech,代码行数:23,代码来源:ModBlocks.java

示例2: BlockAlabaster

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public BlockAlabaster()
{
    super(Material.rock);
    this.setHardness(12f);
    this.setResistance(10.0f);
    this.setCreativeTab(TFCTabs.TFC_BUILDING);
    
    this.names = new String[16];
    for(int i = 0; i < this.names.length; i++)
    {
        String dyeName = ItemDyeCustom.DYE_COLOR_NAMES[FluidList.LiquidDyes[i].TFCDyeIndex];

        this.names[i] = "Alabaster" + dyeName.substring(0, 1).toUpperCase() + dyeName.substring(1);
    }
    
    this.icons = new IIcon[16];
}
 
开发者ID:Aleksey-Terzi,项目名称:DecorationsTFC,代码行数:18,代码来源:BlockAlabaster.java

示例3: BlockMudBricks

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public BlockMudBricks(int startIndex)
{
    super(Material.ground);
    
    this.setHardness(3f);
    this.setResistance(10.0f);
    this.setHarvestLevel("pickaxe", 0);
    this.setCreativeTab(TFCTabs.TFC_BUILDING);
    
    _startIndex = startIndex;
    
    int count = _startIndex == 0 ? 16: Global.STONE_ALL.length - _startIndex;
    
    this.names = new String[count];
    this.icons = new IIcon[count];
}
 
开发者ID:Aleksey-Terzi,项目名称:DecorationsTFC,代码行数:17,代码来源:BlockMudBricks.java

示例4: BlockWoodenPressWet

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public BlockWoodenPressWet()
{
    super(Material.wood);
    
    this.setHardness(0.3f);
    this.setResistance(10.0f);
    this.setCreativeTab(TFCTabs.TFC_TOOLS);
    this.setBlockBounds((float)RenderWoodenPress.VoxelSizeScaled, 0, (float)RenderWoodenPress.VoxelSizeScaled, 1 - (float)RenderWoodenPress.VoxelSizeScaled, 8 * (float)RenderWoodenPress.VoxelSizeScaled, 1 - (float)RenderWoodenPress.VoxelSizeScaled);
    
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:11,代码来源:BlockWoodenPressWet.java

示例5: ItemSlingshot

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public ItemSlingshot()
{
	super();
	this.maxStackSize = 1;
	this.setMaxDamage(SlingshotDurability);
	setCreativeTab(TFCTabs.TFC_WEAPONS);
	setNoRepair();
	this.setUnlocalizedName("ItemSlingshot");			
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:10,代码来源:ItemSlingshot.java

示例6: PowderAsh

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public PowderAsh() {
	super();
	this.maxStackSize = 64;
	this.setCreativeTab(TFCTabs.TFC_MATERIALS);
	this.hasSubtypes = false;
	this.setUnlocalizedName("PowderAsh");		
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:8,代码来源:PowderAsh.java

示例7: ItemSharpStone

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public ItemSharpStone()
{
	super();
	this.maxStackSize = 64;
	this.setCreativeTab(TFCTabs.TFC_WEAPONS);
	this.hasSubtypes = false;
	this.setUnlocalizedName("ItemSharpStone");		
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:9,代码来源:ItemSharpStone.java

示例8: ItemHardStone

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public ItemHardStone()
{
	super();
	this.maxStackSize = 64;
	this.setCreativeTab(TFCTabs.TFC_WEAPONS);
	this.hasSubtypes = false;
	this.setUnlocalizedName("ItemHardStone");		
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:9,代码来源:ItemHardStone.java

示例9: ItemLeatherBelt

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public ItemLeatherBelt()
{
	super();
	this.maxStackSize = 64;
	this.setCreativeTab(TFCTabs.TFC_MATERIALS);
	this.hasSubtypes = false;
	this.setUnlocalizedName("ItemLeatherBelt");		
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:9,代码来源:ItemLeatherBelt.java

示例10: ItemWoodenClub

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public ItemWoodenClub() {
	super(TFCPrimitiveTech.instance.woodenClubMaterial);
	this.maxStackSize = 1;
	this.setCreativeTab(TFCTabs.TFC_WEAPONS);
	this.hasSubtypes = false;
	this.setUnlocalizedName("ItemWoodenClub");
	this.toolMat = TFCPrimitiveTech.instance.woodenClubMaterial;
	this.setMaxDamage(toolMat.getMaxUses());

	this.weaponBaseDamage = 90;
	
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:13,代码来源:ItemWoodenClub.java

示例11: ItemSoftStone

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public ItemSoftStone()
{
	super();
	this.maxStackSize = 64;
	this.setCreativeTab(TFCTabs.TFC_WEAPONS);
	this.hasSubtypes = false;
	this.setUnlocalizedName("ItemSoftStone");		
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:9,代码来源:ItemSoftStone.java

示例12: WoodenBucket_BasePotashLiquor

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public WoodenBucket_BasePotashLiquor()
{
	super();
	this.maxStackSize = 1;
	this.setCreativeTab(TFCTabs.TFC_MISC);
	this.hasSubtypes = false;
	this.setUnlocalizedName("WoodenBucket_BasePotashLiquor");		
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:9,代码来源:WoodenBucket_BasePotashLiquor.java

示例13: ItemWoodenPress

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public ItemWoodenPress() {
	super();
	this.maxStackSize = 2;
	this.setCreativeTab(TFCTabs.TFC_TOOLS);
	this.hasSubtypes = false;
	this.setUnlocalizedName("ItemWoodenPress");		
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:8,代码来源:ItemWoodenPress.java

示例14: ItemWoodenTwig

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public ItemWoodenTwig() {
	super();
	this.maxStackSize = 64;
	this.setCreativeTab(TFCTabs.TFC_MATERIALS);
	this.hasSubtypes = false;
	this.setUnlocalizedName("ItemWoodenTwig");		
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:8,代码来源:ItemWoodenTwig.java

示例15: ItemCelluloseFibers

import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public ItemCelluloseFibers()
{
	super();
	this.maxStackSize = 64;
	this.setCreativeTab(TFCTabs.TFC_MATERIALS);
	this.hasSubtypes = false;
	this.setUnlocalizedName("ItemCelluloseFibers");		
}
 
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:9,代码来源:ItemCelluloseFibers.java


注:本文中的com.bioxx.tfc.Core.TFCTabs类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。