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*
This commit is contained in:
Arthur Uzulin committed 2013-10-28 23:12:41 +11:00
1 parent ae4dbb8095
commit 2fcc67e876
8 files changed
+253 -10

No files matched your search

@@ -0,0 +1,21 @@
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);
}
}