1

I ran into some hastle myself trying to do this today:

I've been planning on creating an amusement park on minecraft bedrock. For this there of course needs to be rollercoasters. Is there a way to link minecarts using commandblocks and ensure that the minecart will face the correct way and will always stay on the rails? This is what I got now:

execute @e[name=CT1, type=minecart] ^ ^ ^ tp @e[name=CT2, type=minecart] ^-1.6 ^ ^ However this makes the minecart teleport like crazy and forces it off the rail. Is there a way to make this better? Thanks in advance :)

6
  • Wouldn't it just be easier to teleport the minecarts to specific places on some powered rail at the start, and then start them all off at the same time? Then you also wouldn't have to worry about the 100-block limit for executing your repeat command. – DM01131 May 3 at 13:03
  • @DM01131 wdym "100 block limit" – Penguin May 5 at 3:18
  • @Penguin Command blocks can only execute commands over a distance of 100 blocks. This might be an obstacle to using @user15270366's original command, execute @e[name=CT1, type=minecart] ^ ^ ^ tp @e[name=CT2, type=minecart] ^-1.6 ^ ^, depending on how large their ride is. I believe functions are able to bypass this limit, but they might not be the simplest solution for what @user15270366 wants to do. – DM01131 May 5 at 18:49
  • @DM01131 that's... not true. Im not quite sure where you heard that but I can assue you ive used command blocks over distances of hundreds upon hundreds of blocks away – Penguin May 5 at 20:27
  • @Penguin are you sure? I am certain I have experienced this in my world. Are you saying for example things like /setblock can work when they are executed at say 1000,100,1000 and the block is at say 0,0,0, as long as the chunk is loaded? Also, just to confirm we're both talking about BE? – DM01131 May 6 at 21:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.