r/MinecraftCommands • u/_ben3 • Sep 04 '25
Help | Java Snapshots HOW DO PEOPLE MAKE THE A MIRRORS WITH THE NEW MANNEQUINS??!
Like how do you mirror (not invert) the player’s movements?
Also how do you create a dynamic range from the glass (and not a set range such as ~X…) so it dynamically changes according the player’s distance from the glass?
Thanks:)
138
Upvotes
17
u/L30N1337 Sep 04 '25 edited Sep 04 '25
I don't know how it's done with command blocks specifically (or how exactly mannequins work), but in normal development (pay attention whether something is a single thing or multiple of something) you'd
For the position:
So the calculation is either "(-1) x [relative coordinate]" or "((-1) x ([player coordinate] - [mirror coordinate])) + [mirror coordinate]"
For the rotation:
If mannequins are affected by keyboard inputs:
Everything works normally, but A and D (or rather horizontal movement) as well as horizontal rotational inputs are inverted. In this case you only occasionally check position and rotation, like every 5 seconds.
46
u/M10doreddit Sep 04 '25
Is there no way to flip a single coordinate of motion to be negative?
Like, flip a plus to a minus or something?
7
u/Ericristian_bros Command Experienced Sep 04 '25
Ask in any of the ~5 posts
But you can store
Pos[0]times-1andPos[1]and2as they are from the player and then copy these values to the mannequinOr you can see the discussion in r/MinecraftCommands/s/wSkQSYzjTa
2
u/ShadowLp174 Command Professional Sep 05 '25 edited Sep 05 '25
Currently working on an easy-setup version for all directions.
It's already multiplayer compatible, I just have to add the direction selector. Will probably make a post about this when I'm done
Or if anyone wants, write me a dm for an incomplete version
2
u/Go60wm1 Sep 07 '25
I swear the people who made these are gatekeeping it like wtf its commands just tell us