mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
24 lines
613 B
Java
24 lines
613 B
Java
package tconstruct.util;
|
|
|
|
import net.minecraft.entity.EntityLivingBase;
|
|
import net.minecraft.util.ChatComponentTranslation;
|
|
import net.minecraft.util.DamageSource;
|
|
import net.minecraft.util.IChatComponent;
|
|
|
|
public class DamageSourceFireworkExplode extends DamageSource
|
|
{
|
|
|
|
public DamageSourceFireworkExplode(String s)
|
|
{
|
|
super(s);
|
|
this.setDamageBypassesArmor();
|
|
}
|
|
|
|
@Override
|
|
public IChatComponent func_151519_b (EntityLivingBase par1EntityLivingBase)
|
|
{
|
|
return new ChatComponentTranslation("death.attack.FireworkExplode", par1EntityLivingBase.func_145748_c_());
|
|
}
|
|
|
|
}
|