カスタムサーバー/Bukkit/TrainCarts/Signs

提供: Minecraft Wiki
移動先: 案内検索
このページの内容は、Mojang StudiosまたはMinecraft Wikiのサポート対象外です。
このModのページは、Modの作者によってサポートまたはメンテナンスされていません。
このページおよび下位ページの内容は、不完全・不正確である場合があります。

アクション看板[編集 | ソースを編集]

A first glance at the sign format

看板を使うことで列車に特殊な効果を起こすことができる。看板を機能させるためには、1行目に [train] または [cart] を記述する必要があり、またレッドストーン入力を与える必要がある。[!train] や [!cart] のように「!」を先頭に記述すると、入力された信号を反転させることができる。

また、[+train] や [+cart] のように、「+」を先頭に記述することで、レッドストーン入力に依存せず常にアクティブにすることもできる。This is especially useful when you use the redstone statement in the switcher signs.

[train]が記述されているとき、その看板は上の連結車両全体に効果を起こす。[cart]が記述されているとき、上の車両のみに効果を起こす。

Certain signs toggle a lever as well, you can use this output to change the outcome of other signs. For example, you can combine an unpowered track switcher with a destroy sign to remove carts or trains with certain characteristics.

Since v1.66 you can now set what directions trigger the sign, by adding a : after train or cart followed up by the direction. For example, [!train:lr] will invert redstone power, while being triggered by trains coming from the left and right. For a full list of directions, see here.

Remote Control[編集 | ソースを編集]

A few sign systems support remote control: the ability to control trains by name. You then use the [train <name>] format, or the shorter alias [t <name>]. Remotely controlled signs only respond to redstone changes, thus where you place them is not important. So far the property, destination, destroy, eject and setblock sign systems support remote control.

Remote control can also affect multiple trains. Just like the tag system, remote control uses *-signs to identify the trains to affect. For example, the following remote control sign will set the destination to home for all intercity trains:

Blank Sign.png
[train Intercity*]
property
destination
interhome

the setblock sign works too!

You can use this to recall all your trains easily. If you use tags to navigate trains, you can also add a tag saying that the train should return. Remote control signs only respond to redstone changes.

Placement[編集 | ソースを編集]

Empty minecarts are blocked
Trains are switched left and right using a 1:1 counter

Each sign targets a certain track piece above. Signs attached to walls take the block they are attached to and look up until they find a piece of track. That track is then used for that sign. Sign posts look up until they find a piece of track. There may not be blocks without signs between the bottom sign and the tracks.

You can make a pillar of blocks below a single track piece and attach signs to it, to make a bundle of actions on a single track piece. Trains look down when they enter a new track piece to check for signs, so make sure you put the output signs above the signs that use this output for correct results.

For most signs the sign direction influences what happens:

  • The train has to face the text on the sign to make the sign respond
  • Signs with the same alignment as the tracks (faces to or away from the tracks) always respond
  • The train is spawned in the direction the sign faces

Types[編集 | ソースを編集]

  • Destroyer - destroy trains
  • Ejector - eject trains (let passengers exit)
  • Enter - lets nearby players and/or mobs enter the train
  • Blocker - blocks trains coming from a certain direction
  • Station - stop and launch trains
  • Launcher - launch or brake trains to start moving at a desired speed
  • Property - set properties on the train such as tags, destinations and owners
  • Block Changer - change the block types displayed in a minecart
  • Switcher - switch levers and rails based on properties on the train
  • Detector - detect trains on a set region of rails
  • Transfer - transfer items between trains and chests/furnaces/dispensers
  • Crafter - crafts items inside the storage minecarts of a train using a nearby workbench
  • Elevator - teleports trains including passengers up and down to another elevator
  • Teleporter - teleport trains including passengers (requires MyWorlds)
  • Spawner - spawn an entire train, cart types can be set
  • Trigger - display train information and a countdown of the arrival time of trains on signs (requires SignLink)
  • Destination - marks a destination for the path finding and sets the next destination for the train
  • Announce - sends a message to players in the cart and/or train above
  • Waiter - waits the train until the track is clear of other trains
  • Effect - plays a particle or sound effect at the minecart, train or sign
  • Sound - plays a named sound effect
  • Ticket - let passengers pay for a ride (requires Essentials Economy)
  • Skip - skips execution of signs up ahead based on statements
  • Mutex - acts as a cuboid barrier in which only a single train is ever allowed to be
  • Animator - play an animation configured in the train's attachments

To-do[編集 | ソースを編集]

Add 'chunks' to signs to replace 'keepchunksloaded'.

Permissions[編集 | ソースを編集]

Each sign has a separate build permission. Below the permission nodes for the above sign types:

Sign Permission node Default
destructor train.build.destructor OP
ejector train.build.ejector OP
station train.build.station OP
property train.build.property OP
switcher train.build.switcher OP
transfer train.build.collector OP
train.build.depositor
teleport train.build.teleport OP
spawner train.build.spawner OP
trigger train.build.trigger OP
destination train.build.destination OP
waiter train.build.waiter OP
crafter train.build.crafter OP
elevator train.build.elevator OP