I Need Help With Testfor [duplicate]

I Need Help With Testfor [duplicate] - High angle of crop person holding hands with ethnic boy stuck in dirty puddle in poor village

Okay, so I'm making a sell shop in Minecraft using commands, but I need to know, how do I get different types of logs using the command?

/testfor @p {Inventory:[{id:"minecraft:log",Count:32b}]}

I've tried doing log:2 and all that, and I can't find anything online. Could someone please help?






Pictures about "I Need Help With Testfor [duplicate]"

I Need Help With Testfor [duplicate] - Frustrated female driver in white t shirt and jeans sitting on ground near damaged car with hands on head during car travel in sunny summer day
I Need Help With Testfor [duplicate] - Homeless people in night shelter for homeless
I Need Help With Testfor [duplicate] - Black and white of homeless man lying on floor and reading book in night shelter for homeless



What replaced the Testfor command in Minecraft?

The /testfor command became obsolete in Minecraft 1.13, and has been replaced by the /execute command*. It will do the same as typing /testfor @e {SelectedItem:{id:"<item>"}} and then putting a comparator to the command block with the command, and then running the command which you wanna run.

Is Testfor command still in Minecraft?

You can test for a certain target in the game using the /testfor command in Minecraft. TIP: Starting in Minecraft Java Edition (PC/Mac) 1.13, the /testfor command was removed from the Java Edition version of the game.



3 EASY Ways to Find and Remove Duplicates in Excel




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Ahmed akacha, Gustavo Fring, Plato Terentev, Plato Terentev