TrainCarts/Train Spawn Chest [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "TrainCarts/トレインチェスト")
 
(Created page with "{{Command|train chest give bergerkiller --finite --locked --train Intercity01|使い切りかつロック済みの『Intercity01』という列車をbergerkillerさんにあげる|train.command.chest.create}}")
 
(16 intermediate revisions by the same user not shown)
Line 2: Line 2:
== 概要 ==
== 概要 ==


  <div lang="en" dir="ltr" class="mw-content-ltr">
  [[File:Train_Spawn_Chest_Small.gif|thumb|トレインチェストは列車をを収納し、またスポーンさせることができます。|link=File:Train_Spawn_Chest.gif]]
[[File:Train_Spawn_Chest_Small.gif|thumb|Train spawn chest is used to pick up a train and spawn it again|link=File:Train_Spawn_Chest.gif]]
'''トレインチェスト'''は、列車の情報を保持できる特殊アイテムです。これを持って列車を右クリックすると、アイテム内に列車が格納されます。その後、レールの上でまた右クリックすると、先程格納した列車がスポーンします。その列車に関するあらゆるプロパティは保存されます。
The '''Train spawn chest''' is a special item that can hold train information. While holding the item players can right-click on trains to ''suck up'' the train into the item. Then, by right-clicking on rails, players can spawn the train again. All train properties are preserved.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
列車をスポーンさせるとき、他の列車が近くにあると連結します。また、スポーン時の車両の向きはプレイヤーの向いている方向によって決まります。
Spawning on rails close to another train will add additional connected carts to that train. The orientation of looking at the rails changes in what orientation the new train is spawned.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
== 権限とセキュリティ ==
== Permissions & Security ==
スポーンチェストはチェスト付きトロッコを収納することで、アイテム増殖バグのように、あらゆるアイテムを複製するのに使えます。そのため、サバイバルでは'''train.command.chest.use'''権限を剥奪するなど、権限を適切に管理してください。また、'''train.spawner.storage''''''train.spawner.hopper'''の権限はアイテムを内包した列車をスポーンさせられないようにすることもできます。
The train spawn chest can be used to duplicate items by picking up a train with chests containing items and spawning it again multiple times. Make sure to revoke the '''train.command.chest.use''' permission so that if a spawn chest item falls in the hands of survival players they cannot do this. Alternatively, deny the '''train.spawner.storage''' and '''train.spawner.hopper''' permissions so that players cannot spawn trains that contain item storage.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
== つかいかた ==
== Usage ==
トレインチェストを入手するには、このコマンドを使ってください。
To get the item, you need to use the following command:
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
{{Command|train chest|プレイヤーに空っぽのトレインチェストをあげる|train.command.chest.create}}
{{Command|train chest|Give the player a new empty train chest item|train.command.chest.create}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
既存の列車を右クリックすることでトレインチェストに列車を格納でき、またレールをクリックすることでスポーンさせることができます。
You can then right-click on rails to spawn a train there, or right-click existing trains to suck them into the item.
この動作のためには'''train.command.chest.use'''権限が必要です。
For this you also need the '''train.command.chest.use''' permission.
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
=== スポーンパターン ===
=== Spawn Pattern ===
[[Special:MyLanguage/TrainCarts/Signs/Spawner|Spawnサイン]]と同じように、[[Special:MyLanguage/TrainCarts/Spawning|列車のスポーンパターン]]を記述してトレインチェストに列車を直接入れ込むことができます。
You can also specify a [[Special:MyLanguage/TrainCarts/Spawning|train spawn pattern]] for the train to put in the item, the same pattern as used on the [[Special:MyLanguage/TrainCarts/Signs/Spawner|spawn sign]]:
</div>


  <div lang="en" dir="ltr" class="mw-content-ltr">
  {{Command|train chest mytrain|新しいトレインチェストに名前付きで保存された列車を格納し、プレイヤーにあげる|train.command.chest.create}}
{{Command|train chest mytrain|Give the player a new empty train chest item with a pre-configured train inside|train.command.chest.create}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
トレインチェストの中の列車を更新するには、アイテムを手に持った状態でコマンドを使います。
To update the pattern stored in the spawn chest, hold the item to update and use:
</div>


  <div lang="en" dir="ltr" class="mw-content-ltr">
  {{Command|train chest set mytrain|[[Special:MyLanguage/TrainCarts/Spawning|スポーンパターン]]でトレインチェストの中身を更新する|train.command.chest.create}}
{{Command|train chest set mytrain|Put a new train inside the item, [[Special:MyLanguage/TrainCarts/Spawning|spawn pattern syntax]]|train.command.chest.create}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
=== 特殊なコマンド ===
=== Special Commands ===
手にアイテムを持った状態で、コマンドを実行してください。
Hold the item to update and use:
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
{{Command|train chest clear|トレインチェストを空っぽにする|train.command.chest.create}}
{{Command|train chest clear|Makes the item empty|train.command.chest.create}}
{{Command|train chest lock|列車を収納できないようにトレインチェストをロックする|train.command.chest.create}}
{{Command|train chest lock|Locks the item, preventing it from picking up trains when clicked|train.command.chest.create}}
{{Command|train chest unlock|ロックされたトレインチェストをアンロックする|train.command.chest.create}}
{{Command|train chest unlock|Unlocks the item so it can pick up trains again|train.command.chest.create}}
{{Command|train chest name My Train|トレインチェストを人間でも判別しやすいように名前をつける|train.command.chest.create}}
{{Command|train chest name My Train|Gives the item a human-readable name to identify it|train.command.chest.create}}
{{Command|train chest finite yes|トレインチェストに一回の回数制限を設定する|train.command.chest.create}}
{{Command|train chest finite yes|Makes the chest item have finite (1) or infinite number of spawns|train.command.chest.create}}
{{Command|train chest speed 2.0|スポーンさせた列車を自動で2ブロック毎ティックで走らせる|train.command.chest.create}}
{{Command|train chest speed 2.0|Makes the chest item spawn the train with an initial speed of 2 blocks/tick|train.command.chest.create}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
=== 他のプレイヤーにあげる ===
=== Giving to other players ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
他のプレイヤーに対して、設定したトレインチェストをあげることができます。@pセレクタやコマンドブロックを用いて実行することもできます。
You can give a completely configured item to other players. This command can also be executed from command blocks, and supports the @p syntax for that purpose.
</div>


  <div lang="en" dir="ltr" class="mw-content-ltr">
  {{Command|train chest give PlayerName|トレインチェストを指定したプレイヤーにあげる|train.command.chest.create}}
{{Command|train chest give PlayerName|Gives a train chest item to a player|train.command.chest.create}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
このコマンドは先述のオプションをいろいろくっつけることができます。
This command supports all the same updating options but as flags.
</div>


  <div lang="en" dir="ltr" class="mw-content-ltr">
  {{Command|train chest give bergerkiller --finite --locked --train Intercity01|使い切りかつロック済みの『Intercity01』という列車をbergerkillerさんにあげる|train.command.chest.create}}
{{Command|train chest give bergerkiller --finite --locked --train Intercity01|Gives a single-use spawn chest that spawns the Intercity01 train. Can not be used to pick up trains.|train.command.chest.create}}
</div>

Latest revision as of 02:07, 17 June 2026

Other languages:

概要

トレインチェストは列車をを収納し、またスポーンさせることができます。

トレインチェストは、列車の情報を保持できる特殊アイテムです。これを持って列車を右クリックすると、アイテム内に列車が格納されます。その後、レールの上でまた右クリックすると、先程格納した列車がスポーンします。その列車に関するあらゆるプロパティは保存されます。

列車をスポーンさせるとき、他の列車が近くにあると連結します。また、スポーン時の車両の向きはプレイヤーの向いている方向によって決まります。

権限とセキュリティ

スポーンチェストはチェスト付きトロッコを収納することで、アイテム増殖バグのように、あらゆるアイテムを複製するのに使えます。そのため、サバイバルではtrain.command.chest.use権限を剥奪するなど、権限を適切に管理してください。また、train.spawner.storagetrain.spawner.hopperの権限はアイテムを内包した列車をスポーンさせられないようにすることもできます。

つかいかた

トレインチェストを入手するには、このコマンドを使ってください。

プレイヤーに空っぽのトレインチェストをあげる
Command: /train chest
Permission: train.command.chest.create


既存の列車を右クリックすることでトレインチェストに列車を格納でき、またレールをクリックすることでスポーンさせることができます。 この動作のためにはtrain.command.chest.use権限が必要です。


スポーンパターン

Spawnサインと同じように、列車のスポーンパターンを記述してトレインチェストに列車を直接入れ込むことができます。


新しいトレインチェストに名前付きで保存された列車を格納し、プレイヤーにあげる
Command: /train chest mytrain
Permission: train.command.chest.create


トレインチェストの中の列車を更新するには、アイテムを手に持った状態でコマンドを使います。


スポーンパターンでトレインチェストの中身を更新する
Command: /train chest set mytrain
Permission: train.command.chest.create


特殊なコマンド

手にアイテムを持った状態で、コマンドを実行してください。

トレインチェストを空っぽにする
Command: /train chest clear
Permission: train.command.chest.create


列車を収納できないようにトレインチェストをロックする
Command: /train chest lock
Permission: train.command.chest.create


ロックされたトレインチェストをアンロックする
Command: /train chest unlock
Permission: train.command.chest.create


トレインチェストを人間でも判別しやすいように名前をつける
Command: /train chest name My Train
Permission: train.command.chest.create


トレインチェストに一回の回数制限を設定する
Command: /train chest finite yes
Permission: train.command.chest.create


スポーンさせた列車を自動で2ブロック毎ティックで走らせる
Command: /train chest speed 2.0
Permission: train.command.chest.create


他のプレイヤーにあげる

他のプレイヤーに対して、設定したトレインチェストをあげることができます。@pセレクタやコマンドブロックを用いて実行することもできます。


トレインチェストを指定したプレイヤーにあげる
Command: /train chest give PlayerName
Permission: train.command.chest.create


このコマンドは先述のオプションをいろいろくっつけることができます。


使い切りかつロック済みの『Intercity01』という列車をbergerkillerさんにあげる
Command: /train chest give bergerkiller --finite --locked --train Intercity01
Permission: train.command.chest.create