本文整理汇总了Java中net.minecraft.item.EnumArmorMaterial.DIAMOND属性的典型用法代码示例。如果您正苦于以下问题:Java EnumArmorMaterial.DIAMOND属性的具体用法?Java EnumArmorMaterial.DIAMOND怎么用?Java EnumArmorMaterial.DIAMOND使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类net.minecraft.item.EnumArmorMaterial
的用法示例。
在下文中一共展示了EnumArmorMaterial.DIAMOND属性的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: preInit
@EventHandler
public void preInit(FMLPreInitializationEvent event)
{
loadConfig(event.getSuggestedConfigurationFile());
enderiumHelm = new ItemArmorEnderium(starterID++, EnumArmorMaterial.DIAMOND, ItemArmorEnderium.ArmorType.HELMET);
enderiumChest = new ItemArmorEnderium(starterID++, EnumArmorMaterial.DIAMOND, ItemArmorEnderium.ArmorType.CHESTPLATE);
enderiumLegs = new ItemArmorEnderium(starterID++, EnumArmorMaterial.DIAMOND, ItemArmorEnderium.ArmorType.LEGS);
enderiumBoots = new ItemArmorEnderium(starterID++, EnumArmorMaterial.DIAMOND, ItemArmorEnderium.ArmorType.BOOTS);
GameRegistry.registerItem(enderiumHelm, "enderiumHelm");
GameRegistry.registerItem(enderiumChest, "enderiumChest");
GameRegistry.registerItem(enderiumLegs, "enderiumLegs");
GameRegistry.registerItem(enderiumBoots, "enderiumBoots");
}
示例2: HighEssenceHelmet
public HighEssenceHelmet(int par1)
{
super(par1,EnumArmorMaterial.DIAMOND, 0, 0);
}
示例3: HighEssenceChest
public HighEssenceChest(int par1)
{
super(par1,EnumArmorMaterial.DIAMOND, 1, 1);
}
示例4: HighEssenceBoots
public HighEssenceBoots(int par1)
{
super(par1, EnumArmorMaterial.DIAMOND, 3, 3);
}
示例5: HighEssenceLegs
public HighEssenceLegs(int par1)
{
super(par1,EnumArmorMaterial.DIAMOND, 2, 2);
}
示例6: ItemArmorShield
public ItemArmorShield(int id, int renderindex, int armortype) {
super(id, EnumArmorMaterial.DIAMOND, renderindex, armortype);
this.setMaxStackSize(1);
this.setCreativeTab(BL2.creativetab.CreativeTabBL2.tabBL2);
this.setHasSubtypes(true);
}
示例7: ItemTribalArmor
public ItemTribalArmor(int id, int renderIndex, int slot) {
super(id, EnumArmorMaterial.DIAMOND, renderIndex, slot);
}
示例8: ItemThiefArmor
public ItemThiefArmor(int id, int renderIndex, int slot) {
super(id, EnumArmorMaterial.DIAMOND, renderIndex, slot);
}
示例9: ItemScaleArmor
public ItemScaleArmor(int id, int renderIndex, int slot) {
super(id, EnumArmorMaterial.DIAMOND, renderIndex, slot);
}