1

I Need Command Block/Redstone Help

Hedgehogs2931's Avatar Hedgehogs29312/14/16 8:30 pm
1 emeralds 241 1
2/14/2016 8:35 pm
Heklo's Avatar Heklo
I am planning to do a roleplay thing in my world and I want to make a villager "talk" without any mods, so I used command blocks. How should I hide the trigger? Pressure plates are too obvious, and if I put string in front of a doorway the villager will say the same thing when I step out the door. Any ideas?
(BTW I am really bad at redstone. And I mean it. So please explain in simple way. Thanks!!!)
Posted by Hedgehogs2931's Avatar
Hedgehogs2931
Level 15 : Journeyman Toast
24

Create an account or sign in to comment.

1

1
02/14/2016 8:35 pm
Level 23 : Expert Engineer
Heklo
Heklo's Avatar
You can make an "invisible" one using /testfor
Here is an example of a player setting off a trigger at coordinates 100 64 100

/testfor @a[x=100,y=64,z=100,r=4]

This command tests for a player within 4 blocks of 100,64,100 and outputs a redstone signal through a comparator, you can change the radius if you like. The comparator would than be linked up to another command block which makes the villager talk.
You would also have that command on a clock going very fast, which could be anywhere hidden as long as its loaded. Let me know if you need help with the clock as well. Hope I helped.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome