Command blocks

Tutorial viewed            times

Troll bed:

After placing the command blocks like in the video, paste the listed commands always starting from the bottom command block and then going up.


/execute @a ~ ~ ~ detect ~ ~ ~ bed -1 setblock ~ ~ ~ air 0 destroy


Troll furnace:


/execute @a[x=115,y=67,z=123,r=6] ~ ~ ~ setblock ~ ~ ~ fire


Troll block:


/testforblock 105 66 123 air -1


​/effect @p[x=105,y=66,z=123,r=8] instant_damage 10 100 true


​/setblock 105 66 123 diamond_block


Troll slime:​


​/execute @a ~ ~ ~ detect ~ ~-2 ~ slime -1 effect @p levitation 1 100 true


​/execute @a ~ ~ ~ detect ~ ~-2 ~ slime -1 setblock ~ ~-1 ~ air 0


Troll bench:​


​/execute @a ~ ~ ~ detect ~ ~-2 ~ slime -1 setblock ~ ~-1 ~ air 0


​/execute @a ~ ~ ~ detect ~-1 ~-1 ~ crafting_table -1 clear @p


​/execute @a ~ ~ ~ detect ~-1 ~-1 ~ crafting_table -1 clear @p


​/execute @a ~ ~ ~ detect ~-1 ~-1 ~ crafting_table -1 clear @p


Troll door:


​/testforblock 93 67 120 wooden_door 5


/execute @p[x=93,y=67,z=120,r=8] ~ ~ ~ playsound random.fuse @a ~ ~ ~ 10 1


​/setblock 93 67 120 wooden_door 3



MCPE TROLL BLOCKS