mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
- Re-added achievements - Organised all imports (seemed all over the place) - Formatted all code (seemed very combined, used the TinkerStyle)
21 lines
489 B
Java
21 lines
489 B
Java
package tconstruct.util;
|
|
|
|
import net.minecraft.entity.EntityLivingBase;
|
|
import net.minecraft.util.*;
|
|
|
|
public class DamageSourceLandmine extends DamageSource
|
|
{
|
|
|
|
public DamageSourceLandmine(String s)
|
|
{
|
|
super(s);
|
|
this.setDamageBypassesArmor();
|
|
}
|
|
|
|
@Override
|
|
public IChatComponent func_151519_b (EntityLivingBase par1EntityLivingBase)
|
|
{
|
|
return new ChatComponentTranslation("death.attack.Landmine", par1EntityLivingBase.func_145748_c_());
|
|
}
|
|
}
|