How do you make people drop extra items on death?
As seen in this video, when a player is slain, they drop an Enchanting Table on top of their inventory.
How was this achieved and how can I build a system (using command blocks) that does that?
Come to think of it, what happens to a player's location when he/she dies? Does it reset to the spawnpoint? Stay the same (where they died) until they respawn? Or becomes a null value until they respawn?
Best Answer
Make a scoreboard objective of stat.deaths for example called
deathusing/scoreboard objectives add death stat.deaths deaths.Run a clock on a commandblock with the command
/excecute @a[score_death_min = 1] summon item ~ ~ ~ {Item:{id:minecraft:enchanting_table}}Run another commandblock after the previous one with
/scoreboard set @a[score_death_min = 1] death 0
Pictures about "How do you make people drop extra items on death?"



How do you drop items from death in Minecraft?
For Minecraft players who become more confident in the game and wish to turn this \u201citem loss\u201d option back on, use the command, \u201c/gamerule keepInventory false\u201d in the in-game console. This will revert the world's settings to removing all items from one's inventory upon death.How do you keep one item after death?
The way it works is simple: If a players die, the scoreboard will register and add a point to whoever died. After that, the command block will execute as the player (note that the command could go 'execute if @a[scores={deaths=1..}]') and clear everyone (including his) score.How do I make it so when one player dies everyone dies?
How to Enter the CommandHow to Make Tools Drop on Death in Roblox Studio
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Jill Burrow, Andrea Piacquadio, Andrea Piacquadio, Klaus Nielsen
