home Forumsplay_arrow Minecraft fiber_manual_record Redstone

1

[solved] do something with entitys that have the correct testfor

1 emerald1 reply94 views
created 09/03/2017 4:35 pm by ManTheWell
last reply 09/03/2017 5:06 pm
I need a way to kill players that are over a certain block type (sandstone), however I do not know a way to kill only they players that are above sandstone while using
execute @a ~ ~ ~ testforblock ~ ~-1 ~ sandstone

is there a way to give them a tag, or in some other way tag them? anything written after the testfor is disregarded by the command block

thank you!
Posted by avatar
ManTheWell
Level 1 : New Miner
0

1 reply

1
09/03/2017 5:06 pm
Level 1 New Miner
ManTheWell
avatar
there is a command type that goes
execute <entity> ~ ~ ~ detect ~ ~ ~ <block> <command>

Search

Browse

Site

© 2010 - 2018
planetminecraft.com

Welcome