Difference between revisions of "Translations:TrainCarts/Commands/45/zh-cn"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "<pre>/train collision mobs enter /train collision player push /train collision train cancel /train collision block cancel</pre> 设置碰撞模式。可以设置为生物于...")
 
Line 1: Line 1:
 +
可以设置列车的碰撞模式,如以下示例:
 
<pre>/train collision mobs enter
 
<pre>/train collision mobs enter
 
/train collision player push
 
/train collision player push
 
/train collision train cancel
 
/train collision train cancel
 
/train collision block cancel</pre>
 
/train collision block cancel</pre>
设置碰撞模式。可以设置为生物于列车相撞时生物会进入列车,或禁用列车链接,还可以设置为与玩家发生碰撞时将玩家推到一边。若禁用列车与方块碰撞,则列车将不会再检查与方块的碰撞,这有助于提高服务器性能。
+
示例中分别表示设置生物与列车相撞时生物会进入列车,列车与玩家发生碰撞时会将玩家推到一边、禁用列车链接,若禁用列车与方块碰撞,则列车将不会再检查与方块的碰撞,这有助于提高服务器性能。

Revision as of 10:38, 20 September 2024

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (TrainCarts/Commands)
<pre>/train collision mobs enter
/train collision player push
/train collision train cancel
/train collision block cancel</pre>
Set collision rules. This can be used to allow mobs to enter the train when they collide with it, disable trains linking or push players aside when they are in the way. Setting collision with blocks to cancel will make the train no longer check for collisions with blocks, which can help with performance.

可以设置列车的碰撞模式,如以下示例:

/train collision mobs enter
/train collision player push
/train collision train cancel
/train collision block cancel

示例中分别表示设置生物与列车相撞时生物会进入列车,列车与玩家发生碰撞时会将玩家推到一边、禁用列车链接,若禁用列车与方块碰撞,则列车将不会再检查与方块的碰撞,这有助于提高服务器性能。