Minecart Auto Pilot System Datapack

Minecart Auto Pilot System Datapack

219 Downloads

This is a data pack that makes the minecarts choose the most reasonable direction to travel in when there is a junction. Its decision is based on the destination coordinates you have chosen.

Basic Usage:

Turning on auto pilot:

1. Type this command into the chat "/trigger coh_auto_trigger set 1"

The default value is 0, which means off.

This will enable auto pilot for you only, other players need to set it to 1 also.

If you want to turn auto pilot off, just set it to 0.

Creating a station:

When you have chosen a location in the world to be your station, do the following:

1. Place a regular rail on the ground

2. Place an armor stand on top of it

3. Throw a book onto the base of the armor stand.

This armor stand will become a station, which should have a visual difference.

Writing a ticket:

You need tickets to tell the system where your destination is.

1. Throw any amount of books to the base of the station you want to write onto this ticket.

2. Pickup the tickets

3. Rename the books using an anvil to the name of the station so you don't mix them up.

4. Distribute this ticket (book) to your other stations.

Selecting a station before travel:

1. You only have to hold the ticket (book) of the target station in your main hand for a little in order for this to work.

2. You can put the ticket back to its chest (or any storage) afterwards. You don't need bring the ticket with you.

2. After you have held the target ticket, don't touch any other tickets with your main hand, otherwise it will change your destination.

Ride Away!

The minecart will now try to choose the most reasonable direction when you run into a junction.

Test your track!

Notice I kept using the word "reasonable", this system does not do a search of your whole track to determine which path to take, it guesses based on the general direction. When you have a new junction, always test the effected stations to make sure they still travel on the right path!

99% of the time you can slightly modify the junction to bend it to your will, but I'll have to leave that for you to figure out.

You didn't think this datapack is going to bring challenge, did you?

中文介紹

這個資料包會讓你的礦車碰到交叉路口的時候,依照你選擇的終點站,來選擇最合理的方向繼續前進。讓你可以搭礦車的時候離開電腦,也能輕鬆到達目的地!

介紹影片:

基本使用說明:

開啟自動駕駛:

一開始進入遊戲的時候,自動駕駛是關閉的。你要幫自己打開的話,輸入以下指令:

"/trigger coh_auto_trigger set 1"

這個只會幫你打開自動駕駛,其他玩家如果也想要自動駕駛的話,必須自己輸入此指令。

如果你想關掉自動駕駛,輸入以下指令:

"/trigger coh_auto_trigger set 0"

創造車站:

當你選好你想要的車站位置時,按照以下步驟:

1. 在地上放一個普通鐵軌

2. 在鐵軌上面放一個盔甲架

3. 丟一本書到盔甲架上

此時盔甲架應該會變樣,這就代表你車站成功完成了

製造車票:

要讓系統知道你想去哪裡,你必須有所謂的車票(其實就是書)

1. 丟任何數量的書到你的目標車站

2. 撿起你的車票(書)

3. 拿去鐵砧重新命名這些車票(避免你忘記是哪一個車站的)

4. 把這些車票放到所有你其他的車站去,保存好

選擇終點站:

選站很容易,你只要用你的主手拿一下車票即可。你拿一下之後,就可以把車票放回置物處了,你不需要把車票帶著走。

到達你的目的地之前,你要小心千萬不要拿起其他車票,不然你的終點站會改變。

出發!

然後你就可以出發了!你的礦車碰到交叉路口的時候應該會選擇最合理的方向行動。

記得測試你的軌道!

你有注意到我一直說選擇【合理】的方向嗎?因為這個資料包並不會真的搜索你的整個礦車網絡,以來判斷到底應該往哪裡走。他是用大概的方向下去猜的。當你需要做出一個新的交叉路口時,記得要測試,確保每個會被影響的車站都會被正確的選擇哦!

99%的時候如果有一個車站走錯方向,你應該只需要小小的變化一下就可以修復好了。但是修復方法就交給你們自己研究咯!

你沒想到這個資料包會帶來挑戰吧?