Arqade Asked by EquippedSword99 on August 30, 2021
I want to kill a specific item using a command block. If this is possible, how do I do this. Can you kill 2 specific items using a single command block. If yes, how?
I tried killing a gold ingot but it didn’t work.
Here is the screenshot.
The /kill
command does not support datatags. Try running the following command:
/scoreboard players tag @e[type=Item] add gold {Item:{id:"minecraft:gold_ingot"}}
Then use:
/kill @e[type=Item,tag=gold]
Correct answer by ash4fun on August 30, 2021
/kill
, like all other commands, supports NBT in Minecraft 1.13
/kill @e[type=item,nbt={Item:{id:"minecraft:gold_ingot"}}]
Answered by pppery on August 30, 2021
In the most recent update of Minecraft, it's as simple as this command: /kill @e[type=item,name="gold ingot"]
.
Answered by TheThinker 39 on August 30, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP