/Editing
概要
TrainCartsは、現在プレイヤーが編集しているトロッコのエンティティを追跡します。多くのコマンドやアタッチメントエディタ での機能は、プレイヤーが選択している列車に対して動作を行います。TrainCartsでは列車の選択をする方法が複数あるので、このページではそれぞれの方法について解説していきます。
新しいトロッコを置く
プレイヤーが新しいトロッコを設置したり、トレインチェストを利用してスポーンさせたりすると、そのトロッコや列車は自動的に選択状態になります。プレイヤーがトロッコを配置した後は、すぐにコマンド無しでそれに変更を加えることが可能です。
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 |