mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
24 lines
528 B
Java
24 lines
528 B
Java
package tconstruct.util;
|
|
|
|
import net.minecraft.entity.EntityLivingBase;
|
|
import net.minecraft.util.DamageSource;
|
|
import net.minecraft.util.IChatComponent;
|
|
|
|
public class DamageSourceLandmine extends DamageSource
|
|
{
|
|
|
|
public DamageSourceLandmine(String s)
|
|
{
|
|
super(s);
|
|
this.setDamageBypassesArmor();
|
|
}
|
|
|
|
@Override
|
|
public IChatComponent func_151519_b (EntityLivingBase par1EntityLivingBase)
|
|
{
|
|
// TODO getDeathMessage????
|
|
return super.func_151519_b(par1EntityLivingBase);
|
|
}
|
|
|
|
}
|