mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
- 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*
22 lines
509 B
Java
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);
|
|
}
|
|
|
|
}
|