1

I have developed an automatic train system using minecarts and redstone circuits to let the minecarts travel between stations. It worked so far for lines in the near environment. But I noticed that it fails for longer distances, because the chunks are not loaded - therefore the minecart will stop and never come back, until the chunks were loaded by a passing player.

Train System Sketch

I am using a 1.9 Vanilla server, and I have full access to the server.

The Chunks don't need to be loaded when no player is on the server. But if there are players, the chunks containing the stations and the line should always be loaded when players are online.

How can I achieve this?

I am willing to install server mods, if necessary, but I only found a mod for MC 1.7. For some tutorials, I am confused about "Lazy Load chunks" and "entity chunks", and I do not know which type I need for my scenario. I also read that it might be possible using command block chains, but I do not know exactly how this works (and if it actually works for this scenario).


I do not understand why you think it is a duplicate. Once again, if the end station is set to a spawn point, then the whole track in the middle (the powered rail) won't work. So the linked question doesn't fit the problem situation.

  • On the topic of duplicates, the judgement is done by practicly random people. They are one with rather high reputation, but sometime they may make rushed judgements. You have stated why you think the marked duplicate doesn't answer your question. (It wouldn't hurt to make this even clearer.) Now it's up to the reopen queue to make the judgement. – DJ Pirtu Mar 9 '16 at 17:45
  • @Daniel-Marschall I would write an answer, but...well, the thing is that only constantly loaded chunks are spawn chunks, but you can extend this to also other chunks....force load others with activity from already loaded ones. Look at this video to see how you can do it: youtu.be/egqsmXD_oCM – Antoine Hejlík Mar 10 '16 at 14:00
  • The hopper chunk loader is probably one of the only solutions to your problem of unloaded Chunks. – Jason_ Mar 10 '16 at 17:32
  • The distance is 1000 blocks. Spawn chunks have to be within 128 blocks of the spawn. This clearly can't be solved with spawn chunks. Reopening. – ire_and_curses Mar 10 '16 at 19:47
  • I have done the hopper chunk loader concept, and I also made a 2 chunks wide border around that tracks (the youtube video says this allows entities to work.) a redstone clock 1000 blocks away will work, but mine carts don't come back. Any idea what I did wrong? – Daniel Marschall Mar 14 '16 at 16:00
3

What you could do is put them in your Spawn Chunks. Spawn Chunks are a 16×16 area of land that is stored in the memory therefore never unloads the Chunks.

Here redstone and commands should work as long as there is a player in the overworld. Meaning that they won't work if what you have is In the Neather or the End and no player is in the overworld.

No mods are needed for this to work and there are tutorials on how to find your Spawn Chunks.

You can also increase your spawn chunks using the hopper chunk loader:

You can find the edges of each chunk by hitting F3enter image description here

If you look under Block you will see Chunk. The first number after the in will tell you what chunk your in. Play with the other two to find the edge.

Edit: This video explains tbe last video as well as introduces a new concept that may work better.

  • But the problem is, that not only the redstone circuits of the endstation(s) has to be always loaded, but also the whole line, otherwise the minecart will be stuck in middle of nowhere, even if both end stations are loaded and functional. – Daniel Marschall Mar 9 '16 at 7:13
  • Chunk loaders have been asked for before and I believe there are some, but they may not work in 1.9. Many there is an alternative method to your problem other than chunk loaders. – Jason_ Mar 9 '16 at 7:34
  • I do not understand why you think it is a duplicate. Once again, if the end station is set to a spawn point, then the whole track in the middle (the powered rail) won't work. So the linked question doesn't fit the problem situation. – Daniel Marschall Mar 9 '16 at 16:00
  • @ire_and_curses No problem, I did notice this,but as commented by Antoine Hejlík there are ways to increase the spawn chunk limit with the hopper chunk loader so I didn't need to include it in my answer. – Jason_ Mar 10 '16 at 19:52
  • Will do. Work for the +1 – Jason_ Mar 10 '16 at 19:58
-1

press f3 and A at the same time, it will recode all chunks.if this does not work press fn, then press f3 and a at the same time.

  • But that is not an automatic solution. – Daniel Marschall Mar 9 '16 at 7:14
  • 1
    F3 and A reloads the chunks in the client, it can't force more chunks to be loaded by the server – Kcats Mar 9 '16 at 13:17

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.