Difference between revisions of "TrainCarts/zh-hans"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "列车可以在压力板上和梯子侧面行驶,也可以在方块下方放置的轨道上倒悬运行。")
Line 37: Line 37:
 
==列车生成箱==
 
==列车生成箱==
  
一个特殊的物品能让整列车被当作一个物品捡起或生成。
+
一个特殊的物品能让整列车被当作一个物品捡起或放置。
  
 
<div lang="en" dir="ltr" class="mw-content-ltr">
 
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 17:04, 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功能。

列车

首先,通过TC插件可以将多辆矿车连接在一起,编组为一列无限长度的火车。这列车中的每节车厢在插件中被定义为一个“成员(Member)”,所有成员组成的列车称之为“组(Group)”,每个成员都会和组内的其它成员共享运行状态和信息,所以当第一节矿车撞到障碍物时,组内的所有其它矿车都会停下来。同样,当推动整列火车时,由于外力需要克服整列火车的摩擦力,所以长编组列车的反应速度比短编组慢。

新的物理特性

列车可以在压力板上方和梯子侧面行驶,也可以在方块下方放置的轨道上倒悬运行。

» Physical

控制牌

大量不同功能的控制牌可以实现车站的自动控制,清空列车,让玩家进入车厢或在运行中改变列车的各项属性。

指令

插件同时提供多种指令让玩家可以实时调整整列矿车或单节矿车的运行属性。

列车生成箱

一个特殊的物品能让整列车被当作一个物品捡起或放置。

路径查找

列车可以设置一个目的地,之后道岔控制牌会根据目的地自动切换道岔,以最短的路径引导列车驶向目的地。通过此功能可实现一个大型铁路网的自动化控制,将列车自动发送至不同目的地。同时,通过维护经由也可以让列车自动从一个目的地前往下一个目的地,实现路径点功能。

设置

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.