Death Location
No reviews yet
Tells people their coordinates when they die!
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Do you have players? Do they die? Do they complain when they don't remember where they were when they died?
...Death Location!
What does death location do? It tells people their coordinates when they die.
What people I made up have to say about death location:
"Thanks death location! I located my death!"
"Why doesn't your mod just make me not die? Asshole."
Want to see death location ported to your favorite version of minecraft? Great, have at it! Here you go!
package capitalthree.deathloc
import net.minecraft.entity.player.EntityPlayerMP
import net.minecraft.util.text.TextComponentString
import net.minecraftforge.common.MinecraftForge
import net.minecraftforge.event.entity.living.LivingDeathEvent
import net.minecraftforge.fml.common.Mod.EventHandler
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent
import net.minecraftforge.fml.common.eventhandler.{EventPriority, SubscribeEvent}
import net.minecraftforge.fml.common.Mod
@Mod(modid = "deathlocation", version = "1", name = "DeathLocation", modLanguage = "scala", acceptableRemoteVersions="*")
object DeathLocation {
@EventHandler def init(e: FMLPreInitializationEvent) = MinecraftForge.EVENT_BUS.register(DieHandler)
}
object DieHandler {
@SubscribeEvent(priority = EventPriority.LOWEST) def died(e: LivingDeathEvent) = e.getEntity match {
case player: EntityPlayerMP => player.sendMessage(new TextComponentString(
s"Death location: ${player.posX.round}, ${player.posY.round}, ${player.posZ.round}"
))
case _ =>
}
}
(see github repo for build scripts and such)
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources