CC Rail
Adds CC tweaked integration into Railcraft Reborn to allow new and advanced rail automation using computers.
截图
介绍
CC Rail enables you to control certan Railcraft Reborn blocks with CC: Tweeked enabling more advanced routing and control.
Features
Routing Detector
You can now view change the data stored in the routing book (NOTE: You need to insert a book that has been saved before. you can tell that this has happened as it will have the username in the tooltip)
Methods :
- table getRoutes() – Returns a table with the routing data in the book
- bool clearRoutes() – Clears the book of routing information
- bool saveRoutes(table) – Updates the book with the new routing data
Routing Switch
Similar to the routing detector you can view change the data stored in the routing book (NOTE: You need to insert a book that has been saved before. you can tell that this has happened as it will have the username in the tooltip)
Methods :
- table getRoutes() – Returns a table with the routing data in the book
- bool clearRoutes() – Clears the book of routing information
- bool saveRoutes(table) – Updates the book with the new routing data
Routing Track
This enables you to change the ticket data stored in the routing track (NOTE: You need to have a golden ticket stored in the track for this to work)
Methods :
- string getDestination() – Returns the destination stored in the ticket
- bool setDestination(string) – Sets the destination on the ticket
Train Reader
The train reader is a new block added by this mod. It enables you to read data on a multi cart train when it passes by.
Events:
- train_read_event – This is fired when a train passes by. Once you receive this event you can then used the getCarts() or getPassengers() methods to read the data from the train.
Methods:
- table getCarts() – This returns all the carts that made up the last train that was read
- table getPassengers() – This returns all the entitys that where on the train
常见问题
CC Rail 支持哪些 Minecraft 版本?
CC Rail 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
CC Rail 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分