I want to make a system that tests for a specific player at specific coordinates with a specific item? And also how do I get one redstone output out of all the commands at once?
I tried to do /testfor [x=X,y=Y,z=Z,r=R]
And /testfor {Inventory:[{id:"minecraft:slime_ball"}]}
Both work, but I can't test for 1 specific player, I can only check for all the players, I need help please.
Minecraft – make a system that tests for a specific player at specific coordinates with a specific item
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft – How to replace a SPECIFIC item in a players hotbar with another specific item
- Minecraft – Remove armor/any item with specific name
- Minecraft – teleport a player when stepping on specific coordinates
- Minecraft – How to detect for player with custom head
- Minecraft block detection for a specific block
- Minecraft – way to detect a player with relative coordinates to the command block
Best Answer
you can check all of that in one command like this: