How do I kill a specific item with a command block
Best Answer
/kill
, like all other commands, supports NBT in Minecraft 1.13
/kill @e[type=item,nbt={Item:{id:"minecraft:gold_ingot"}}]
Pictures about "How do I kill a specific item with a command block"
How do you kill a specific item in Minecraft with commands?
In the most recent update of Minecraft, it's as simple as this command: /kill @e[type=item,name="gold ingot"] .How do you destroy a specific block in Minecraft with commands?
Chat Commands One of the most popular and fastest ways to clear items is the kill command. First, type /kill @e[type=item] in the chat and press enter to remove all dropped items in your Minecraft world instantly.How do you kill specific ground items in Minecraft?
Typing just /kill will kill every entity in a loaded area, including your armor, stands, minecarts, and even your own player. To prevent killing your own player, make sure to limit the command from killing yourself as well. For example, /kill @e[type=! player] will kill every entity except for your own player.ITEM DETECTION SYSTEM!? -- Command Block Tutorial
More answers regarding how do I kill a specific item with a command block
Answer 2
In the most recent update of Minecraft, it's as simple as this command: /kill @e[type=item,name="gold ingot"]
.
Answer 3
I play in 1.18.1, and this is the following command that works: /kill @e[type=item,nbt={Item:{id:"minecraft:gold_ingot"}}] Right now, the latest version is 1.18.1, so Idk if it works in later versions.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Joshua Miranda, Joshua Miranda, Joshua Miranda, Joshua Miranda