2

I need your help with command blocks

xXburruXx's Avatar xXburruXx6/8/20 7:00 pm history
2 emeralds 115 3
6/9/2020 9:25 pm
xXburruXx's Avatar xXburruXx
Soo... some context: lately i've been working on a map about resident evil aaand
im trying to be as close to the real game as possible... that's when your help comes in

there is a part in the game that you have to go crawling through the top of a cellar,
and i want to do it with command blocks.
What i need is that when the player gets on a certain xyz location to crawl automatically.

here's a video for reference: https://youtu.be/P1TLuKWSA0g?t=970

I tried with the "/execute" command, but i've got no idea how this new command works
so i didnt make it work

any help or advice will be extremely apreciated!!!

Thank you for reading! :)
Posted by xXburruXx's Avatar
xXburruXx
Level 36 : Artisan Zombie
52

Create an account or sign in to comment.

3

3
06/08/2020 9:34 pmhistory
Level 27 : Expert Botanist
Thorny_Bush
Thorny_Bush's Avatar
im not a command block expert, but if youre willing to forgo the /execute command and are willing to use a pressure plate i have a rather simple solution; https://www.youtube.com/watch?v=36jsZagJqZ0
3
06/09/2020 2:59 am
Level 52 : Grandmaster Blob
HoboMaggot
HoboMaggot's Avatar
You do not need a pressure plate for that. You can simply do:
/execute as @a[x=<x_cords>,y=<y_cords>,z=<z_cords>,distance=..2] at @s run setblock ~ ~1 ~ <block>
2
06/09/2020 9:25 pm
Level 36 : Artisan Zombie
xXburruXx
xXburruXx's Avatar
Maaaann, you dont know how much you helped me on this!!
thanks to you now my map will be better, now i just have to
tweak some things to refine it and now i understand the command a lot better!!
thank you! thank you! thank you!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome