2016-07-03 16:34:40 +00:00
|
|
|
package WayofTime.bloodmagic.livingArmour.downgrade;
|
2016-06-27 19:07:00 +00:00
|
|
|
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
import WayofTime.bloodmagic.api.Constants;
|
|
|
|
import WayofTime.bloodmagic.api.livingArmour.ILivingArmour;
|
|
|
|
import WayofTime.bloodmagic.api.livingArmour.LivingArmourUpgrade;
|
|
|
|
|
2016-07-03 16:34:40 +00:00
|
|
|
public class LivingArmourUpgradeCrippledArm extends LivingArmourUpgrade
|
2016-06-27 19:07:00 +00:00
|
|
|
{
|
2016-09-27 21:15:24 +00:00
|
|
|
public static final int[] costs = new int[] { -150 };
|
2016-06-27 19:07:00 +00:00
|
|
|
|
2016-07-03 16:34:40 +00:00
|
|
|
public LivingArmourUpgradeCrippledArm(int level)
|
2016-06-27 19:07:00 +00:00
|
|
|
{
|
|
|
|
super(level);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void onTick(World world, EntityPlayer player, ILivingArmour livingArmour)
|
|
|
|
{
|
2016-07-03 16:34:40 +00:00
|
|
|
|
2016-06-27 19:07:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getUniqueIdentifier()
|
|
|
|
{
|
2016-07-03 16:34:40 +00:00
|
|
|
return Constants.Mod.MODID + ".upgrade.crippledArm";
|
2016-06-27 19:07:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getMaxTier()
|
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getCostOfUpgrade()
|
|
|
|
{
|
|
|
|
return costs[this.level];
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void writeToNBT(NBTTagCompound tag)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void readFromNBT(NBTTagCompound tag)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getUnlocalizedName()
|
|
|
|
{
|
2016-07-03 16:34:40 +00:00
|
|
|
return tooltipBase + "crippledArm";
|
2016-06-27 19:07:00 +00:00
|
|
|
}
|
|
|
|
}
|