Template:BlockTileEntity
告示牌(Signs)是可显示文本的非固体方块。
获取
告示牌可以用任何工具或徒手破坏,但使用斧是最快的。 Template:Breaking row
告示牌会在附着方块移动、移除或被破坏的情况下被破坏并掉落自身。
合成
告示牌使用木棍与木板合成。
| 材料 | 合成配方 |
|---|---|
| 任意Wood Planks + 木棍 |
自然生成
告示牌会在雪屋自然生成。
用途
此条目的(部分)内容需要翻译。
你可以帮助我们来翻译此条目,但请勿使用机器翻译。
告示牌可被用作显示文本。
- 放置
- 告示牌必须放置在方块顶端或侧面(包括栅栏、玻璃、铁轨和其它告示牌之类的非固体方块)。要放置一个告示牌,对着要放置告示牌的方块使用一个告示牌物品,然后输入所需文本(可以为空),然后点击“完成”按钮。要把告示牌放在可交互的方块(如箱子、音符盒等)上,在放置告示牌时按下使用键和潜行键。
- 放置在方块顶部的告示牌会竖立在一根短标杆上,朝向放置此告示牌的玩家,可朝向16个不同的方向。放置在方块侧面的告示牌会简单地浮在那里,即使方块不和告示牌接触。
- 文字
- 当在输入文字时,可以输入4行文字。要在每一行间切换,玩家可以按下回车键或上/下箭头键。当前选择的行在行的开头和行的末尾会分别有一个大于号和小于号(>和<)选择出来。
- While editing, typing and backspacing occurs only at the end of a line. It is impossible to insert text in the middle of an already typed line - the player must delete and reenter text in order to make edits.
- After the editing window is closed, the sign's text can only be changed by removing and replacing it, removing the text in the process. Copy and Paste cannot be performed, and no more than the basic/shifted characters on your keyboard may be entered. The Xbox 360 Edition supports both the Xbox 360 on-screen keyboard and direct editing of text using a USB keyboard or controller chatpad.
- In the PC edition, you can use Ctrl + pick block to copy an already placed sign and place it down again with the same text shown as the original.
- With a map editor, the color of sign text can be changed with formatting codes.
- Signs can be created with JSON text which allows complex formatting (colors, bold, italic, etc.), hover and click events, localized translation (for Minecraft technical terms, like "Redstone Repeater", otherwise translations must be provided in language files in resource packs), and the incorporation of scoreboard values into text. Use the
/setblockcommand to create JSON signs and the/blockdatacommand to alter JSON signs.
- 大便~~~~~~~
- Example:
setblock ~ ~1 ~ standing_sign 0 replace {Text2:"{text:\"line2\",color:blue}"}
- Example:
- Signs can post the success count of JSON text hover and click events to scoreboard objectives. The objectives to be used can be specified by running the
/statscommand or by modifying the sign's NBT data directly with the/blockdatacommand.
- Interaction
- Signs act as though they have a use action, so you are unable to place blocks or use items while the cursor is pointed at them without sneaking.
- Signs cannot be moved by pistons.
- Signs have no collision mask (they are completely non-solid), so items and mobs can move through sign blocks. Other blocks (including other signs) can be placed on any edge of a sign.
- Water and lava will flow around signs. Lava can create fire in air blocks next to signs as if the signs were flammable, but the signs will not burn up (and can't be burned by other methods either, except in Pocket Edition).
数据值
告示牌的状态由其ID、方块数据值和方块实体值所确定。告示牌也有在将来的版本中替代方块数据值的方块状态。
ID
告示牌的ID由其是附着在方块上还是站立决定:
告示牌/ID
方块数据
参见:数据值
告示牌的方块数据决定其朝向:
- 站立
| 字节 | 描述 |
|---|---|
| 0x1 0x2 0x4 0x8 |
一个4比特的字段存储了一个0到15的值,用于指定该站立着的告示牌面对的方向:
|
- 依附方块
| 字节 | 描述 |
|---|---|
| 0x1 0x2 0x4 |
一个3比特的字段存储了一个2到5的值,用于指定该依附着方块的告示牌面对的方向:
|
| 0x8 | (未使用) |
方块实体
参见:区块格式
告示牌有关系着其额外数据的方块实体值。告示牌的方块实体ID是Sign。
- 方块实体数据
- 方块实体共通标签
- back_text:告示牌背面的文字信息。
- front_text:告示牌正面的文字信息。
- is_waxed:表示告示牌是否被涂蜡。涂蜡后告示牌的文字不能被修改,但允许告示牌文本中的命令执行。
基岩版:
方块状态
参见:方块状态
告示牌
| 名称 | 默认值 | 接受值 | 描述 |
|---|---|---|---|
| rotation | 0
| 0 | 方块朝向南 |
1 | 方块朝向西南偏南 | ||
2 | 方块朝向西南 | ||
3 | 方块朝向西南偏西 | ||
4 | 方块朝向西 | ||
5 | 方块朝向西北偏西 | ||
6 | 方块朝向西北 | ||
7 | 方块朝向西北偏北 | ||
8 | 方块朝向北 | ||
9 | 方块朝向东北偏北 | ||
10 | 方块朝向东北 | ||
11 | 方块朝向东北偏东 | ||
12 | 方块朝向东 | ||
13 | 方块朝向东南偏东 | ||
14 | 方块朝向东南 | ||
15 | 方块朝向东南偏南 | ||
| lit | false | truefalse | 此告示牌的文本是否发光。 |
| waterlogged | false | truefalse | 告示牌是否含水。 |
墙上的告示牌
| 名称 | 默认值 | 接受值 | 描述 |
|---|---|---|---|
| facing | north | northsoutheastwest | 方块朝向的方向。例如,一个依附着它西边的方块,其朝向的方向为东边。 与玩家放置方块时的朝向相反。 |
| lit | false | truefalse | 此告示牌的文本是否发光。 |
| waterlogged | false | truefalse | 告示牌是否含水。 |
悬挂式告示牌
| 名称 | 默认值 | 接受值 | 描述 |
|---|---|---|---|
| attached | false | truefalse | 此悬挂式告示牌的锁链是否系于一点。 |
| rotation | 0
| 0 | 方块朝向南 |
1 | 方块朝向西南偏南 | ||
2 | 方块朝向西南 | ||
3 | 方块朝向西南偏西 | ||
4 | 方块朝向西 | ||
5 | 方块朝向西北偏西 | ||
6 | 方块朝向西北 | ||
7 | 方块朝向西北偏北 | ||
8 | 方块朝向北 | ||
9 | 方块朝向东北偏北 | ||
10 | 方块朝向东北 | ||
11 | 方块朝向东北偏东 | ||
12 | 方块朝向东 | ||
13 | 方块朝向东南偏东 | ||
14 | 方块朝向东南 | ||
15 | 方块朝向东南偏南 | ||
| waterlogged | false | truefalse | 悬挂式告示牌是否含水。 |
墙上的悬挂式告示牌
| 名称 | 默认值 | 接受值 | 描述 |
|---|---|---|---|
| facing | north | northsoutheastwest | 方块朝向的方向。例如,一个依附着它西边的方块,其朝向的方向为东边。 与玩家放置方块时的朝向相反。 |
| waterlogged | false | truefalse | 墙上的悬挂式告示牌是否含水。 |
基岩版:
站立的告示牌
| 名称 | 对应的附加值位 | 默认值 | 接受值 | 附加值位的值 | 描述 |
|---|---|---|---|---|---|
| ground_sign_direction | 0x10x20x40x8 | 0
| 0 | 0 | 方块朝向南 |
1 | 1 | 方块朝向西南偏南 | |||
2 | 2 | 方块朝向西南 | |||
3 | 3 | 方块朝向西南偏西 | |||
4 | 4 | 方块朝向西 | |||
5 | 5 | 方块朝向西北偏西 | |||
6 | 6 | 方块朝向西北 | |||
7 | 7 | 方块朝向西北偏北 | |||
8 | 8 | 方块朝向北 | |||
9 | 9 | 方块朝向东北偏北 | |||
10 | 10 | 方块朝向东北 | |||
11 | 11 | 方块朝向东北偏东 | |||
12 | 12 | 方块朝向东 | |||
13 | 13 | 方块朝向东南偏东 | |||
14 | 14 | 方块朝向东南 | |||
15 | 15 | 方块朝向东南偏南 |
墙上的告示牌
| 名称 | 对应的附加值位 | 默认值 | 接受值 | 附加值位的值 | 描述 |
|---|---|---|---|---|---|
| facing_direction | 0x10x20x4 | 0 | 2345 | 2345 | 方块朝向的方向。例如,一个依附着它西边的方块,其朝向的方向为东边。
|
01 | 01 | 未使用 |
悬挂式告示牌
| 名称 | 默认值 | 接受值 | 描述 |
|---|---|---|---|
| attached_bit | false | truefalse | 是墙上的悬挂式告示牌时,锁链是否系于一点。 |
| facing_direction | 0 | 2345 | 锁链不系于一点的悬挂式告示牌及墙上的悬挂式告示牌的4个朝向。
|
01 | 未使用 | ||
| ground_sign_direction | 0 | 0 — 15 | 锁链系于一点的悬挂式告示牌的朝向。 |
| hanging | false | truefalse | 是否是墙上的悬挂式告示牌。 |
成就
Template:Load achievements:未知成就。成就名未能在成就页面上找到
历史
被发布前的告示牌
| Java版Classic | |||||
|---|---|---|---|---|---|
| 0.24_04 | 添加告示牌,但是只有预设的文字。 | ||||
| Java版Indev | |||||
| 0.31 | 2010年1月29日 | 告示牌可被合成。 | |||
| Java版Infdev | |||||
| 2010年6月7日 | 告示牌文字可被编辑。文字显示大小减小。 | ||||
| 2010年6月8日 | 告示牌能被更快地破坏。 | ||||
| Java版Alpha | |||||
| 1.0.1 | 告示牌可以被挂在墙上。 | ||||
| 1.0.5 | 告示牌不再需要在其顶部有空位。 | ||||
| release | |||||
| 1.3.1 | 12w18a | 编辑告示牌不再暂停单人游戏。 | |||
| 12w27a | 告示牌可以堆叠至16块。 | ||||
| 相同的合成配方下,产出从1块增加到3块。 | |||||
| 1.7.2 | 13w37a | 方块ID 63号(站立的告示牌)与68号(墙上的告示牌)从/give命令移除。 | |||
| 2014年6月9日 | Searge发推展示了显示用户名与计分板分数的告示牌。 | ||||
| 1.8 | 14w25a | 添加对JSON文本的支持。 | |||
| 告示牌字符限制现在取决于字符宽度。 | |||||
| 14w29a | 破坏时显示破坏动画。 | ||||
| 1.9 | 15w43a | 一块告示牌在雪屋中生成。 | |||
| 携带版Alpha | |||||
| 0.6.0 | 添加告示牌。 | ||||
| 0.10.0 | build 1 | 告示牌现在有被触摸时的高亮颜色。 | |||
| 原主机版 | |||||
| TU1 | CU1 | 1.0 | Patch 1 | 添加告示牌。 | |
| TU9 | 告示牌可以堆叠至16块。 | ||||
| 相同的合成配方下,产出从1块增加到3块。 | |||||
漏洞
Template:Issue list