2013-10-28 23:12:41 +11:00
|
|
|
package tconstruct.util;
|
|
|
|
|
|
|
|
|
|
import net.minecraft.util.DamageSource;
|
2013-07-27 17:03:16 +10:00
|
|
|
|
|
|
|
|
import net.minecraft.entity.EntityLivingBase;
|
|
|
|
|
import net.minecraft.util.ChatMessageComponent;
|
|
|
|
|
|
2013-11-10 13:57:35 -08:00
|
|
|
public class DamageSourceFireworkExplode extends DamageSource
|
|
|
|
|
{
|
2013-07-27 17:03:16 +10:00
|
|
|
|
2013-10-28 23:12:41 +11:00
|
|
|
public DamageSourceFireworkExplode(String s)
|
2013-08-31 05:13:31 -07:00
|
|
|
{
|
|
|
|
|
super(s);
|
|
|
|
|
this.setDamageBypassesArmor();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ChatMessageComponent getDeathMessage (EntityLivingBase par1EntityLivingBase)
|
|
|
|
|
{
|
|
|
|
|
return super.getDeathMessage(par1EntityLivingBase);
|
2013-07-27 17:03:16 +10:00
|
|
|
}
|
2013-11-10 13:57:35 -08:00
|
|
|
|
2013-07-27 17:03:16 +10:00
|
|
|
}
|