Difference between revisions of "TrainCarts/Signs/BlockChanger/zh-cn"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "« 返回")
Line 2: Line 2:
 
[[Special:MyLanguage/TrainCarts/Signs|« 返回]]
 
[[Special:MyLanguage/TrainCarts/Signs|« 返回]]
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
[[Image:TCBlockChanger.png|thumb|方块改变器用于改变矿车中显示的方块。]]
[[Image:TCBlockChanger.png|thumb|Block Changer used to change the blocks in minecarts]]
 
</div>
 
  
 
<div lang="en" dir="ltr" class="mw-content-ltr">
 
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 00:13, 5 September 2024

Other languages:
English • ‎中文(中国大陆)‎

« 返回

方块改变器用于改变矿车中显示的方块。

Introduction

The Block Changer sign can change the types of blocks displayed in a minecart. For example, a storage minecart shows a chest - here the displayed block type is a chest. You can change the type of block from a chest to something else using this sign. All minecart types support this sign, and the displayed block types are persistent through server restarts.


Format

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


First line: [train] to work on the entire train, [cart] to work on a single cart

Second line: 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:

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.