本文整理汇总了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);
}
示例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];
}
示例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];
}
示例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);
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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;
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}