/Editing
概要
TrainCartsは、現在プレイヤーが編集しているトロッコのエンティティを追跡します。多くのコマンドやアタッチメントエディタ での機能は、プレイヤーが選択している列車に対して動作を行います。TrainCartsでは列車の選択をする方法が複数あるので、このページではそれぞれの方法について解説していきます。
Placing down new minecarts
Whenever players place down new minecarts, or use the train spawn chest, the cart or train is automatically selected. After placing down a minecart players can therefore instantly use commands to configure it.
Sitting inside a minecart
When entering a train, players will automatically edit the cart they entered. When they leave the cart again, the cart remains selected.
Damaging while sneaking
When a cart is hit while sneaking, or slapped, the cart is not destroyed and instead the cart is selected. Similarly, when damaging a cart in survival, players can select carts.
Edit command
The edit command can also be used to select carts. This can be done by specifying the name of the train, or by looking at the cart to edit. A particle effect is displayed when a train is selected.
| Command: | /train edit |
|---|---|
| Permission: | must be a train owner |
| Command: | /train edit [name] |
|---|---|
| Permission: | must be a train owner |