1

[ HELP] Command block invisible pressure plate?

eksynn 11/16/16 1:27 pm
2.1k
11/17/2016 11:35 pm
how can i make a working invisible pressure plate for 1.10.2?

i watched a few video tutorials but the most recent ones are up to 1.8~ or older >.< why do they keep changing the command blocks so often? lol (rhetorical)

edit: the command i wana use is 'tp @p[r=2] ~-1 ~ ~' to keep people from moving past a specific spot - i considered pressure plates, but they're literally too slow and you can just go past it after being sent back once
Posted by
eksynn
Level 1 : New Explorer
2

  Have something to say?

JoinSign in

18

Bertiecrafter
11/17/2016 11:32 am
Level 72 : Legendary System
I love how I am always ignored in help posts XD

But let me repeat myself more clear:
Put a command block under the spot.
Open up the command block and enter: "/tp @a[r=2] # # #"
then click the first button until it says "repeat" and the last button once for it to say "Always powered"

Then it will try to tp everyone (@a) within a 2 block radius (r=2) somewhere (# # #)... 20 times a second.

You could add m=!1, so that you won't have troubles editing the command block. (It will only work for people outside gamemode creative)

So instead of @a[r=2] you would have @a[r=2,m=!1]

-----

Also to Helper006-7,
the parameters are parts of a command.
/give <parameter> <parameter> OR /give <player> <block>

The player part is a selector.
<name>, @r, @e, @p, @a or @a[ (...) ]

The things inside the brackets are called selector arguments.
Just a little note for future explanations hehe
1
eksynn
11/17/2016 11:35 pm
Level 1 : New Explorer
ah D: i'm sorry, you weren't ignored - i actually tried doing what you said earlier, but i pressed ok too soon and i kept sending everyone south constantly until they crashed xD and i mean everyone.. i had to disable command blocks to remove that one block in creative mode to undo it... and then i forgot to respond to you =c i'm sorry
but yes, i'll try what you suggested last ^^
1
Smooth-Cobalt2
11/17/2016 8:19 am
Level 35 : Artisan Blockhead
I'll message you my Discord.
1
Smooth-Cobalt2
11/16/2016 6:45 pm
Level 35 : Artisan Blockhead
Also I can help you if you're on a server, Skype or Discord.
1
eksynn
11/17/2016 5:34 am
Level 1 : New Explorer
i use hamachi with a couple of friends (i can't seem to forward my router-modem for some reason) - i also have discord and steam ^^
i'll be around in ~6+ hours or so as of this post... how should we do this? PM?
1
Smooth-Cobalt2
11/16/2016 6:43 pm
Level 35 : Artisan Blockhead
Well for this to work, first you have to know what coordinates you're looking for so that the radius can work effectively. Also, PARAMETERS in the command shouldn't be in there but instead replaced with the parameters you used earlier. Also the reason it works once is because you're near enough the command block when you reactivate to actually work because of the radius parameter. Btw, parameters are things that specify the condtions to test for.
1
Smooth-Cobalt2
11/16/2016 6:17 pm
Level 35 : Artisan Blockhead
The PARAMETERS part can be replaced with r=2. However if you're wanting a better detection that's cubed or rectangular shaped, you can use dx, dy, and dz. I suggest searching up on the Minecraft Wiki "Command Parameters" for more help on how to use these dx, dy, and dz parameters.
1
eksynn
11/16/2016 6:28 pm
Level 1 : New Explorer
so i have this in the command field...
execute @p[r=2] ~ ~2 ~ tp @p[r=2] ~3 ~ ~

it returns this:
[21:25] The entity UUID provided is in an invalid format

any thoughts?

note, if i set the first [] to PARAMETERS, it works.. but only once. then i have to set it to redsone, then to active again in order for it to work again
1
Smooth-Cobalt2
11/16/2016 5:58 pm
Level 35 : Artisan Blockhead
eksynn, a repeater command block with "Always Active" on. Then input this command: "execute @p[PARAMETERS] ~ ~ ~ tp @p ~-1 ~ ~ ". Note that the parameters move from the TP command to the EXECUTE command.
1
eksynn
11/16/2016 6:11 pm
Level 1 : New Explorer
thanks ^^ what would go there instead of PARAMETERS? or is that... what goes in the brackets? xD
1
eksynn
11/16/2016 5:48 pm
Level 1 : New Explorer
so any ideas? xD
1
Myyoyo
11/16/2016 2:45 pm
Level 67 : High Grandmaster Wolf Whisperer
eksynni wonder why they don't make the command_block and barrier blocks visible in creative mode o O

Because then players in creative world would abuse them.
1
eksynn
11/16/2016 2:33 pm
Level 1 : New Explorer
Greystalk
eksynn
GreystalkI assume barrier blocks won't work?

If you put your tp command one block underneath the ground, perhaps increase the radius to 3, and make it always active and repeat, That should do the trick without any pressure plates.

i'm not sure how to even consider making those blocks o O


/give @p barrier

It acts like bedrock except it's invisible

oh wow that is VERY neat =D
i wonder why they don't make the command_block and barrier blocks visible in creative mode o O

on that note, as neat as it is, it still won't do what i need it to do - i'm making a maze that teleports the player to the beginning of each maze's section if they walk over specific blocks, so i -need- it to teleport the player as opposed to just block them

thank you SO much for teaching about the barrier blocks though! they'll definitely be very useful for other things i have in mind for the maze ^^
what other secret blocks are there, beyond barrier and the command block?
1
Greystalk
11/16/2016 1:51 pm
Level 46 : Master Ranger
I assume barrier blocks won't work?

If you put your tp command one block underneath the ground, perhaps increase the radius to 3, and make it always active and repeat, That should do the trick without any pressure plates.
1
Greystalk
11/16/2016 2:24 pm
Level 46 : Master Ranger
i'm not sure how to even consider making those blocks o O[/quote]

/give @p barrier

It acts like bedrock except it's invisible
1
Bertiecrafter
11/16/2016 1:50 pm
Level 72 : Legendary System
just put it on repeat (the purple one)
it executes 20 times a second when powered

The r=2 tag says that only players within a 2 block radius are teleported, so there is no harm in executing it all the time, instead of when a player stands on a pressure plate.
1
SenseiChicken_
11/16/2016 1:42 pm
Level 1 : New Explorer
have you tried
/execute @a ~ ~ ~ detect ~ ~2 ~ /tp @p[r=2] ~-1 ~ ~
It might not work as I'm a but rusty and it is a bit of an old command but I'd start there.
1
eksynn
11/16/2016 2:01 pm
Level 1 : New Explorer
i'll try that =x will report back as soon as i can
edit, the command block returned this:
[17:05] There is no such block with name minecraft:/tp

GreystalkI assume barrier blocks won't work?

If you put your tp command one block underneath the ground, perhaps increase the radius to 3, and make it always active and repeat, That should do the trick without any pressure plates.

i'm not sure how to even consider making those blocks o O
1

Welcome