Fix tool tiers

This commit is contained in:
Prospector 2016-05-23 00:13:11 -07:00
parent 850e39d674
commit 188e2ef0c5
14 changed files with 65 additions and 78 deletions

View file

@ -16,7 +16,7 @@ public class ItemPlates extends ItemTextureBase
public static final String[] types = new String[] { "aluminum", "brass", "bronze", "chrome", "copper", "electrum",
"invar", "iridium", "iron", "gold", "lead", "nickel", "platinum", "silver", "steel", "tin", "titanium",
"tungsten", "tungstensteel", "zinc", "refinedIron", "carbon", "wood", "magnalium",
"silicon", "ruby", "sapphire", "peridot", "redGarnet", "yellowGarnet", "redstone", "diamond", "emerald", "lapis", "coal", "obsidian" };
"silicon", "ruby", "sapphire", "peridot", "redGarnet", "yellowGarnet", "redstone", "diamond", "emerald", "lapis", "coal", "obsidian", "advancedAlloy" };
public ItemPlates()
{

View file

@ -0,0 +1,26 @@
package techreborn.items.tools;
import techreborn.config.ConfigTechReborn;
public class ItemAdvancedJackhammer extends ItemJackhammer
{
public ItemAdvancedJackhammer()
{
super(ToolMaterial.IRON, "techreborn.advancedJackhammer", ConfigTechReborn.AdvancedJackhammerCharge,
ConfigTechReborn.AdvancedJackhammerTier);
this.cost = 250;
this.efficiencyOnProperMaterial = 60F;
}
@Override
public String getTextureName(int damage)
{
return "techreborn:items/tool/advancedJackhammer";
}
@Override
public int getMaxMeta()
{
return 1;
}
}

View file

@ -1,8 +1,6 @@
package techreborn.items.tools;
import techreborn.config.ConfigTechReborn;
import net.minecraft.item.Item.ToolMaterial;
public class ItemDiamondJackhammer extends ItemJackhammer
{
@ -10,8 +8,8 @@ public class ItemDiamondJackhammer extends ItemJackhammer
{
super(ToolMaterial.DIAMOND, "techreborn.diamondJackhammer", ConfigTechReborn.DiamondJackhammerCharge,
ConfigTechReborn.DiamondJackhammerTier);
this.cost = 250;
this.efficiencyOnProperMaterial = 60F;
this.cost = 100;
this.efficiencyOnProperMaterial = 16F;
}
@Override

View file

@ -1,28 +0,0 @@
package techreborn.items.tools;
import techreborn.config.ConfigTechReborn;
import net.minecraft.item.Item.ToolMaterial;
public class ItemIronJackhammer extends ItemJackhammer
{
public ItemIronJackhammer()
{
super(ToolMaterial.IRON, "techreborn.ironJackhammer", ConfigTechReborn.IronJackhammerCharge,
ConfigTechReborn.IronJackhammerTier);
this.cost = 50;
this.efficiencyOnProperMaterial = 12F;
}
@Override
public String getTextureName(int damage)
{
return "techreborn:items/tool/ironJackhammer";
}
@Override
public int getMaxMeta()
{
return 1;
}
}

View file

@ -3,12 +3,10 @@ package techreborn.items.tools;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Items;
import techreborn.config.ConfigTechReborn;
import net.minecraft.item.Item.ToolMaterial;
public class ItemIronChainsaw extends ItemChainsaw
public class ItemSteelChainsaw extends ItemChainsaw
{
public ItemIronChainsaw()
public ItemSteelChainsaw()
{
super(ToolMaterial.IRON, "techreborn.ironChainsaw", ConfigTechReborn.IronChainsawCharge,
ConfigTechReborn.IronChainsawTier, 2.0F);
@ -24,7 +22,7 @@ public class ItemIronChainsaw extends ItemChainsaw
@Override
public String getTextureName(int damage)
{
return "techreborn:items/tool/ironChainsaw";
return "techreborn:items/tool/steelChainsaw";
}
@Override

View file

@ -3,12 +3,10 @@ package techreborn.items.tools;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Items;
import techreborn.config.ConfigTechReborn;
import net.minecraft.item.Item.ToolMaterial;
public class ItemIronDrill extends ItemDrill
public class ItemSteelDrill extends ItemDrill
{
public ItemIronDrill()
public ItemSteelDrill()
{
super(ToolMaterial.IRON, "techreborn.ironDrill", ConfigTechReborn.IronDrillCharge,
ConfigTechReborn.IronDrillTier, 0.5F, 10F);
@ -24,7 +22,7 @@ public class ItemIronDrill extends ItemDrill
@Override
public String getTextureName(int damage)
{
return "techreborn:items/tool/ironDrill";
return "techreborn:items/tool/steelDrill";
}
@Override

View file

@ -1,8 +1,6 @@
package techreborn.items.tools;
import techreborn.config.ConfigTechReborn;
import net.minecraft.item.Item.ToolMaterial;
public class ItemSteelJackhammer extends ItemJackhammer
{
@ -10,8 +8,8 @@ public class ItemSteelJackhammer extends ItemJackhammer
{
super(ToolMaterial.DIAMOND, "techreborn.steelJackhammer", ConfigTechReborn.SteelJackhammerCharge,
ConfigTechReborn.SteelJackhammerTier);
this.cost = 100;
this.efficiencyOnProperMaterial = 16F;
this.cost = 50;
this.efficiencyOnProperMaterial = 12F;
}
@Override