Train - ShadowJonathan/ByteCart GitHub Wiki
###Definition A train is a group of carts close enough one to each other to be considered as a whole for ByteCart devices. The first cart of a train must have a ticket with the destination address of the train, with the train parameter set. The carts following it closely will go to same destination.
Note : ByteCart does not create a physical link between carts in a train like in plugin Train Carts. Carts are not tight together. A ByteCart train is just a flow of carts with a special mark in the heading cart.
Maximum interval between 2 carts of the same train is called train time slot.
###Compatibility with Train Carts You can use the trains of Train Carts in a ByteCart network. Train Carts will create a physical link between cart, but this is completely transparent for ByteCart.
###Building a train ####Without Train Carts As it is not easy to place several carts on a track and to make to start in the same direction, ByteCart provides a sign BC7001 to help you to build and start a train. Use a chained line of BC7001 start/stop sign, place the carts on it while in "stop" position. The 5-cart train station is a good illustration of how to use the BC7001 sign.
BC7001 chains may be used to stop the train when needed, for example before entering the network, while waiting the extinction of the "red light" signal given by BC9001.
####With Train Carts Just use the features of Train Carts to build a train. Generally, use Train Carts for everything concerning train except pathfinding.
####Declaring trains The destination address must be contained in the first cart, and the train parameter must be set. You can use the commands mego or sendto with the option "train" following the address to do this automatically. BC7010 and BC7011 signs accept also the "train" parameter.
###Train features ByteCart signs have full compatibility with trains:
-
BC7001 sign does not stop wagons of a train if the head has not been stopped.
-
BC7011 puts a ticket in the inventory of the first cart, leaving other unchanged.
-
BC8010, BC8011 and the BC90XX serie are compatible with trains.
-
Anti-collision features are strongly recommanded in multi-player or multi-train environment.