1
I Need Command Block/Redstone Help
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!!!)
(BTW I am really bad at redstone. And I mean it. So please explain in simple way. Thanks!!!)
Create an account or sign in to comment.
1
1
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.
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.