How do you make people drop extra items on death?

How do you make people drop extra items on death? - Anonymous person pouring liquid product on table with pipette

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

  1. Make a scoreboard objective of stat.deaths for example called death using /scoreboard objectives add death stat.deaths deaths.

  2. Run a clock on a commandblock with the command /excecute @a[score_death_min = 1] summon item ~ ~ ~ {Item:{id:minecraft:enchanting_table}}

  3. 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 make people drop extra items on death? - Creative female artisan drawing in workshop
How do you make people drop extra items on death? - Woman in Pink Coat Holding Shopping Bags
How do you make people drop extra items on death? - Cook adding flour into baking form while preparing meal



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 Command
  • Open the Chat Window. The easiest way to run a command in Minecraft is within the chat window.
  • Type the Command. In this example, we will remove all items from your inventory with the following command: /clear. Once the cheat has been entered, your inventory will be cleared:




  • How 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