1

I NEED help with redstone.

Blaze222 6/6/15 3:15 pm
182
6/6/2015 5:17 pm
I need help with a bit of redstone for my parkour map!

What I want to do is give a player a specific effect when they are on a specific type of block.

Example: When the player stands on red stained clay he dies. When a player stands on blue stained clay they are given speed. When a player stands on yellow stained clay.

The person who replies first with the correct answer will get their PlanetMinecraft name on ADDITIONAL CREDIT for the map I am building at the moment!
Posted by
Blaze222
Level 2 : Apprentice Hunter
1

  Have something to say?

JoinSign in

8

ThatWiiMaster
06/06/2015 5:17 pm
Level 18 : Journeyman Geek
No problem!
1
Blaze222
06/06/2015 4:24 pm
Level 2 : Apprentice Hunter
Thank you MineMasterXL
1
ThatWiiMaster
06/06/2015 4:21 pm
Level 18 : Journeyman Geek
Ok now here is what you are looking for. You need the execute command with a detect argument. Here is an example.

/execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:grass 0 say You are standing on grass.

That makes it so anybody standing on a grass block will be notified they are standing on a grass block.

For your purposes, this would be correct: Replace insertblockhere with the name of the block you want them to stand on and replace the 0 for a data value if applicable.

/execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:insertblockhere 0 effect @p potion id or name time amplifier

Just customize it and pop it into a command block and run it on a comparator clock or something. You only need one.
1
Blaze222
06/06/2015 3:30 pm
Level 2 : Apprentice Hunter
Wait it might be...
1
Blaze222
06/06/2015 3:29 pm
Level 2 : Apprentice Hunter
MarkTheHunt that's not what I'm looking for
1
YTCereal
06/06/2015 3:35 pm
Level 22 : Expert Network
-.- facepalm.. u never understand my redstone language.
1
Blaze222
06/06/2015 4:07 pm
Level 2 : Apprentice Hunter
I'm confused. What I need is something different if I was to use this I would need over 3000 of these to cover the floor
1
YTCereal
06/06/2015 3:21 pm
Level 22 : Expert Network
1

Welcome