1

[sovled] Help with detecting dropped items

ManTheWell's Avatar ManTheWell9/2/17 8:32 pm history
1 emeralds 352 6
9/3/2017 10:58 pm
Wazy_Hemisphere's Avatar Wazy_Hemisphere
I have tried all of the command i can find on the internet, but they all fail with the error message item.tile.tnt does not fit required structure. again, I have tried many many commands, and i dont understand why it isnt working. im working in 1.12
thanks!

some command commands:
testfor @e[type=Item] {Item:id:item.tile.tnt}
testfor @e[type=Item] {Item:{id:tnt}}
Posted by ManTheWell's Avatar
ManTheWell
Level 1 : New Miner
0

Create an account or sign in to comment.

6

2
09/03/2017 7:45 am
Level 57 : Grandmaster Cyborg
Pepijn
Pepijn's Avatar
testfor @e[type=item] {Item:{id:"minecraft:tnt"}}
1
09/03/2017 11:44 am
Level 1 : New Miner
ManTheWell
ManTheWell's Avatar
now would it be possible to summon a lit tnt block at the dropped tnt item? thanks
2
09/03/2017 11:41 am
Level 1 : New Miner
ManTheWell
ManTheWell's Avatar
This worked great, thank you very much!
1
09/02/2017 8:57 pmhistory
Level 7 : Apprentice Engineer
Wazy_Hemisphere
Wazy_Hemisphere's Avatar
Quotation mark. Try putting quotation marks.

And I think the tag should be: {id:"tnt"} instead of {Item:{id:"tnt"}}

Try it and if it doesn't work, I'll try to make one that works.
1
09/03/2017 11:42 am
Level 1 : New Miner
ManTheWell
ManTheWell's Avatar
Thank you, quotations were required.
1
09/03/2017 10:58 pm
Level 7 : Apprentice Engineer
Wazy_Hemisphere
Wazy_Hemisphere's Avatar
Okay... I see... the tag is {Item:{id:"tnt"}}
my bad...
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome