The Meaning of Life, the Universe, and Everything.
Location:
California
Join Date:
7/12/2011
Posts:
159
Minecraft:
Hatsune_Candy
Member Details
I'm a bit of novice when it comes to command blocks. I know how to do some pretty cool stuff with the scoreboard and a few other commands, but when comes to something as complicated as the player pushing and pulling blocks, I don't have a damn clue on where to even begin.
I know it can be done, I've seen plenty of videos, the problem is that they're all outdated and don't work with the current version. Is there anyone who knows of a way I could do it in 1.11, or at least could teach me how to use the commands I would need for a project like this? I would much appreciate it.
Or you can just make the player clone the block they have in front of them if it's detected to be the good block. So, sorry, but I really don't know what would the commands be, cause I just have no access to any PC right now, but here are the bases you will need:
-Detect player rotation with ry and ry
-Detect if the player is walking with stat.walkOneCm
-Execute detect from a player and /clone move
but if you use clone command it will destroy the wall by replacing it
I'm a bit of novice when it comes to command blocks. I know how to do some pretty cool stuff with the scoreboard and a few other commands, but when comes to something as complicated as the player pushing and pulling blocks, I don't have a damn clue on where to even begin.
I know it can be done, I've seen plenty of videos, the problem is that they're all outdated and don't work with the current version. Is there anyone who knows of a way I could do it in 1.11, or at least could teach me how to use the commands I would need for a project like this? I would much appreciate it.
Just summon shulker with falling block
And summon 4 armor stands with name front , back , left , right (for 4 sides)
Then tp all armor stands to each side of that shulker
Place repeat command block to testfor each armor stand in radius
and place chain command block with conditional connect to that each repeat command block
in chain command block = tp shulker to where you push it 1 block
For pull just reserve it by using scoreboard sneak
It same like push but add scoreboard test sneaking
Everytime you sneak and near shulker it will go backward
*Sorry I'm a little bit lazy now I will post full code later*
but if you use clone command it will destroy the wall by replacing it
/clone command will destroy any block that has the same height of that pushable block
I'm not quite sure I understand what exactly you want me to do, could you be a little bit more specific?