2013-10-28 23:12:41 +11:00
|
|
|
package tconstruct.util;
|
2013-07-27 17:03:16 +10:00
|
|
|
|
|
|
|
|
import net.minecraft.entity.EntityLivingBase;
|
2014-09-09 18:30:15 +10:00
|
|
|
import net.minecraft.util.*;
|
2013-07-27 17:03:16 +10:00
|
|
|
|
2013-08-31 05:13:31 -07:00
|
|
|
public class DamageSourceLandmine extends DamageSource
|
|
|
|
|
{
|
2013-07-27 17:03:16 +10:00
|
|
|
|
2013-08-31 05:13:31 -07:00
|
|
|
public DamageSourceLandmine(String s)
|
|
|
|
|
{
|
|
|
|
|
super(s);
|
|
|
|
|
this.setDamageBypassesArmor();
|
|
|
|
|
}
|
|
|
|
|
|
2014-02-17 00:31:43 -05:00
|
|
|
@Override
|
2014-01-16 03:57:21 -05:00
|
|
|
public IChatComponent func_151519_b (EntityLivingBase par1EntityLivingBase)
|
2013-08-31 05:13:31 -07:00
|
|
|
{
|
2014-08-04 20:08:01 -03:00
|
|
|
return new ChatComponentTranslation("death.attack.Landmine", par1EntityLivingBase.func_145748_c_());
|
2013-07-27 17:03:16 +10:00
|
|
|
}
|
|
|
|
|
}
|