脉冲节流器
<Column>
<GameScene zoom="1.48" padding="3" interactive={true}>
<ImportStructure src="../assets/structures/pulse_throttler.snbt" />
<BlockAnnotation x="2" y="0" z="0" color="#FFFFFF">
脉冲节流器比普通的脉冲缩短器要灵活许多,但两者的概念是相似的。
</BlockAnnotation>
<IsometricCamera yaw="150" pitch="30" />
</GameScene>
</Column>
注意:Minecraft中的20刻对应现实中的1秒。
脉冲节流器是一种逻辑元件,能指定信号保持ON的时间。默认情况下,脉冲节流器会将所有信号缩短成持续1刻的脉冲。
<Wire from="input" fromPort="0" to="pulse_throttler" toPort="0" />
<Wire from="pulse_throttler" fromPort="0" to="output" toPort="0" />
<RedstoneSignal step="0" direction="north" strength="15" />
<RedstoneSignal step="1" direction="north" strength="0" />
</MicrochipScene>
</Column>
<Column>
<MicrochipScene color="red" includeToolbar={true} padding="0">
<Logic name="input" x="-26" y="0" type="io" hide={true} />
<Logic name="pulse_throttler" x="6" y="0" type="pulse_throttler" data="{config:{duration:10}}" />
<Logic name="output" x="38" y="0" type="io" data="{config:{input:false,direction:'south',signal_strength:15}}" hide={true} />
<Wire from="input" fromPort="0" to="pulse_throttler" toPort="0" />
<Wire from="pulse_throttler" fromPort="0" to="output" toPort="0" />
<RedstoneSignal step="0" direction="north" strength="15" />
<RedstoneSignal step="1" direction="north" strength="0" />
</MicrochipScene>
</Column>
<Column>
<MicrochipScene color="red" includeToolbar={true} padding="0">
<Logic name="input" x="-26" y="0" type="io" hide={true} />
<Logic name="pulse_throttler" x="6" y="0" type="pulse_throttler" data="{config:{duration:40}}" />
<Logic name="output" x="38" y="0" type="io" data="{config:{input:false,direction:'south',signal_strength:15}}" hide={true} />
<Wire from="input" fromPort="0" to="pulse_throttler" toPort="0" />
<Wire from="pulse_throttler" fromPort="0" to="output" toPort="0" />
<RedstoneSignal step="0" direction="north" strength="15" />
<RedstoneSignal step="1" direction="north" strength="0" />
</MicrochipScene>
</Column>
</Row>