TrainCarts/Signs/BlockChanger [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "'''二行目''':blockchanger")
(Created page with "'''三行目と四行目''':設定するブロック。アイテムフォーマットのページもご覧ください。")
Line 16: Line 16:
'''二行目''':blockchanger
'''二行目''':blockchanger


<div lang="en" dir="ltr" class="mw-content-ltr">
'''三行目と四行目''':設定するブロック。[[Special:MyLanguage/TrainCarts/Signs/Items|アイテムフォーマットのページ]]もご覧ください。
'''Third and Fourth lines:''' The block types to set (see: [[Special:MyLanguage/TrainCarts/Signs/Items|Item format]])
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 06:26, 16 June 2026

Other languages:
BlockChangerサインはトロッコに載せられたブロックを変えるために使われます。

概要

BlockChangerサインは、トロッコに載っているブロックの表示を他のものに変えます。トロッコに載っているブロックというのは、たとえばチェスト付きトロッコにおけるチェスト、ホッパー付きトロッコにおけるホッパーなどです。このサインを用いれば、そのブロックを別のものに変更できます。すべてのトロッコがこのサインに対応しており、変更したブロックはサーバーを再起動しても維持されます。


記法

Signtemplate.png
[train]
blockchanger
2xwood;3xstone


一行目:列車全体に適用するには[train]を、ひとつのトロッコに適用するには[cart]です。

二行目:blockchanger

三行目と四行目:設定するブロック。アイテムフォーマットのページもご覧ください。

The types set repeat: in the above example it repeats every 5 minecarts. The first two minecarts get a wooden block, the next three minecarts a stone block. Not specifying an amount is seen as infinite - which means that the specified block type counts for all carts. The following example shows a train set to use a diamond block for the first cart, a gold block for the next two carts, and empty (air) for all the remaining carts:

Signtemplate.png
[train]
blockchanger
1xdiamondblock
2xgoldblock;air


If you need more advanced settings, you can combine a [cart] blockchanger with a Switcher to individually set the block type based on per-cart properties. If you need to specify a lot of block types, you can use Item Shortcuts to define a lot of block types at once.