1
In 1.13.2 I'm trying to create a command that will run a command that clears a players inventory and tells them a message if they have a specific item in their inventory. I have attempted a couple of different ways, but no forums are up-to-date with this information. Does anyone have any idea how to do this?
Thanks!
Thanks!
Create an account or sign in to comment.
3
1
Try this to create an easy command: https://mcstacker.net/
1
if you just do this command in a command block that is repeating, then change the item to whatever item you want it should work... k i tested it and it worked
execute as @a[nbt={Inventory:{id:"minecraft:redstone",Count:1b}]}] run clear @p
1
hmmmmm i have literally no knowledge on that in 1.13 i used to know the ins and outs of commands back in 1.12.2, but alas... times have changed im sorry i am no help.