As the title says. I am getting a lot of dropped sandstone that I would like to get killed, but I also have bamboo and minecarts that I don't want getting deleted. Is there any way to do this using command blocks? The /fill command will not work for me, as I need dropped items killed, not placed items.
Asked
Active
Viewed 9,251 times
2 Answers
1
As @infek said, /kill @e[type=item] is a good option. However, you need to specify nbt in order to kill only sandstone: /kill @e[type=minecraft:item,nbt={Item:{id:"minecraft:sandstone"}}].
Nik3141
- 2,485
- 18
- 49
0
Have you tried /kill @e[type=item]? This will destroy all dropped items though so keep that in mind.
infek
- 1,896
- 13
- 19
-
1This doesn't quite work for me, it also destroys the dropped bamboo. – Kai036 Apr 30 '19 at 04:47
-
Yes, that's why I said it destroys all dropped items. The command does work so I don't know what you're talking about – infek Apr 30 '19 at 04:59