Skip to content

Commit f5154a4

Browse files
Little Big Redstone 翻译提交 (#5442)
* LittleBigRedstone create * LBR fix:修 * LBR fix:补图 * LBR update:官库更新 * Apply suggestions from code review Co-authored-by: ZetaY <34602681+ZHAY10086@users.noreply.github.com> * LBR update:版本更新 * LBR fix:复位 --------- Co-authored-by: ZetaY <34602681+ZHAY10086@users.noreply.github.com>
1 parent 5ac5677 commit f5154a4

48 files changed

Lines changed: 4201 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2 KB
Loading
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
navigation:
3+
title: "软盘"
4+
icon: "red_floppy_disk"
5+
position: 4
6+
item_ids:
7+
- little_big_redstone:white_floppy_disk
8+
- little_big_redstone:light_gray_floppy_disk
9+
- little_big_redstone:gray_floppy_disk
10+
- little_big_redstone:black_floppy_disk
11+
- little_big_redstone:brown_floppy_disk
12+
- little_big_redstone:red_floppy_disk
13+
- little_big_redstone:orange_floppy_disk
14+
- little_big_redstone:yellow_floppy_disk
15+
- little_big_redstone:lime_floppy_disk
16+
- little_big_redstone:green_floppy_disk
17+
- little_big_redstone:cyan_floppy_disk
18+
- little_big_redstone:light_blue_floppy_disk
19+
- little_big_redstone:blue_floppy_disk
20+
- little_big_redstone:purple_floppy_disk
21+
- little_big_redstone:magenta_floppy_disk
22+
- little_big_redstone:pink_floppy_disk
23+
---
24+
25+
# 软盘
26+
27+
<FloatingColumn align="right">
28+
<PaddedBox left="5">
29+
<RecipeFor id="red_floppy_disk" />
30+
</PaddedBox>
31+
</FloatingColumn>
32+
33+
<FloatingColumn>
34+
<PaddedBox left="5" right="10" bottom="0">
35+
<Row gap="1">
36+
<ItemImage id="red_floppy_disk" />
37+
<ItemImage id="orange_floppy_disk" />
38+
<ItemImage id="yellow_floppy_disk" />
39+
<ItemImage id="lime_floppy_disk" />
40+
</Row>
41+
<Row gap="1">
42+
<ItemImage id="green_floppy_disk" />
43+
<ItemImage id="cyan_floppy_disk" />
44+
<ItemImage id="light_blue_floppy_disk" />
45+
<ItemImage id="blue_floppy_disk" />
46+
</Row>
47+
<Row gap="1">
48+
<ItemImage id="purple_floppy_disk" />
49+
<ItemImage id="magenta_floppy_disk" />
50+
<ItemImage id="pink_floppy_disk" />
51+
<ItemImage id="brown_floppy_disk" />
52+
</Row>
53+
<Row gap="1">
54+
<ItemImage id="white_floppy_disk" />
55+
<ItemImage id="light_gray_floppy_disk" />
56+
<ItemImage id="gray_floppy_disk" />
57+
<ItemImage id="black_floppy_disk" />
58+
</Row>
59+
</PaddedBox>
60+
</FloatingColumn>
61+
62+
软盘能存储[微芯片](microchips.md)中的程序,并将其安装到其他微芯片,操作简捷。
63+
64+
手持软盘对微芯片按下&zwnj;**<KeyBind id="key.sneak" />**+**<KeyBind id="key.use" />**&zwnj;,即可将微芯片的程序存入软盘。
65+
66+
软盘内存储有微芯片程序时,可对微芯片按下&zwnj;**<KeyBind id="key.use" />**&zwnj;为其安装程序;如此操作需要你持有所需的逻辑元件和红石位粒。在安装程序时,[逻辑阵列](logic_arrays.md)中的物品视为直接存放于物品栏中。手持软盘看向微芯片时,快捷栏上方会显示安装程序所需的物品。
67+
68+
微芯片程序还可以保存到本地和从本地读取!持有软盘(且未看向微芯片)时按下&zwnj;**<KeyBind id="key.use" />**&zwnj;可打开相关菜单。“保存”按钮会将当前程序保存为文件,其名称需在“程序名称”文本框中指定。与之类似,“加载”按钮会从使用所给名称的文件中加载程序。如果没有文件使用所给名称,“加载”按钮就无法点击。已保存的程序在游戏目录内的&zwnj;**/little_big_redstone/microchips**&zwnj;目录下。这些文件可跨世界和服务器访问。
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
navigation:
3+
title: "Little Big Redstone"
4+
position: 0
5+
---
6+
7+
# Little Big Redstone
8+
9+
<MarginFloatingImage src="assets/logo.png" left="0" right="10" />
10+
11+
Little Big Redstone添加了[微芯片](microchips.md)方块。可在其中搭建[逻辑](logic/introduction.md)电路,从而把复杂的逻辑系统压缩成单个方块。
12+
13+
微芯片的逻辑系统包括基础逻辑门,如[非门](logic/not_gate.md)[与门](logic/and_gate.md)[或门](logic/or_gate.md)等,也包括用于延迟、缩短、延长信号的逻辑元件,如[时序器](logic/sequencer.md)[脉冲节流器](logic/pulse_throttler.md)
14+
15+
模组内还有能简化微芯片设计的工具,如用于存储搭建电路所需物品的[逻辑阵列](logic_arrays.md),以及用于复制和粘贴电路的[软盘](floppy_disks.md)
16+
17+
所有这些都可染为十六种染料颜色,方便外观定制、备注标记和组织管理!
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
navigation:
3+
title: "逻辑元件"
4+
position: 10
5+
---
6+
7+
# 逻辑元件
8+
9+
<SubPages />
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
---
2+
navigation:
3+
title: "与门"
4+
icon: "and_gate"
5+
parent: little_big_redstone:logic.md
6+
position: 12
7+
categories:
8+
- logic
9+
item_ids:
10+
- little_big_redstone:and_gate
11+
---
12+
13+
# 与门
14+
15+
<FloatingColumn width="100" align="right">
16+
### 真值表
17+
<TruthTable inputs="2">
18+
<TruthState input="0,0" output="0" />
19+
<TruthState input="0,1" output="0" />
20+
<TruthState input="1,0" output="0" />
21+
<TruthState input="1,1" output="1" />
22+
</TruthTable>
23+
*真值表的详细介绍见[此](introduction.md)页面。*
24+
</FloatingColumn>
25+
26+
<Row>
27+
<Column>
28+
<RecipeFor id="and_gate" />
29+
</Column>
30+
31+
<Column>
32+
<GameScene zoom="1.48" padding="3" interactive={true}>
33+
<ImportStructure src="../assets/structures/and_gate.snbt" />
34+
<IsometricCamera yaw="150" pitch="30" />
35+
</GameScene>
36+
</Column>
37+
</Row>
38+
39+
与门是一种逻辑元件,只在所有输入均为ON时输出才为ON。它的输出和[与非门](nand_gate.md)成相反关系。
40+
41+
与门的输入端口数目最少为2,最多为10。
42+
43+
<Row>
44+
<Column>
45+
<MicrochipScene color="red" includeToolbar={true}>
46+
<Logic name="a" x="0" y="4" type="io" data="{config:{direction:'east'}}" hide={true} />
47+
<Logic name="b" x="16" y="12" type="io" data="{config:{direction:'west'}}" hide={true} />
48+
<Logic name="and" x="48" y="8" type="and_gate" />
49+
<Logic name="output" x="80" y="8" type="io" data="{config:{input:false,signal_strength:15}}" hide={true} />
50+
51+
<Wire from="a" fromPort="0" to="and" toPort="0" />
52+
<Wire from="b" fromPort="0" to="and" toPort="1" />
53+
<Wire from="and" fromPort="0" to="output" toPort="0" />
54+
55+
<RedstoneSignal step="0" direction="east" strength="0" />
56+
<RedstoneSignal step="0" direction="west" strength="0" />
57+
58+
<RedstoneSignal step="1" direction="east" strength="0" />
59+
<RedstoneSignal step="1" direction="west" strength="15" />
60+
61+
<RedstoneSignal step="2" direction="east" strength="15" />
62+
<RedstoneSignal step="2" direction="west" strength="0" />
63+
64+
<RedstoneSignal step="3" direction="east" strength="15" />
65+
<RedstoneSignal step="3" direction="west" strength="15" />
66+
</MicrochipScene>
67+
</Column>
68+
69+
<Column>
70+
<MicrochipScene color="red" includeToolbar={true}>
71+
<Logic name="a" x="0" y="12" type="io" data="{config:{direction:'north'}}" hide={true} />
72+
<Logic name="b" x="0" y="20" type="io" data="{config:{direction:'south'}}" hide={true} />
73+
<Logic name="c" x="0" y="28" type="io" data="{config:{direction:'east'}}" hide={true} />
74+
<Logic name="d" x="0" y="36" type="io" data="{config:{direction:'west'}}" hide={true} />
75+
<Logic name="and" x="32" y="16" type="and_gate" data="{config:{input_count:4}}" />
76+
<Logic name="output" x="64" y="24" type="io" data="{config:{direction:'up',input:false,signal_strength:15}}" hide={true} />
77+
78+
<Wire from="a" fromPort="0" to="and" toPort="0" />
79+
<Wire from="b" fromPort="0" to="and" toPort="1" />
80+
<Wire from="c" fromPort="0" to="and" toPort="2" />
81+
<Wire from="d" fromPort="0" to="and" toPort="3" />
82+
<Wire from="and" fromPort="0" to="output" toPort="0" />
83+
84+
<RedstoneSignal step="0" direction="north" strength="0" />
85+
<RedstoneSignal step="0" direction="south" strength="0" />
86+
<RedstoneSignal step="0" direction="east" strength="0" />
87+
<RedstoneSignal step="0" direction="west" strength="0" />
88+
89+
<RedstoneSignal step="1" direction="north" strength="15" />
90+
<RedstoneSignal step="1" direction="south" strength="0" />
91+
<RedstoneSignal step="1" direction="east" strength="0" />
92+
<RedstoneSignal step="1" direction="west" strength="0" />
93+
94+
<RedstoneSignal step="2" direction="north" strength="0" />
95+
<RedstoneSignal step="2" direction="south" strength="15" />
96+
<RedstoneSignal step="2" direction="east" strength="0" />
97+
<RedstoneSignal step="2" direction="west" strength="0" />
98+
99+
<RedstoneSignal step="3" direction="north" strength="0" />
100+
<RedstoneSignal step="3" direction="south" strength="0" />
101+
<RedstoneSignal step="3" direction="east" strength="15" />
102+
<RedstoneSignal step="3" direction="west" strength="0" />
103+
104+
<RedstoneSignal step="4" direction="north" strength="0" />
105+
<RedstoneSignal step="4" direction="south" strength="0" />
106+
<RedstoneSignal step="4" direction="east" strength="0" />
107+
<RedstoneSignal step="4" direction="west" strength="15" />
108+
109+
<RedstoneSignal step="5" direction="north" strength="0" />
110+
<RedstoneSignal step="5" direction="south" strength="15" />
111+
<RedstoneSignal step="5" direction="east" strength="0" />
112+
<RedstoneSignal step="5" direction="west" strength="15" />
113+
114+
<RedstoneSignal step="6" direction="north" strength="15" />
115+
<RedstoneSignal step="6" direction="south" strength="0" />
116+
<RedstoneSignal step="6" direction="east" strength="15" />
117+
<RedstoneSignal step="6" direction="west" strength="0" />
118+
119+
<RedstoneSignal step="7" direction="north" strength="15" />
120+
<RedstoneSignal step="7" direction="south" strength="15" />
121+
<RedstoneSignal step="7" direction="east" strength="15" />
122+
<RedstoneSignal step="7" direction="west" strength="15" />
123+
</MicrochipScene>
124+
</Column>
125+
</Row>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
navigation:
3+
title: "介绍"
4+
parent: little_big_redstone:logic.md
5+
position: 0
6+
---
7+
8+
# 逻辑元件简介
9+
10+
<FloatingColumn align="right">
11+
### 目录
12+
<LogicIndex />
13+
</FloatingColumn>
14+
15+
逻辑元件也称逻辑门,是真正驱动电路的组件。所有逻辑元件都可有输入和输出端口。这些端口是传递和修改信号以得到预期结果的方式。逻辑元件完全基于布尔逻辑;换言之,信号只有两个值——“关”/“OFF”(0)和“开”/“ON”(1)。
16+
17+
<br />
18+
19+
### 真值表
20+
21+
各类逻辑元件对输入信号的反应不一,但输出大多完全由当前输入决定。因此,大多数逻辑元件都有一张真值表。真值表是展示某逻辑元件在各种输入组合下相应输出的表格。可用真值表描述的逻辑元件都在其页面内附有其真值表。
22+
23+
输入用字母表顺序的字母标识;例如,第一个输入是A,第二个是B,以此类推。输出用Q标识。如果元件有多个输出端口,则添加下标进行指代;如Q₁、Q₂等。不过大多数情况下,逻辑门都只会有一个输出。
24+
25+
<br />
26+
27+
### 逻辑元件的使用
28+
29+
可用左键在[微芯片](../microchips.md)界面中拿起和放置逻辑元件。拿起逻辑元件后按住Ctrl,即可让元件吸附至网格。
30+
31+
右击逻辑元件可进行配置(如果有配置的话)。这么做会打开一个配置菜单,可在其中更改元件的设置。各元件的页面中会介绍各自的配置项。
32+
33+
有关借助端口连接逻辑元件的内容,请参见介绍[导线](../redstone_bits.md)的页面。
34+
35+
逻辑元件可以独立于微芯片进行染色,但默认情况下它们会继承所处微芯片的颜色。可以和往常一样在合成方格内为逻辑元件染色,也可选择用染料右击菜单中的逻辑元件。
36+
37+
可以使用水桶和雪球去除逻辑元件的染色效果,操作方法类似。雪球使用后即消耗,而水桶不会消耗。
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
navigation:
3+
title: "I/O端口"
4+
icon: "io"
5+
parent: little_big_redstone:logic.md
6+
position: 10
7+
categories:
8+
- logic
9+
item_ids:
10+
- little_big_redstone:io
11+
---
12+
13+
# I/O端口
14+
15+
<RecipeFor id="io" />
16+
17+
I/O端口是对电路传入和读取红石信号的途径。将I/O端口放入电路后,微芯片的对应面即会变为红石面,可借此输入输出红石信号。
18+
19+
<br />
20+
21+
每个I/O端口都有一个对应方向:<Color color="#4CFF00">北</Color>、<Color color="#0094FF">南</Color>、<Color color="#FF0000">东</Color>、<Color color="#FF6A00">西</Color>、<Color color="#FFFFFF">上</Color>、<Color color="#FFD800">下</Color>。潜行看向微芯片可查看侧面对应方向的颜色。
22+
23+
**注意:**单个方向可以是输入,也可以是输出,但不能兼做输入和输出。如果电路中I/O端口的排布使得某一面同时是输入和输出,那么与之相关的端口均不会运作,且会显示一则警告。
24+
25+
<br />
26+
27+
I/O端口的信号强度也可进行配置。端口处于输入模式时,如要让其输出ON,输入红石信号的强度就应大于等于设置值。处于输出模式时,向端口提供ON信号,则输出红石信号的强度即是所设值。
28+
29+
<Row>
30+
<Column>
31+
<MicrochipScene color="red" marginWidth="16" includeToolbar={true}>
32+
<Logic name="input" x="0" y="0" type="io" />
33+
<Logic name="output" x="32" y="0" type="io" data="{config:{input:false,direction:'south',signal_strength:15}}" hide={true} />
34+
35+
<Wire from="input" fromPort="0" to="output" toPort="0" />
36+
</MicrochipScene>
37+
</Column>
38+
39+
<Column>
40+
<MicrochipScene color="red" marginWidth="16" includeToolbar={true}>
41+
<Logic name="input" x="0" y="0" type="io" hide={true} />
42+
<Logic name="output" x="32" y="0" type="io" data="{config:{input:false,direction:'south',signal_strength:15}}" />
43+
44+
<Wire from="input" fromPort="0" to="output" toPort="0" />
45+
</MicrochipScene>
46+
</Column>
47+
</Row>

0 commit comments

Comments
 (0)