本文整理汇总了Java中com.bioxx.tfc.api.Enums.EnumWeight类的典型用法代码示例。如果您正苦于以下问题:Java EnumWeight类的具体用法?Java EnumWeight怎么用?Java EnumWeight使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
EnumWeight类属于com.bioxx.tfc.api.Enums包,在下文中一共展示了EnumWeight类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ItemClayBrick
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
public ItemClayBrick()
{
super();
this.metaNames = new String[]{"Clay Brick", "Ceramic Brick"};
this.maxStackSize = 64;
this.stackable = true;
this.setWeight(EnumWeight.MEDIUM);
this.setSize(EnumSize.SMALL);
}
示例2: ItemWireDrawBench
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
public ItemWireDrawBench() {
super();
this.setFolder("devices/");
this.setCreativeTab(TFCTech.TFCTECH);
this.setSize(EnumSize.HUGE);
this.setWeight(EnumWeight.HEAVY);
}
示例3: ItemTFCTechForgedItem
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
public ItemTFCTechForgedItem() {
super();
this.setMaxDamage(100);
this.setMaxStackSize(4);
setCreativeTab(TFCTech.TFCTECH);
this.setFolder("tools/");
this.setWeight(EnumWeight.MEDIUM);
this.setSize(EnumSize.SMALL);
}
示例4: ItemCeramicInsulator
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
public ItemCeramicInsulator()
{
super();
this.metaNames = new String[]{"Clay Insulator", "Ceramic Insulator"};
this.stackable = false;
this.setWeight(EnumWeight.LIGHT);
this.setSize(EnumSize.SMALL);
}
示例5: ItemPlankPlaned
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
ItemPlankPlaned(){
super();
this.hasSubtypes = true;
this.setMaxDamage(0);
setCreativeTab(CreativeTabs.TFCAdditions_Tab);
this.metaNames = Names.WOOD_ALL.clone();
this.setWeight(EnumWeight.LIGHT);
this.setSize(EnumSize.MEDIUM);
}
示例6: ItemIceSawHead
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
public ItemIceSawHead() {
super();
this.setMaxDamage(100);
this.setMaxStackSize(4);
setCreativeTab(TFCTabs.TFC_MISC);
this.setWeight(EnumWeight.MEDIUM);
this.setSize(EnumSize.SMALL);
}
示例7: getWeight
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
@Override
public EnumWeight getWeight(ItemStack is)
{
float weight = Food.getWeight(is);
if(weight < 80)
return EnumWeight.LIGHT;
else if(weight < 160)
return EnumWeight.MEDIUM;
else
return EnumWeight.HEAVY;
}
示例8: ItemCustomSeeds
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
public ItemCustomSeeds(int cropId)
{
super();
this.cropId = cropId;
setWeight(EnumWeight.LIGHT);
setSize(EnumSize.TINY);
setCreativeTab(Tabs.MAINTAB);
}
示例9: ItemWoodenMinecartChest
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
public ItemWoodenMinecartChest(int par2)
{
super();
this.maxStackSize = 1;
this.minecartType = par2;
this.setCreativeTab(CreativeTabs.tabTransport);
this.setWeight(EnumWeight.HEAVY);
this.setSize(EnumSize.HUGE);
}
示例10: ItemHeveaLog
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
public ItemHeveaLog()
{
super();
this.setUnlocalizedName("Hevea Log");
this.setMaxDamage(0);
this.setCreativeTab(TFCTabs.TFC_MATERIALS);
this.setWeight(EnumWeight.MEDIUM);
this.setSize(EnumSize.MEDIUM);
}
示例11: getWeight
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
@Override
public EnumWeight getWeight(ItemStack is)
{
return EnumWeight.LIGHT;
}
示例12: getWeight
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
@Override
public EnumWeight getWeight(ItemStack is)
{
return EnumWeight.MEDIUM;
}
示例13: getWeight
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
@Override
public EnumWeight getWeight(ItemStack is)
{
return EnumWeight.HEAVY;
}
示例14: getWeight
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
@Override
public EnumWeight getWeight(ItemStack is)
{
return EnumWeight.HEAVY;
}
示例15: getWeight
import com.bioxx.tfc.api.Enums.EnumWeight; //导入依赖的package包/类
@Override
public EnumWeight getWeight(ItemStack is) {
return EnumWeight.MEDIUM;
}