working on copper tools and weapons / weapon upgrades

This commit is contained in:
Mohammad-Ali Minaie
2018-09-21 11:03:10 -04:00
parent 6656a2a3ab
commit bd6f01c244
3 changed files with 7 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ public class ModItems {
public static Item softcrucible; public static Item softcrucible;
//public static Item stonetongs; //public static Item stonetongs;
public static Item castingmud; public static Item castingmud;
public static Item rawbronzegladius; //public static Item rawbronzegladius;
public static Item bronzeingotball; public static Item bronzeingotball;
public static Item bronzechunk; public static Item bronzechunk;
@@ -210,7 +210,7 @@ public class ModItems {
/********** /**********
WEAPONS WEAPONS
**********/ **********/
rawbronzegladius = new Item().setRegistryName("rawbronzegladius").setUnlocalizedName("rawbronzegladius"); //rawbronzegladius = new Item().setRegistryName("rawbronzegladius").setUnlocalizedName("rawbronzegladius");
bronzegladius = new CustomSword("bronzegladius", PrimalAPI.ToolMaterials.TOOL_BRONZE, 5.5D, 2D); bronzegladius = new CustomSword("bronzegladius", PrimalAPI.ToolMaterials.TOOL_BRONZE, 5.5D, 2D);
wroughtirongladius = new CustomSword("wroughtirongladius", PrimalAPI.ToolMaterials.TOOL_WROUGHT_IRON, 4.5D, -1.85D); wroughtirongladius = new CustomSword("wroughtirongladius", PrimalAPI.ToolMaterials.TOOL_WROUGHT_IRON, 4.5D, -1.85D);
@@ -344,7 +344,7 @@ public class ModItems {
/********** /**********
WEAPONS WEAPONS
**********/ **********/
ForgeRegistries.ITEMS.register(rawbronzegladius); //ForgeRegistries.ITEMS.register(rawbronzegladius);
ForgeRegistries.ITEMS.register(wroughtirongladius); ForgeRegistries.ITEMS.register(wroughtirongladius);
ForgeRegistries.ITEMS.register(bronzegladius); ForgeRegistries.ITEMS.register(bronzegladius);
@@ -467,7 +467,7 @@ public class ModItems {
**********/ **********/
registerRender(wroughtironshield); registerRender(wroughtironshield);
registerRender(rawbronzegladius); //registerRender(rawbronzegladius);
registerRender(bronzegladius); registerRender(bronzegladius);
registerRender(wroughtirongladius); registerRender(wroughtirongladius);

View File

@@ -42,7 +42,7 @@ public class CauldronRecipes
/*
recipes.register(new CauldronRecipe( recipes.register(new CauldronRecipe(
5, 5,
FluidRegistry.getFluidStack("water", 1000), FluidRegistry.getFluidStack("water", 1000),
@@ -54,5 +54,6 @@ public class CauldronRecipes
lapisBronze, lapisBronze,
ItemStack.EMPTY).setRecipeName("finishedGladius") ItemStack.EMPTY).setRecipeName("finishedGladius")
); );
*/
} }
} }

View File

@@ -85,7 +85,7 @@ public class CustomSword extends ItemSword {
//tooltip.add(ChatFormatting.GRAY + "Damage: " + item.getItemDamage() ); //tooltip.add(ChatFormatting.GRAY + "Damage: " + item.getItemDamage() );
if(item.hasTagCompound()) if(item.hasTagCompound())
{ {
tooltip.add(ChatFormatting.GRAY + "Upgrades Left: " ); tooltip.add(ChatFormatting.GRAY + "Upgrades: " );
tooltip.add(ChatFormatting.LIGHT_PURPLE + "Damage: " + item.getItemDamage() ); tooltip.add(ChatFormatting.LIGHT_PURPLE + "Damage: " + item.getItemDamage() );
} }
} }