Skip to content

Instantly share code, notes, and snippets.

@rmsy
Last active December 14, 2015 02:49
Show Gist options
  • Save rmsy/5016678 to your computer and use it in GitHub Desktop.
Save rmsy/5016678 to your computer and use it in GitHub Desktop.
These will be death messages for deaths in MCBall v2.0. Any suggestions are welcome--this Gist will be updated as necessary, reflecting any new changes.
/**
* If the {@link MCBPlayer} was directly hit by a flashbang.
*/
FLASHBANG_DIRECT_HIT(new String[]{"%s took a direct hit from %s's flashbang", "%s hit %s in the face with their flashbang"}, new boolean[]{false, true}),
/**
* If the {@link MCBPlayer} was directly hit by a paintball.
*/
PAINTBALL_DIRECT_HIT(new String[]{"%s got pummeled by %s's speeding paintball", "%s took %s's paintball to the face", "%s didn't quite manage to dodge %s's paintball"}, new boolean[]{false, false, false}),
/**
* If the {@link MCBPlayer} was directly hit by a sniper rifle.
*/
SNIPER_DIRECT_HIT(new String[]{"%s managed to slow down %s's sniper round just a little", "%s wasn't quite fast enough to dodge %s's sniper round", "%s got nipped by %s's sniper"}, new boolean[]{false, false, false}),
/**
* If the {@link MCBPlayer} was within the radius of a landmine explosion.
*/
LANDMINE_EXPLODE(new String[]{"%s was taken aback by %s's landmine explosion", "%s blew %s sky-high with a landmine", "%s's landmine managed to nab %s"}, new boolean[]{false, true, true}),
/**
* If the {@link MCBPlayer} strayed too far from the boundaries.
*/
VOID_FALL(new String[]{"%s fell out of the world", "%s fell into space", "%s tried to play astronaut", "%s "}, null),
/**
* If the {@link MCBPlayer} was killed by a TNT explosion.
*/
TNT_EXPLODE(new String[]{"%s was blown to smithereens by %s's TNT", "%s managed to kill %s while playing North Korea"}, new boolean[]{false, true}),
/**
* If the {@link MCBPlayer} was killed by fall damage.
*/
FALL_DAMAGE(new String[]{"%s jumped off a cliff (%d blocks)", "%s did the lemming thing (%d blocks)", "%s hit the ground too far (%d blocks)"}, null),
/**
* If the {@link MCBPlayer} was killed by an arrow.
*/
ARROW_HIT(new String[]{"%s took %s's arrow to the knee", "%s jumped in front of %s's arrow", "%s's arrow pierced %s"}, new boolean[]{false, false, true}),
/**
* If the {@link MCBPlayer} was killed due to a splash potion.
*/
SPLASH_POTION_DETERIORATE(new String[]{"%s killed %s with their potion", "%s died of %s magical potion"}, new boolean[]{true, false}),
/**
* If the {@link MCBPlayer} was killed due to drowning.
*/
DROWN(new String[]{"%s tried to swim for too long", "%s drowned", "%s cried for a lifeguard, but no one heard"}, null),
/**
* If the {@link MCBPlayer} was killed due to fire.
*/
FIRE_DEATH(new String[]{"%s burned to death", "%s played firefighter, but lost"}, null),
/**
* If the {@link MCBPlayer} was killed due to lava.
*/
LAVA_DEATH(new String[]{"%s tried to swim in lava", "%s drowned in lava"}, null),
/**
* If the {@link MCBPlayer} was killed due to lightning.
*/
LIGHTNING_STRIKE(new String[]{"%s got shocked by lightning", "%s tried to negotiate with Thor", "%s tried to play Ben Franklin", "%s got electrocuted"}, null),
/**
* If the cause of the {@link MCBPlayer}'s death can not be determined.
*/
UNKNOWN_CAUSE(new String[]{"%s died"}, null),
/**
* If the {@link MCBPlayer} died due to starvation.
*/
STARVATION(new String[]{"%s starved to death", "%s went too long without eating", "%s tried to play Bear Grylls and lost", "%s's tummy ran empty"}, null),
SUFFOCATION(new String[]{"%s suffocated to death", "%s got stuck inside a block"}, null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment