Difference between revisions of "TrainCarts/zh-hans"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "由Bergerkiller开发的Traincart插件(以下简称TC插件)涵盖了Minecraft中有关矿车的一切内容。其最初目的是为了将多个矿车编组,使其能...")
 
(Created page with "==列车==")
Line 9: Line 9:
 
由Bergerkiller开发的Traincart插件(以下简称TC插件)涵盖了Minecraft中有关矿车的一切内容。其最初目的是为了将多个矿车编组,使其能像现实中的火车一样运行。随着时间的推移,该插件逐渐衍生出更多功能,如控制牌、指令、列车属性等。同时,插件还提供了多个API接口,便于通过其它插件来实现更多DIY功能。
 
由Bergerkiller开发的Traincart插件(以下简称TC插件)涵盖了Minecraft中有关矿车的一切内容。其最初目的是为了将多个矿车编组,使其能像现实中的火车一样运行。随着时间的推移,该插件逐渐衍生出更多功能,如控制牌、指令、列车属性等。同时,插件还提供了多个API接口,便于通过其它插件来实现更多DIY功能。
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
==列车==
== Trains ==
 
</div>
 
  
 
<div lang="en" dir="ltr" class="mw-content-ltr">
 
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 10:34, 3 February 2021

Other languages:
Deutsch • ‎English • ‎Español • ‎Nederlands • ‎中文 • ‎中文(简体)‎ • ‎日本語 • ‎한국어
TrainCarts
TrainCarts train 1.gif
Minecarts redefined
Spigot: TrainCarts
GitHub: TrainCarts


由Bergerkiller开发的Traincart插件(以下简称TC插件)涵盖了Minecraft中有关矿车的一切内容。其最初目的是为了将多个矿车编组,使其能像现实中的火车一样运行。随着时间的推移,该插件逐渐衍生出更多功能,如控制牌、指令、列车属性等。同时,插件还提供了多个API接口,便于通过其它插件来实现更多DIY功能。

列车

The first thing you will notice is that you can now connect carts together to form infinitely long trains. Every cart in this train is called a member, all members combined are called a group. Every member communicates with the group, so when the front cart hits a block, it stops the entire group. When someone pushes a cart, this pushing force is shared among all members. Therefore, long trains are less responsive than short trains.

New physics

Trains can travel on top of pressure plates and alongside ladders, and also upside-down below vanilla rails placed on a ceiling.

Signs

Loads of different signs are available to automate stations, eject trains, put players in trains or update train configuration.

Command

The plugin has lots of commands you can use to alter the behavior of trains and minecarts.

Train Spawn Chest

A special item allows for trains to be picked up and spawned.

Path finding

Trains can have a destination set, after which switcher signs will automatically switch the track to lead the train towards it with the shortest route possible. This can be used to automate a large train network, sending trains to different stations fully automatically. It is also possible to configure a list of destinations the train should visit and have the train automatically go from one destination to the next.

Configuration

TrainCarts can be configured in the config.yml file. All setting nodes have a header to help you understand what that particular node adjusts. Other than that, you can set the default train properties (properties applied to new trains) in the DefaultTrainProperties.yml file. The nodes should speak for themselves. Try not to touch the other files, as it can cause corrupted save data, or the plugin getting out of sync. Deleting the files should re-set TrainCarts completely, may one of the files get corrupted. The plugin automatically generates all configuration needed.

Attachments

Permissions

Like in all plugins that use BKCommonLib as a base, all permissions can be found in PermissionDefaults.yml in the plugin folder. There they are all listed together with a description and permission default, which you can alter as well.

Performance

Some features by this plugin may result in server or client lag. There are ways to prevent them.

API and Add-ons

TrainCarts has a flexible API which allows other plugins to implement custom track, signs, attachments and more.

  • TC-Coasters: Adds smooth rollercoaster track to TrainCarts

Useful Links

Traincarts Spigot Jenkins GitHub

BKCommonLib Spigot Jenkins GitHub

TC Coasters Spigot Jenkins GitHub

Depreciated Addons

(No longer supported in current versions of Traincarts)

ActionBlocks, added block-based systems to the game. They were dumbed-down versions of the sign systems mentioned above.