Difference between revisions of "TrainCarts/Signs/BlockChanger/zh-cn"
(Created page with "== 语法 ==") |
(Created page with "'''第一行:'''一整列车使用 [train] ,单个矿车使用 [cart]。") |
||
Line 14: | Line 14: | ||
− | + | '''第一行:'''一整列车使用 [train] ,单个矿车使用 [cart]。 | |
− | ''' | ||
− | |||
− | + | '''第二行:'''blockchanger | |
− | ''' | ||
− | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |
Revision as of 00:58, 5 September 2024
介绍
方块更改器可以更改矿车中显示的方块类型。比如,储存矿车内显示的是一个箱子 - 那么显示的方块类型就是箱子。你可以通过这个控制牌将箱子修改为其他类型的方块。所有矿车类型都支持这个控制牌,显示的方块类型不会因服务器重启而消失。
语法
第一行:一整列车使用 [train] ,单个矿车使用 [cart]。
第二行:blockchanger
Third and Fourth lines: The block types to set (see: Item format)
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:
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.