本文整理汇总了Java中net.minecraft.item.EnumArmorMaterial.IRON属性的典型用法代码示例。如果您正苦于以下问题:Java EnumArmorMaterial.IRON属性的具体用法?Java EnumArmorMaterial.IRON怎么用?Java EnumArmorMaterial.IRON使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类net.minecraft.item.EnumArmorMaterial
的用法示例。
在下文中一共展示了EnumArmorMaterial.IRON属性的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ItemSmartHelmet
public ItemSmartHelmet(int id) {
super(id, EnumArmorMaterial.IRON, 0, 0);
setMaxDamage(0);
setCreativeTab(MiscPeripherals.instance.tabMiscPeripherals);
fwFontRenderer = Reflector.invoke("dan200.ComputerCraft", "getFixedWidthFontRenderer", Object.class);
SmallNetHelper.bindEntity(EntityPlayerMP.class, this);
}
示例2: ItemDivingHelmet
public ItemDivingHelmet(int itemID)
{
super(itemID, EnumArmorMaterial.IRON, 2, 0);
setCreativeTab(Oceania.CREATIVE_TAB);
setMaxDamage(1024);
setMaxStackSize(1);
setUnlocalizedName("itemDivingHelmet");
this._armorProperties = new ArmorProperties(2, 0.5, 4);
}
示例3: isVChain
private boolean isVChain() {
return getMaterial() == EnumArmorMaterial.IRON && AD == ArmourDesign.CHAIN;
}
示例4: MedEssenceChest
public MedEssenceChest(int par1)
{
super(par1, EnumArmorMaterial.IRON, 1, 1);
}
示例5: MedEssenceHelmet
public MedEssenceHelmet(int par1)
{
super(par1, EnumArmorMaterial.IRON, 0, 0);
}
示例6: MedEssenceBoots
public MedEssenceBoots(int par1)
{
super(par1, EnumArmorMaterial.IRON, 3, 3);
}
示例7: MedEssenceLegs
public MedEssenceLegs(int par1)
{
super(par1, EnumArmorMaterial.IRON, 2, 2);
}
示例8: ItemInfoHelmet
/**
* @param id
* @param renderIndex
* @param armorType 0 = head; 1 = torso; 2 = legs; 3 = feet
*/
public ItemInfoHelmet(int id, int renderIndex, int armorType) {
super(id, EnumArmorMaterial.IRON, renderIndex, armorType);
setMaxStackSize(1);
tid = id;
}
示例9: ItemJetPack
/**
* @param id
* @param renderIndex
* @param armorType 0 = head; 1 = torso; 2 = legs; 3 = feet
*/
public ItemJetPack(int id, int renderIndex, int armorType) {
super(id, EnumArmorMaterial.IRON, renderIndex, armorType);
setMaxStackSize(1);
tid = id;
}
示例10: ItemJetBoots
/**
* @param id
* @param renderIndex
* @param armorType 0 = head; 1 = torso; 2 = legs; 3 = feet
*/
public ItemJetBoots(int id, int renderIndex, int armorType) {
super(id, EnumArmorMaterial.IRON, renderIndex, armorType);
setMaxStackSize(1);
tid = id;
}