Skip to content

Commit

Permalink
Cleanup mats
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkeJohn committed Dec 22, 2021
1 parent 525649b commit fbe4b73
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions src/main/java/taintedmagic/common/items/TMMaterials.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

public class TMMaterials {
// Tool materials
public static ToolMaterial toolMatHollow = EnumHelper.addToolMaterial("HOLLOW", 1, 200, 4.0F, -0.5F, 5);
public static ToolMaterial toolMatShadow = EnumHelper.addToolMaterial("SHADOW", 3, 2500, 17.0F, 6.0F, 30);
public static ToolMaterial toolMatPrimal = EnumHelper.addToolMaterial("PRIMAL", 3, 500, 16.0F, 16.75F, 30);
public static final ToolMaterial TOOL_HOLLOW = EnumHelper.addToolMaterial("HOLLOW", 1, 200, 4.0F, -0.5F, 5);
public static final ToolMaterial TOOL_SHADOW = EnumHelper.addToolMaterial("SHADOW", 3, 2500, 17.0F, 6.0F, 30);
public static final ToolMaterial TOOL_PRIMAL = EnumHelper.addToolMaterial("PRIMAL", 3, 500, 16.0F, 16.75F, 30);

// Armour materials
public static ArmorMaterial armorMatWarped = EnumHelper.addArmorMaterial("WARPED", 500, new int[]{ 4, 0, 0, 0 }, 20);
public static ArmorMaterial armorMatVoidwalker =
public static final ArmorMaterial ARMOR_WARPED = EnumHelper.addArmorMaterial("WARPED", 500, new int[]{ 4, 0, 0, 0 }, 20);
public static final ArmorMaterial ARMOR_VOIDWALKER =
EnumHelper.addArmorMaterial("VOIDWALKER", 300, new int[]{ 0, 0, 0, 4 }, 30);
public static ArmorMaterial armorMatVoidFortress =
public static final ArmorMaterial ARMOR_VOIDFORTRESS =
EnumHelper.addArmorMaterial("VOIDFORTRESS", 300, new int[]{ 4, 8, 6, 0 }, 30);
public static ArmorMaterial armorMatShadowFortress =
public static final ArmorMaterial ARMOR_SHADOWFORTRESS =
EnumHelper.addArmorMaterial("SHADOWFORTRESS", 3000, new int[]{ 4, 10, 6, 0 }, 30);
}
30 changes: 15 additions & 15 deletions src/main/java/taintedmagic/common/registry/ItemRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,37 +142,37 @@ public static void initItems () {
GameRegistry.registerItem(ItemWarpFertilizer, "ItemWarpFertilizer");

// Armor and Baubles
ItemWarpedGoggles = new ItemWarpedGoggles(TMMaterials.armorMatWarped, 4, 0);
ItemWarpedGoggles = new ItemWarpedGoggles(TMMaterials.ARMOR_WARPED, 4, 0);
GameRegistry.registerItem(ItemWarpedGoggles, "ItemWarpedGoggles");

ItemVoidFortressHelmet =
new ItemVoidFortressArmor(TMMaterials.armorMatVoidFortress, 4, 0).setUnlocalizedName("ItemVoidFortressHelmet");
new ItemVoidFortressArmor(TMMaterials.ARMOR_VOIDFORTRESS, 4, 0).setUnlocalizedName("ItemVoidFortressHelmet");
GameRegistry.registerItem(ItemVoidFortressHelmet, "ItemVoidFortressHelmet");

ItemVoidFortressChestplate = new ItemVoidFortressArmor(TMMaterials.armorMatVoidFortress, 4, 1)
ItemVoidFortressChestplate = new ItemVoidFortressArmor(TMMaterials.ARMOR_VOIDFORTRESS, 4, 1)
.setUnlocalizedName("ItemVoidFortressChestplate");
GameRegistry.registerItem(ItemVoidFortressChestplate, "ItemVoidFortressChestplate");

ItemVoidFortressLeggings = new ItemVoidFortressArmor(TMMaterials.armorMatVoidFortress, 4, 2)
ItemVoidFortressLeggings = new ItemVoidFortressArmor(TMMaterials.ARMOR_VOIDFORTRESS, 4, 2)
.setUnlocalizedName("ItemVoidFortressLeggings");
GameRegistry.registerItem(ItemVoidFortressLeggings, "ItemVoidFortressLeggings");

ItemVoidwalkerBoots =
new ItemVoidwalkerBoots(TMMaterials.armorMatVoidwalker, 4, 3).setUnlocalizedName("ItemVoidwalkerBoots");
new ItemVoidwalkerBoots(TMMaterials.ARMOR_VOIDWALKER, 4, 3).setUnlocalizedName("ItemVoidwalkerBoots");
GameRegistry.registerItem(ItemVoidwalkerBoots, "ItemVoidwalkerBoots");

ItemVoidwalkerSash = new ItemVoidwalkerSash();
GameRegistry.registerItem(ItemVoidwalkerSash, "ItemVoidwalkerSash");

ItemShadowFortressHelmet = new ItemShadowFortressArmor(TMMaterials.armorMatShadowFortress, 4, 0)
ItemShadowFortressHelmet = new ItemShadowFortressArmor(TMMaterials.ARMOR_SHADOWFORTRESS, 4, 0)
.setUnlocalizedName("ItemShadowFortressHelmet");
GameRegistry.registerItem(ItemShadowFortressHelmet, "ItemShadowFortressHelmet");

ItemShadowFortressChestplate = new ItemShadowFortressArmor(TMMaterials.armorMatShadowFortress, 4, 1)
ItemShadowFortressChestplate = new ItemShadowFortressArmor(TMMaterials.ARMOR_SHADOWFORTRESS, 4, 1)
.setUnlocalizedName("ItemShadowFortressChestplate");
GameRegistry.registerItem(ItemShadowFortressChestplate, "ItemShadowFortressChestplate");

ItemShadowFortressLeggings = new ItemShadowFortressArmor(TMMaterials.armorMatShadowFortress, 4, 2)
ItemShadowFortressLeggings = new ItemShadowFortressArmor(TMMaterials.ARMOR_SHADOWFORTRESS, 4, 2)
.setUnlocalizedName("ItemShadowFortressLeggings");
GameRegistry.registerItem(ItemShadowFortressLeggings, "ItemShadowFortressLeggings");

Expand Down Expand Up @@ -233,25 +233,25 @@ public static void initItems () {
ItemThaumicDisassembler = new ItemThaumicDisassembler();
GameRegistry.registerItem(ItemThaumicDisassembler, "ItemThaumicDisassembler");

ItemHollowDagger = new ItemHollowDagger(TMMaterials.toolMatHollow);
ItemHollowDagger = new ItemHollowDagger(TMMaterials.TOOL_HOLLOW);
GameRegistry.registerItem(ItemHollowDagger, "ItemHollowDagger");

ItemShadowmetalHoe = new ItemShadowmetalHoe(TMMaterials.toolMatShadow);
ItemShadowmetalHoe = new ItemShadowmetalHoe(TMMaterials.TOOL_SHADOW);
GameRegistry.registerItem(ItemShadowmetalHoe, "ItemShadowmetalHoe");

ItemShadowmetalPick = new ItemShadowmetalPick(TMMaterials.toolMatShadow);
ItemShadowmetalPick = new ItemShadowmetalPick(TMMaterials.TOOL_SHADOW);
GameRegistry.registerItem(ItemShadowmetalPick, "ItemShadowmetalPick");

ItemShadowmetalAxe = new ItemShadowmetalAxe(TMMaterials.toolMatShadow);
ItemShadowmetalAxe = new ItemShadowmetalAxe(TMMaterials.TOOL_SHADOW);
GameRegistry.registerItem(ItemShadowmetalAxe, "ItemShadowmetalAxe");

ItemShadowmetalSpade = new ItemShadowmetalSpade(TMMaterials.toolMatShadow);
ItemShadowmetalSpade = new ItemShadowmetalSpade(TMMaterials.TOOL_SHADOW);
GameRegistry.registerItem(ItemShadowmetalSpade, "ItemShadowmetalSpade");

ItemShadowmetalSword = new ItemShadowmetalSword(TMMaterials.toolMatShadow);
ItemShadowmetalSword = new ItemShadowmetalSword(TMMaterials.TOOL_SHADOW);
GameRegistry.registerItem(ItemShadowmetalSword, "ItemShadowmetalSword");

ItemPrimalBlade = new ItemPrimalBlade(TMMaterials.toolMatPrimal);
ItemPrimalBlade = new ItemPrimalBlade(TMMaterials.TOOL_PRIMAL);
GameRegistry.registerItem(ItemPrimalBlade, "ItemPrimalBlade");

ItemKatana = new ItemKatana();
Expand Down

0 comments on commit fbe4b73

Please sign in to comment.