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

From BergerHealer Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
/train collision train cancel
 
/train collision train cancel
 
/train collision block cancel</pre>
 
/train collision block cancel</pre>
示例中分别表示设置生物与列车相撞时生物会进入列车,列车与玩家发生碰撞时会将玩家推到一边、禁用列车链接,若禁用列车与方块碰撞,则列车将不会再检查与方块的碰撞,这有助于提高服务器性能。
+
1. 设置生物与列车相撞时生物会进入列车。<br>
 +
2. 列车与玩家发生碰撞时会将玩家推到一边。<br>
 +
3. 禁用列车链接。<br>
 +
4. 禁用列车与方块碰撞。列车将不会再检查与方块的碰撞,这有助于提高服务器性能。

Latest revision as of 10:40, 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

1. 设置生物与列车相撞时生物会进入列车。
2. 列车与玩家发生碰撞时会将玩家推到一边。
3. 禁用列车链接。
4. 禁用列车与方块碰撞。列车将不会再检查与方块的碰撞,这有助于提高服务器性能。