I'm trying to create a redstone contraption where if you are within a certain configuration of blocks, a command block runs a command relative to the player. So far I have the testforblocks command fine, and I'm using an @a selector so that it executes the testforblocks command for all the players. The problem with this is that if one player is within the correct configuration of blocks to activate the command block, the second command runs for all the players rather than just the player in the configuration of blocks. It is a redstone clock connected to a command block with the testforblocks command in it, and that is connected to another command block via a redstone comparator.
I'm making an adventure map where I'm using villagers as NPCs, although I don't want them to have any trades. I've been looking around, but all I can find is how to give them custom trades, rather than take away all the possible trades. I tried leaving the trade tag empty on the summon command, but that doesn't seem to be working either.
I'll probably have it turn the player to survival when they get close enough, and have it give them the 255 mining fatigue effect. The only problem is that whenever it changes the gamemode, it pops up on the chat even though the command block output is set to false. If there isn't a fix to this, I may just have them in survival mode with the mining fatigue enchantment, do you know if there's a way to get the chat to not say "Your game mode has been updated"? Thank you!
I'm not sure that design would work for what I'm using it for, but thank you for your help! I think I'll just have it set the player to survival mode when they get close enough to the area with repeaters, and I'll have it repair the place if anything gets broken like you suggested.
Do you know if there's an argument in the /testfor command that lets it test for the block the player is looking at (like when they have a black outline)? If there is, I might be able to set them out of adventure mode as they are looking at it, and back in when they look away.
I'm working on an adventure map, and I would prefer that the player is in adventure mode, although the player has to change the delay of redstone repeaters in it. I tried giving the player an item with the CanDestroy tag, but that only let them destroy the repeaters, not change the delay. I would prefer if the player could do it without holding an item, but it would also be okay if they had to hold an item to do it.
I used FRAPS. Also, let it be known that V 0.1.2 won't be out for a while.
Thank you! Also the city is really cool! I love the detail you put into everything!
Edit:
After I accidentally went on a minecart ride in the airport's baggage claim area, I found the Tardis! (Of course, the first thing I did was step on the console.)
Yeah, that's a good point... Maybe you could use both. Darker/newer roads near the more important places or buildings like a town hall or something and lighter dark grey wool roads near the more run down areas/alleyways or the city.
I think you should probably use black stained clay. It has more of a pavement feel to it than dark grey wool in my opinion. It'll also sound more like pavement while walking on it.
0
I already got it working, but thanks for your help. My adventure map is called Harmony's End, it's based off of Doctor Who.
http://www.planetminecraft.com/project/functional-tardis-in-minecraft/
0
Sorry I didn't respond to this earlier, I had forgotten. I tried this command with what I'm making and it ended up working, thank you!
0
Hello,
I'm trying to create a redstone contraption where if you are within a certain configuration of blocks, a command block runs a command relative to the player. So far I have the testforblocks command fine, and I'm using an @a selector so that it executes the testforblocks command for all the players. The problem with this is that if one player is within the correct configuration of blocks to activate the command block, the second command runs for all the players rather than just the player in the configuration of blocks. It is a redstone clock connected to a command block with the testforblocks command in it, and that is connected to another command block via a redstone comparator.
Thanks
0
Yeah, sorry for not being too clear, I was looking for a way to have a villager with no trades at all. Thanks both for your help!
0
I'm making an adventure map where I'm using villagers as NPCs, although I don't want them to have any trades. I've been looking around, but all I can find is how to give them custom trades, rather than take away all the possible trades. I tried leaving the trade tag empty on the summon command, but that doesn't seem to be working either.
0
I didn't know that game rule existed, thank you!
0
I'll probably have it turn the player to survival when they get close enough, and have it give them the 255 mining fatigue effect. The only problem is that whenever it changes the gamemode, it pops up on the chat even though the command block output is set to false. If there isn't a fix to this, I may just have them in survival mode with the mining fatigue enchantment, do you know if there's a way to get the chat to not say "Your game mode has been updated"? Thank you!
0
I'm not sure that design would work for what I'm using it for, but thank you for your help! I think I'll just have it set the player to survival mode when they get close enough to the area with repeaters, and I'll have it repair the place if anything gets broken like you suggested.
0
Do you know if there's an argument in the /testfor command that lets it test for the block the player is looking at (like when they have a black outline)? If there is, I might be able to set them out of adventure mode as they are looking at it, and back in when they look away.
0
I'm working on an adventure map, and I would prefer that the player is in adventure mode, although the player has to change the delay of redstone repeaters in it. I tried giving the player an item with the CanDestroy tag, but that only let them destroy the repeaters, not change the delay. I would prefer if the player could do it without holding an item, but it would also be okay if they had to hold an item to do it.
Thanks!
0
Thank you! Also the city is really cool! I love the detail you put into everything!
Edit:
After I accidentally went on a minecart ride in the airport's baggage claim area, I found the Tardis! (Of course, the first thing I did was step on the console.)
0
What video recording software did you use for the trailer video?
0
Yeah, that's a good point... Maybe you could use both. Darker/newer roads near the more important places or buildings like a town hall or something and lighter dark grey wool roads near the more run down areas/alleyways or the city.
0
I think you should probably use black stained clay. It has more of a pavement feel to it than dark grey wool in my opinion. It'll also sound more like pavement while walking on it.
0
4/17/15: Began working on the Silence and added Bad Wolf Bay to the list of locations.