2016-07-03 12:34:40 -04:00
|
|
|
package WayofTime.bloodmagic.livingArmour.downgrade;
|
2016-06-27 15:07:00 -04: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 12:34:40 -04:00
|
|
|
public class LivingArmourUpgradeCrippledArm extends LivingArmourUpgrade
|
2016-06-27 15:07:00 -04:00
|
|
|
{
|
|
|
|
public static final int[] costs = new int[] { -50 };
|
|
|
|
|
2016-07-03 12:34:40 -04:00
|
|
|
public LivingArmourUpgradeCrippledArm(int level)
|
2016-06-27 15:07:00 -04:00
|
|
|
{
|
|
|
|
super(level);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void onTick(World world, EntityPlayer player, ILivingArmour livingArmour)
|
|
|
|
{
|
2016-07-03 12:34:40 -04:00
|
|
|
|
2016-06-27 15:07:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getUniqueIdentifier()
|
|
|
|
{
|
2016-07-03 12:34:40 -04:00
|
|
|
return Constants.Mod.MODID + ".upgrade.crippledArm";
|
2016-06-27 15:07:00 -04: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 12:34:40 -04:00
|
|
|
return tooltipBase + "crippledArm";
|
2016-06-27 15:07:00 -04:00
|
|
|
}
|
|
|
|
}
|