Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "与门"
icon: "and_gate"
parent: little_big_redstone:logic.md
position: 12
position: 14
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "与非门"
icon: "nand_gate"
parent: little_big_redstone:logic.md
position: 13
position: 15
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "或非门"
icon: "nor_gate"
parent: little_big_redstone:logic.md
position: 15
position: 17
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "非门"
icon: "not_gate"
parent: little_big_redstone:logic.md
position: 11
position: 13
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "或门"
icon: "or_gate"
parent: little_big_redstone:logic.md
position: 14
position: 16
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "脉冲节流器"
icon: "pulse_throttler"
parent: little_big_redstone:logic.md
position: 19
position: 20
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "随机发生器"
icon: "randomizer"
parent: little_big_redstone:logic.md
position: 21
position: 22
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "读取器"
icon: "reader"
parent: little_big_redstone:logic.md
position: 17
position: 11
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "RS或非锁存器"
icon: "rs_nor_latch"
parent: little_big_redstone:logic.md
position: 23
position: 24
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "选择器"
icon: "selector"
parent: little_big_redstone:logic.md
position: 20
position: 21
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "时序器"
icon: "sequencer"
parent: little_big_redstone:logic.md
position: 18
position: 19
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "T触发器"
icon: "t_flip_flop"
parent: little_big_redstone:logic.md
position: 22
position: 23
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
navigation:
title: "标信器"
icon: "tag"
parent: little_big_redstone:logic.md
position: 12
categories:
- logic
item_ids:
- little_big_redstone:tag
---

# 标信器

<RecipeFor id="tag" />

标信器可在电路间无线收发信号。它有两个模式:发信和探测。探测端是接受信号的一端,发信端则是发送的一端。

<br />

每个标信器都有一个标签集合。探测端只能探测到同标签的发信端。标签对**大小写敏感**。可以选择不填写标签,留空标签的探测端只能探测到同样留空标签的发信端。

探测端有一个阈值设置,它只会在探测到该数量个发信端后输出ON。例如,有一个阈值为2、标签为“something”的探测端;要让它输出ON,就必须有至少2个标签为“something”的发信端为ON。

注意,探测端可以探测到同一个电路中的发信端。

<br />

还可设置探测端是否全局。也即,它是否会探测多人服务端中其他人放置的发信端。默认情况下,探测端不是全局的——它们只会探测你自己放置的发信端。

<br />

下方示例中,发信端和探测端的标签相同。而因为两者标签一致,且探测端阈值为1,所以只要发信端为ON,探测端就会输出ON。

<Row>
<Column>
<MicrochipScene color="red" marginWidth="16" includeToolbar={true}>
<Logic name="input1" x="0" y="0" type="io" hide={true} />
<Logic name="output1" x="32" y="0" type="tag" data="{config:{input:false,label:'something'}}" />

<Logic name="tag2" x="64" y="0" type="tag" data="{config:{label:'something'}}" />
<Logic name="input2" x="64" y="0" type="io" hide={true} />
<Logic name="output2" x="96" y="0" type="io" data="{config:{input:false,signal_strength:15}}" hide={true} />

<Wire from="input1" fromPort="0" to="output1" toPort="0" />
<Wire from="input2" fromPort="0" to="output2" toPort="0" />

<RedstoneSignal step="0" direction="north" strength="15" />
<RedstoneSignal step="1" direction="north" strength="0" />
</MicrochipScene>
</Column>
</Row>

而此处示例中两标信器的标签不同。因此探测端无法探测到发信端。

<Row>
<Column>
<MicrochipScene color="red" marginWidth="16" includeToolbar={true}>
<Logic name="input1" x="0" y="0" type="io" hide={true} />
<Logic name="output1" x="32" y="0" type="tag" data="{config:{input:false,label:'something'}}" />

<Logic name="input2" x="64" y="0" type="tag" data="{config:{label:'something_else'}}" />
<Logic name="output2" x="96" y="0" type="io" data="{config:{input:false,signal_strength:15}}" hide={true} />

<Wire from="input1" fromPort="0" to="output1" toPort="0" />
<Wire from="input2" fromPort="0" to="output2" toPort="0" />

