Files
TinkersConstruct/src/tconstruct/util/DamageSourceFireworkExplode.java
T
Arthur Uzulin 2fcc67e876 Custom firework rocket for landmines (WIP)
- Made the firework rocket impossible to dismount
- Made the firework rocket inflict a large amount of damage to the
player upon explosion
- Moved DamageSourceLandmine to it's appropriate place
- Fixed the landmine death localization *blames Sunstrike*
2013-10-28 23:12:41 +11:00

22 lines
509 B
Java

package tconstruct.util;
import net.minecraft.util.DamageSource;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.util.ChatMessageComponent;
public class DamageSourceFireworkExplode extends DamageSource{
public DamageSourceFireworkExplode(String s)
{
super(s);
this.setDamageBypassesArmor();
}
public ChatMessageComponent getDeathMessage (EntityLivingBase par1EntityLivingBase)
{
return super.getDeathMessage(par1EntityLivingBase);
}
}