So I'm pretty new to testfor still and I would like to know how to create a commandblock system that would detect when they are standing on a yellow wool block on the coordinates 400 4 600 (for example) does anyone know how to setup this redstone suystem, and also be specific about how I set the redstone system up, so for example show me a picture on how the setup of it would look like.
Minecraft – How to testfor if a player is standing on a certain block on a certain coordinates
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft – How to make a commandblock do setblock at a certain player
- Minecraft Java Edition – Detecting Right/Left Item Clicks: A Detailed Guide
- Minecraft Java Edition Commands – How to Give a Red Wool with Lore, Name, and Can Only Be Placed on Stone
- Minecraft Java Edition – Block Detection for a Specific Block using Commands
- Minecraft – How to detect minecraft item (any fern) in correct item frame and in correct rotation (1.13)
- Minecraft – How to detect the death of a mob
- Minecraft – How to detect certain block types anywhere in a certain area
- Minecraft – How to transform the ID of a block at a certain position into an NBT string
Best Answer
You'll need a redstone clock with a command block as shown below:
In the command block add the command
/testfor @a[x=400,y=4,z=Z,r=600]
and start up your clock. When ever a user is at that location, the red output line as shown in the picture will power. Once they have left the position, the output will power off.