Ruby, sapphire, and peridot armour

This commit is contained in:
Prospector 2016-03-27 22:48:31 -07:00
parent a636da1882
commit 28fd887ee3
3 changed files with 142 additions and 4 deletions

View file

@ -143,6 +143,39 @@ public class ModItems
public static Item bronzeLeggings;
public static Item bronzeBoots;
public static Item rubySword;
public static Item rubyPickaxe;
public static Item rubySpade;
public static Item rubyAxe;
public static Item rubyHoe;
public static Item rubyHelmet;
public static Item rubyChestplate;
public static Item rubyLeggings;
public static Item rubyBoots;
public static Item sapphireSword;
public static Item sapphirePickaxe;
public static Item sapphireSpade;
public static Item sapphireAxe;
public static Item sapphireHoe;
public static Item sapphireHelmet;
public static Item sapphireChestplate;
public static Item sapphireLeggings;
public static Item sapphireBoots;
public static Item peridotSword;
public static Item peridotPickaxe;
public static Item peridotSpade;
public static Item peridotAxe;
public static Item peridotHoe;
public static Item peridotHelmet;
public static Item peridotChestplate;
public static Item peridotLeggings;
public static Item peridotBoots;
public static Item upgrades;
public static Item missingRecipe;
@ -246,6 +279,68 @@ public class ModItems
bronzeBoots = new ItemTRArmour(Reference.BRONZE_ARMOUR, EntityEquipmentSlot.FEET);
GameRegistry.registerItem(bronzeBoots, "bronzeBoots");
rubySword = new ItemTRSword(Reference.RUBY);
GameRegistry.registerItem(rubySword, "rubySword");
rubyPickaxe = new ItemTRPickaxe(Reference.RUBY);
GameRegistry.registerItem(rubyPickaxe, "rubyPickaxe");
rubySpade = new ItemTRSpade(Reference.RUBY);
GameRegistry.registerItem(rubySpade, "rubySpade");
rubyAxe = new ItemTRAxe(Reference.RUBY);
GameRegistry.registerItem(rubyAxe, "rubyAxe");
rubyHoe = new ItemTRHoe(Reference.RUBY);
GameRegistry.registerItem(rubyHoe, "rubyHoe");
rubyHelmet = new ItemTRArmour(Reference.RUBY_ARMOUR, EntityEquipmentSlot.HEAD);
GameRegistry.registerItem(rubyHelmet, "rubyHelmet");
rubyChestplate = new ItemTRArmour(Reference.RUBY_ARMOUR, EntityEquipmentSlot.CHEST);
GameRegistry.registerItem(rubyChestplate, "rubyChestplate");
rubyLeggings = new ItemTRArmour(Reference.RUBY_ARMOUR, EntityEquipmentSlot.LEGS);
GameRegistry.registerItem(rubyLeggings, "rubyLeggings");
rubyBoots = new ItemTRArmour(Reference.RUBY_ARMOUR, EntityEquipmentSlot.FEET);
GameRegistry.registerItem(rubyBoots, "rubyBoots");
sapphireSword = new ItemTRSword(Reference.SAPPHIRE);
GameRegistry.registerItem(sapphireSword, "sapphireSword");
sapphirePickaxe = new ItemTRPickaxe(Reference.SAPPHIRE);
GameRegistry.registerItem(sapphirePickaxe, "sapphirePickaxe");
sapphireSpade = new ItemTRSpade(Reference.SAPPHIRE);
GameRegistry.registerItem(sapphireSpade, "sapphireSpade");
sapphireAxe = new ItemTRAxe(Reference.SAPPHIRE);
GameRegistry.registerItem(sapphireAxe, "sapphireAxe");
sapphireHoe = new ItemTRHoe(Reference.SAPPHIRE);
GameRegistry.registerItem(sapphireHoe, "sapphireHoe");
sapphireHelmet = new ItemTRArmour(Reference.SAPPHIRE_ARMOUR, EntityEquipmentSlot.HEAD);
GameRegistry.registerItem(sapphireHelmet, "sapphireHelmet");
sapphireChestplate = new ItemTRArmour(Reference.SAPPHIRE_ARMOUR, EntityEquipmentSlot.CHEST);
GameRegistry.registerItem(sapphireChestplate, "sapphireChestplate");
sapphireLeggings = new ItemTRArmour(Reference.SAPPHIRE_ARMOUR, EntityEquipmentSlot.LEGS);
GameRegistry.registerItem(sapphireLeggings, "sapphireLeggings");
sapphireBoots = new ItemTRArmour(Reference.SAPPHIRE_ARMOUR, EntityEquipmentSlot.FEET);
GameRegistry.registerItem(sapphireBoots, "sapphireBoots");
peridotSword = new ItemTRSword(Reference.PERIDOT);
GameRegistry.registerItem(peridotSword, "peridotSword");
peridotPickaxe = new ItemTRPickaxe(Reference.PERIDOT);
GameRegistry.registerItem(peridotPickaxe, "peridotPickaxe");
peridotSpade = new ItemTRSpade(Reference.PERIDOT);
GameRegistry.registerItem(peridotSpade, "peridotSpade");
peridotAxe = new ItemTRAxe(Reference.PERIDOT);
GameRegistry.registerItem(peridotAxe, "peridotAxe");
peridotHoe = new ItemTRHoe(Reference.PERIDOT);
GameRegistry.registerItem(peridotHoe, "peridotHoe");
peridotHelmet = new ItemTRArmour(Reference.PERIDOT_ARMOUR, EntityEquipmentSlot.HEAD);
GameRegistry.registerItem(peridotHelmet, "peridotHelmet");
peridotChestplate = new ItemTRArmour(Reference.PERIDOT_ARMOUR, EntityEquipmentSlot.CHEST);
GameRegistry.registerItem(peridotChestplate, "peridotChestplate");
peridotLeggings = new ItemTRArmour(Reference.PERIDOT_ARMOUR, EntityEquipmentSlot.LEGS);
GameRegistry.registerItem(peridotLeggings, "peridotLeggings");
peridotBoots = new ItemTRArmour(Reference.PERIDOT_ARMOUR, EntityEquipmentSlot.FEET);
GameRegistry.registerItem(peridotBoots, "peridotBoots");
//sword|axe|shovel|spade|hoe|helmet|chestplate|leggings|boots
hammer = new ItemHammer(100);
GameRegistry.registerItem(hammer, "hammer");

View file

@ -5,11 +5,23 @@ import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.util.text.translation.I18n;
import net.minecraftforge.common.util.EnumHelper;
public class Reference
{
public class Reference {
public static ToolMaterial BRONZE = EnumHelper.addToolMaterial("BRONZE", 2, 375, 6.0F, 2.25F, 8);
public static ArmorMaterial BRONZE_ARMOUR = EnumHelper.addArmorMaterial("BRONZE", ModInfo.MOD_ID+":bronze", 17, new int[] {3,6,5,2}, 8, null/*TODO: SoundEvent*/);
public static ArmorMaterial BRONZE_ARMOUR = EnumHelper.addArmorMaterial("BRONZE", ModInfo.MOD_ID + ":bronze", 17,
new int[] { 3, 6, 5, 2 }, 8, null/* TODO: SoundEvent */);
public static ToolMaterial RUBY = EnumHelper.addToolMaterial("RUBY", 2, 320, 6.2F, 2.7F, 10);
public static ArmorMaterial RUBY_ARMOUR = EnumHelper.addArmorMaterial("RUBY", ModInfo.MOD_ID + ":ruby", 16,
new int[] { 2, 7, 5, 2 }, 10, null/* TODO: SoundEvent */);
public static ToolMaterial SAPPHIRE = EnumHelper.addToolMaterial("SAPPHIRE", 2, 620, 5.0F, 2F, 8);
public static ArmorMaterial SAPPHIRE_ARMOUR = EnumHelper.addArmorMaterial("SAPPHIRE", ModInfo.MOD_ID + ":sapphire",
19, new int[] { 4, 4, 4, 4 }, 8, null/* TODO: SoundEvent */);
public static ToolMaterial PERIDOT = EnumHelper.addToolMaterial("PERIDOT", 2, 400, 7.0F, 2.4F, 16);
public static ArmorMaterial PERIDOT_ARMOUR = EnumHelper.addArmorMaterial("PERIDOT", ModInfo.MOD_ID + ":peridot", 17,
new int[] { 3, 8, 3, 2 }, 16, null/* TODO: SoundEvent */);
public static String alloySmelteRecipe = I18n.translateToLocal("techreborn.recipe.alloysmelter");
public static String assemblingMachineRecipe = I18n.translateToLocal("techreborn.recipe.assemblingmachine");
public static String blastFurnaceRecipe = I18n.translateToLocal("techreborn.recipe.blastfurnace");

View file

@ -644,6 +644,7 @@ item.techreborn.hammer.name=Iron Hammer
item.techreborn.ironJackhammer.name=Iron Jackhammer
item.techreborn.steelJackhammer.name=Steel Jackhammer
item.techreborn.diamondJackhammer.name=Diamond Jackhammer
item.bronzeSword.name=Bronze Sword
item.bronzePickaxe.name=Bronze Pickaxe
item.bronzeSpade.name=Bronze Shovel
@ -654,6 +655,36 @@ item.bronzeChestplate.name=Bronze Chestplate
item.bronzeLeggings.name=Bronze Leggings
item.bronzeBoots.name=Bronze Boots
item.rubySword.name=Ruby Sword
item.rubyPickaxe.name=Ruby Pickaxe
item.rubySpade.name=Ruby Shovel
item.rubyAxe.name=Ruby Axe
item.rubyHoe.name=Ruby Hoe
item.rubyHelmet.name=Ruby Helmet
item.rubyChestplate.name=Ruby Chestplate
item.rubyLeggings.name=Ruby Leggings
item.rubyBoots.name=Ruby Boots
item.sapphireSword.name=Sapphire Sword
item.sapphirePickaxe.name=Sapphire Pickaxe
item.sapphireSpade.name=Sapphire Shovel
item.sapphireAxe.name=Sapphire Axe
item.sapphireHoe.name=Sapphire Hoe
item.sapphireHelmet.name=Sapphire Helmet
item.sapphireChestplate.name=Sapphire Chestplate
item.sapphireLeggings.name=Sapphire Leggings
item.sapphireBoots.name=Sapphire Boots
item.peridotSword.name=Peridot Sword
item.peridotPickaxe.name=Peridot Pickaxe
item.peridotSpade.name=Peridot Shovel
item.peridotAxe.name=Peridot Axe
item.peridotHoe.name=Peridot Hoe
item.peridotHelmet.name=Peridot Helmet
item.peridotChestplate.name=Peridot Chestplate
item.peridotLeggings.name=Peridot Leggings
item.peridotBoots.name=Peridot Boots
#Buckets
item.bucketberylium.name=Berylium Bucket
item.bucketcalcium.name=Calcium Bucket