mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
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:
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user