If there are multiple items being dropped on the ground, you will have to use the /scoreboard command to differentiate between different item entities:
- This is the clock, running at 20t/s.
- This will increment the score of specific item entities by 1 per tick.
How do you keep a specific item in Minecraft?
How to Keep Your Inventory When You Die in Minecraft on Android
- Open the Minecraft Pocket Edition on your Android phone.
- Click on the chat icon in the upper part of the screen.
- Type “/gamerule keepInventory true” in the chatbox.
- Press “Enter.”
- After you die, you’ll still have all your tools.
How to detect thrown item in Minecraft 1.14?
Then have a chain command block set to “conditional” and “always active” in line with the repeating one that has the command /kill @e [type=insert_same_projectile_name_here] This works as long as you don’t use that projectile for anything else and you don’t plan to use it for its Vanilla purpose
What are the two command blocks in Minecraft?
The first command block is Repeat Unconditional Always Active and it’s command is: The second command block is Chain Unconditional Always Active and it’s command is: That should do the trick. You could also look up a way to destroy all of one item.
How to test for items on the ground in Minecraft?
To test for this, you can simply modify the ‘nbt= {}’ tag to account for this, so it would look like: For the information on the item itself, it goes inside the ‘Item’ data tag. So, if you wanted to test for a specific item with a specific amount of that item, and with a specific NBT on that item, you could use:
Where does the item data tag go in Minecraft?
For the information on the item itself, it goes inside the ‘Item’ data tag. So, if you wanted to test for a specific item with a specific amount of that item, and with a specific NBT on that item, you could use: If you don’t want to check for a specific one of these, just leave them out of the ‘Item’ tag, like I have done with the first command.