<RedstoneSignal step="0" direction="north" strength="15" />
<RedstoneSignal step="1" direction="north" strength="0" />
</MicrochipScene>
</Column>
</Row>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "异或门"
icon: "xor_gate"
parent: little_big_redstone:logic.md
position: 16
position: 18
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "AND Gate"
icon: "and_gate"
parent: little_big_redstone:logic.md
position: 12
position: 14
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "NAND Gate"
icon: "nand_gate"
parent: little_big_redstone:logic.md
position: 13
position: 15
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "NOR Gate"
icon: "nor_gate"
parent: little_big_redstone:logic.md
position: 15
position: 17
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "NOT Gate"
icon: "not_gate"
parent: little_big_redstone:logic.md
position: 11
position: 13
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "OR Gate"
icon: "or_gate"
parent: little_big_redstone:logic.md
position: 14
position: 16
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "Pulse Throttler"
icon: "pulse_throttler"
parent: little_big_redstone:logic.md
position: 19
position: 20
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "Randomizer"
icon: "randomizer"
parent: little_big_redstone:logic.md
position: 21
position: 22
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "Reader"
icon: "reader"
parent: little_big_redstone:logic.md
position: 17
position: 11
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "RS NOR Latch"
icon: "rs_nor_latch"
parent: little_big_redstone:logic.md
position: 23
position: 24
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "Selector"
icon: "selector"
parent: little_big_redstone:logic.md
position: 20
position: 21
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "Sequencer"
icon: "sequencer"
parent: little_big_redstone:logic.md
position: 18
position: 19
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "T Flip-Flop"
icon: "t_flip_flop"
parent: little_big_redstone:logic.md
position: 22
position: 23
categories:
- logic
item_ids:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
navigation:
title: "Tag"
icon: "tag"
parent: little_big_redstone:logic.md
position: 12
categories:
- logic
item_ids:
- little_big_redstone:tag
---

# Tag

<RecipeFor id="tag" />

Tags allow you to wirelessly send signals between circuits. Tags have two modes, sensor and emitter. Sensors are how
you receive signals, and emitters are how you transmit signals.

<br />

Each tag can have a label set. For a sensor to be able to detect an emitter, they must both have the same label. Labels
are **case sensitive**. Labels are not required, and if left empty, will only match with other tags that also have an
empty label.

A sensor has a threshold setting, which determines how many emitters it must detect in order for it to yield an output
of ON. For example, if you have a sensor with a threshold of 2 and a label of "something", you must have 2 emitters
also with the label "something" that are ON for the sensor to have an ON output.

Note that sensors can detect emitters in the same circuit.

<br />

Sensors can also choose whether they are global or not. In other words, whether it detects emitters placed by someone
else on a multiplayer server. By default, sensors are not global - meaning they will only sense your emitters.

<br />

Below is an example of a tag emitter and sensor both having the same label. Because they share a label and the sensor
only has a threshold of 1, when the emitter is ON, the sensor is also ON.

<Row>
<Column>
<MicrochipScene color="red" marginWidth="16" includeToolbar={true}>
<Logic name="input1" x="0" y="0" type="io" hide={true} />
<Logic name="output1" x="32" y="0" type="tag" data="{config:{input:false,label:'something'}}" />

<Logic name="tag2" x="64" y="0" type="tag" data="{config:{label:'something'}}" />
<Logic name="input2" x="64" y="0" type="io" hide={true} />
<Logic name="output2" x="96" y="0" type="io" data="{config:{input:false,signal_strength:15}}" hide={true} />

<Wire from="input1" fromPort="0" to="output1" toPort="0" />
<Wire from="input2" fromPort="0" to="output2" toPort="0" />

<RedstoneSignal step="0" direction="north" strength="15" />
<RedstoneSignal step="1" direction="north" strength="0" />
</MicrochipScene>
</Column>
</Row>

Notice that below the two tags have different labels. Because of this, the sensor does not detect the emitter.

<Row>
<Column>
<MicrochipScene color="red" marginWidth="16" includeToolbar={true}>
<Logic name="input1" x="0" y="0" type="io" hide={true} />
<Logic name="output1" x="32" y="0" type="tag" data="{config:{input:false,label:'something'}}" />

<Logic name="input2" x="64" y="0" type="tag" data="{config:{label:'something_else'}}" />
<Logic name="output2" x="96" y="0" type="io" data="{config:{input:false,signal_strength:15}}" hide={true} />

<Wire from="input1" fromPort="0" to="output1" toPort="0" />
<Wire from="input2" fromPort="0" to="output2" toPort="0" />

<RedstoneSignal step="0" direction="north" strength="15" />
<RedstoneSignal step="1" direction="north" strength="0" />
</MicrochipScene>
</Column>
</Row>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ navigation:
title: "XOR Gate"
icon: "xor_gate"
parent: little_big_redstone:logic.md
position: 16
position: 18
categories:
- logic
item_ids:
Expand Down
Loading
Loading