本文整理汇总了Java中com.bioxx.tfc.Core.TFCTabs类的典型用法代码示例。如果您正苦于以下问题:Java TFCTabs类的具体用法?Java TFCTabs怎么用?Java TFCTabs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TFCTabs类属于com.bioxx.tfc.Core包,在下文中一共展示了TFCTabs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: BlockModHeveaSapling
import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public BlockModHeveaSapling() {
super(Material.plants);
float f = 0.4F;
this.setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 2.0F, 0.5F + f);
this.woodNames = new String[Globals.WOOD_ALL.length];
System.arraycopy(Globals.WOOD_ALL, 0, this.woodNames, 0, Globals.WOOD_ALL.length);
this.setTickRandomly(true);
this.setCreativeTab(TFCTabs.TFC_DECORATION);
this.icons = new IIcon[woodNames.length];
}
开发者ID:Shurgent,项目名称:TFCTech,代码行数:11,代码来源:BlockModHeveaSapling.java
示例17: TransferLadle_CarbonBlackSteel
import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public TransferLadle_CarbonBlackSteel()
{
super(Material.iron);
this.setBlockName("TransferLadle_CarbonBlackSteel");
this.setHardness(0.6f);
this.setResistance(20.0f);
this.setLightLevel(0.6F);
this.setCreativeTab(TFCTabs.TFC_DEVICES);
this._moltenMetal = TFCPPBlocks.moltenCarbonBlackSteel;
}
开发者ID:Wahazar,项目名称:TerraFirmaProgressivePack,代码行数:11,代码来源:TransferLadle_CarbonBlackSteel.java
示例18: MetalBlock_PigIron
import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public MetalBlock_PigIron(String unlocalizedname)
{
super(Material.iron);
this.setBlockName(unlocalizedname);
this.setHardness(8.8f);
this.setResistance(40.0f);
this.setCreativeTab(TFCTabs.TFC_MATERIALS);
}
开发者ID:Wahazar,项目名称:TerraFirmaProgressivePack,代码行数:9,代码来源:MetalBlock_PigIron.java
示例19: TransferLadle_WeakBlackSteel
import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public TransferLadle_WeakBlackSteel()
{
super(Material.iron);
this.setBlockName("TransferLadle_WeakBlackSteel");
this.setHardness(0.6f);
this.setResistance(20.0f);
this.setLightLevel(0.6F);
this.setCreativeTab(TFCTabs.TFC_DEVICES);
this._moltenMetal = TFCPPBlocks.moltenWeakBlackSteel;
}
开发者ID:Wahazar,项目名称:TerraFirmaProgressivePack,代码行数:11,代码来源:TransferLadle_WeakBlackSteel.java
示例20: TransferLadle_Steel
import com.bioxx.tfc.Core.TFCTabs; //导入依赖的package包/类
public TransferLadle_Steel()
{
super(Material.iron);
this.setBlockName("TransferLadle_Steel");
this.setHardness(0.6f);
this.setResistance(20.0f);
this.setLightLevel(0.6F);
this.setCreativeTab(TFCTabs.TFC_DEVICES);
this._moltenMetal = GameRegistry.findBlock("foundry", "liquidSteel");
// this._moltenMetal = TFCPPBlocks.moltenSteel;
if (_moltenMetal==null)
_moltenMetal=Blocks.lava;
}
开发者ID:Wahazar,项目名称:TerraFirmaProgressivePack,代码行数:15,代码来源:TransferLadle_Steel.java
注:本文中的com.bioxx.tfc.Core.TFCTabs类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论