# Redstone Control

Redstone Control 1.12.2 v0.3.1.3

# アイテム

# Signal Delay Line

## 概要

信号及び値を1Tick分遅れて送出します。

リピーターに増幅が無く、1Tickしか遅延できず、それが4つセットになった回路になっています。

<table border="1" id="bkmrk-signal-wire-%28%E4%BF%A1%E5%8F%B7%E3%83%AF%E3%82%A4%E3%83%A4%E3%83%BC%29" style="border-collapse: collapse; width: 100%; height: 164.781px;"><colgroup><col style="width: 15.2563%;"></col><col style="width: 27.7885%;"></col><col style="width: 56.8361%;"></col></colgroup><tbody><tr style="height: 82.3906px;"><th class="align-center" style="height: 82.3906px; vertical-align: middle;">[![image.png](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/scaled-1680-/2R2RkzxlSKfhVPyZ-image.png)](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/2R2RkzxlSKfhVPyZ-image.png)

</th><td class="align-center" style="height: 82.3906px; vertical-align: middle;">**Signal Delay Line**

(信号遅延回路)

</td><td class="align-center" style="vertical-align: middle; height: 82.3906px;">１つの信号線毎に0.05秒(1Tick)遅れて送出します。

</td></tr></tbody></table>

<table border="1" id="bkmrk-in-out-in1-%E2%86%92-1tick-%28" style="border-collapse: collapse; width: 100%; height: 148.984px;"><colgroup><col style="width: 25.0298%;"></col><col style="width: 50.0596%;"></col><col style="width: 25.0298%;"></col></colgroup><thead><tr style="height: 29.7969px;"><td class="align-center" style="height: 29.7969px;">IN  
</td><td class="align-center" style="height: 29.7969px;">  
</td><td class="align-center" style="height: 29.7969px;">OUT  
</td></tr></thead><tbody><tr style="height: 29.7969px;"><td class="align-center" style="background-color: rgb(194, 224, 244); height: 29.7969px;">IN1

</td><td class="align-center" style="height: 29.7969px;">→ 1Tick (0.05秒) 遅れて送出 →</td><td class="align-center" style="height: 29.7969px; background-color: rgb(191, 237, 210);">OUT1</td></tr><tr style="height: 29.7969px;"><td class="align-center" style="background-color: rgb(194, 224, 244); height: 29.7969px;">IN2</td><td class="align-center" style="height: 29.7969px;">→ 1Tick (0.05秒) 遅れて送出 →</td><td class="align-center" style="height: 29.7969px; background-color: rgb(191, 237, 210);">OUT2</td></tr><tr style="height: 29.7969px;"><td class="align-center" style="background-color: rgb(194, 224, 244); height: 29.7969px;">IN3</td><td class="align-center" style="height: 29.7969px;">→ 1Tick (0.05秒) 遅れて送出 →</td><td class="align-center" style="height: 29.7969px; background-color: rgb(191, 237, 210);">OUT3</td></tr><tr style="height: 29.7969px;"><td class="align-center" style="background-color: rgb(194, 224, 244); height: 29.7969px;">IN4</td><td class="align-center" style="height: 29.7969px;">→ 1Tick (0.05秒) 遅れて送出 →</td><td class="align-center" style="height: 29.7969px; background-color: rgb(191, 237, 210);">OUT4</td></tr></tbody></table>

OUT1→IN2にワイヤーを接続することも可能です。

### タイムライン例

<table border="1" id="bkmrk-%E7%B5%8C%E9%81%8Etick-input%E5%80%A4-%28%E5%87%BA%E5%8A%9B%E5%85%83%E3%81%AE%E5%80%A4" style="border-collapse: collapse; width: 100%; height: 178.781px; border-width: 1px;"><colgroup><col style="width: 10.7692%;"></col><col style="width: 50%;"></col><col style="width: 8.71795%;"></col><col style="width: 50%;"></col></colgroup><thead><tr style="height: 29.7969px;"><td class="align-center" style="height: 29.7969px;">経過Tick

</td><td class="align-center" style="height: 29.7969px;">INPUT値 (出力元の値)</td><td class="align-center" style="height: 29.7969px;">  
</td><td class="align-center" style="height: 29.7969px;">OUTPUT値 (出力先の値)</td></tr></thead><tbody><tr style="height: 29.7969px;"><td class="align-center" style="height: 29.7969px;">0</td><td class="align-center" style="height: 29.7969px;">0</td><td class="align-center" style="height: 29.7969px;">→</td><td class="align-center" style="height: 29.7969px;"><span style="color: rgb(149, 165, 166);">(未定義)</span></td></tr><tr style="height: 29.7969px;"><td class="align-center" style="height: 29.7969px;">1</td><td class="align-center" style="height: 29.7969px;">123</td><td class="align-center" style="height: 29.7969px;">→</td><td class="align-center" style="height: 29.7969px;">0</td></tr><tr style="height: 29.7969px;"><td class="align-center" style="height: 29.7969px;">2</td><td class="align-center" style="height: 29.7969px;">-456</td><td class="align-center" style="height: 29.7969px;">→</td><td class="align-center" style="height: 29.7969px;">123</td></tr><tr style="height: 29.7969px;"><td class="align-center" style="height: 29.7969px;">3</td><td class="align-center" style="height: 29.7969px;">0</td><td class="align-center" style="height: 29.7969px;">→</td><td class="align-center" style="height: 29.7969px;">-456</td></tr><tr style="height: 29.7969px;"><td class="align-center" style="height: 29.7969px;">4</td><td class="align-center" style="height: 29.7969px;">0</td><td class="align-center" style="height: 29.7969px;">→</td><td class="align-center" style="height: 29.7969px;">0</td></tr></tbody></table>

# 基本

# 仕様

## 基本的な仕様

Redstone Controlは通常のレッドストーンに互換性がありながら、大幅な拡張を加えたものです。

<table border="1" id="bkmrk-redstone-control-%E3%83%90%E3%83%8B%E3%83%A9" style="border-collapse: collapse; width: 100%; height: 178.781px;"><colgroup><col style="width: 33.3333%;"></col><col style="width: 40%;"></col><col style="width: 40%;"></col></colgroup><thead><tr style="height: 29.7969px;"><td style="height: 29.7969px;">  
</td><td class="align-center" style="height: 29.7969px;">Redstone Control</td><td class="align-center" style="height: 29.7969px;">バニラ</td></tr></thead><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">表現できる値</td><td class="align-center" style="height: 29.7969px;">-2147483648 ～ 2147483647 (符号付32bit)</td><td class="align-center" style="height: 29.7969px;">0 ～ 15 (16段階)</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">最小遅延時間</td><td class="align-center" style="height: 29.7969px;">1Tick (0.05秒)</td><td class="align-center" style="height: 29.7969px;">2Tick (0.10秒)</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">省スペース</td><td class="align-center" style="height: 29.7969px;">✅</td><td class="align-center" style="height: 29.7969px;">❌</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">サーバー負荷</td><td class="align-center" style="height: 29.7969px;">✅</td><td class="align-center" style="height: 29.7969px;">❌</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">液体耐性</td><td class="align-center" style="height: 29.7969px;">✅</td><td class="align-center" style="height: 29.7969px;">❌</td></tr><tr><td>信号の減衰</td><td class="align-center">なし</td><td class="align-center">あり(1ブロックあたり-1)</td></tr></tbody></table>

通常との違いは通常のレッドストーンの値が０～１５の幅に対し、Redstone Controlは<span style="color: rgb(224, 62, 45);">**-2147483648～2147483647**</span>(符号付き32ビット)までの値を表現することができます。

地面に回路を貼る通常のレッドストーンと違い、Redstone Controlは空中で配線する事が前提となる為液体が流れてしまっても回路が壊れてしまう心配はありません。

また、リピーター、クロック回路、定数保持などの部品も充実しており、1ブロックよりも小さい部品で特定の動作を行う事が可能です。

# 入出力

## 配線

信号をやりとりするには配線が必須です。

配線には以下のどちらかのアイテムを使用します。

<table border="1" id="bkmrk-signal-wire-%28%E4%BF%A1%E5%8F%B7%E3%83%AF%E3%82%A4%E3%83%A4%E3%83%BC%29" style="border-collapse: collapse; width: 100%; height: 112.188px;"><colgroup><col style="width: 15.2563%;"></col><col style="width: 27.7885%;"></col><col style="width: 56.8361%;"></col></colgroup><tbody><tr style="height: 82.3906px;"><th class="align-center" style="height: 82.3906px; vertical-align: middle;">[![image.png](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/scaled-1680-/lpJO3VhVM84PVOTX-image.png)](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/lpJO3VhVM84PVOTX-image.png)

</th><td class="align-center" style="height: 82.3906px; vertical-align: middle;">**Signal Wire**

(信号ワイヤー)

</td><td class="align-center" style="vertical-align: middle;">ブロック間で出力端子から入力端子に信号を繋ぐことができます。

距離が1ブロックにつき1個消費されます。

</td></tr><tr style="height: 29.7969px;"><th class="align-center" style="height: 29.7969px; vertical-align: middle;">[![image.png](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/scaled-1680-/Ht2IljDFQwKBs9So-image.png)](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/Ht2IljDFQwKBs9So-image.png)

</th><td class="align-center" style="height: 29.7969px; vertical-align: middle;">**Wireless Signal Connector**

(ワイヤレス信号接続器)

</td><td class="align-center" style="vertical-align: middle;">無線で出力端子から入力端子に接続ができます。

異なるディメンション間での通信も1個で可能です。

ワイヤーも非表示になります。

</td></tr></tbody></table>

## 入出力端子

それぞれの機器には以下の画像のような端子が存在しています。

[![image.png](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/scaled-1680-/1lMrlt5BcchiCdTL-image.png)](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/1lMrlt5BcchiCdTL-image.png)

ワイヤーは機器から出た<span style="background-color: rgb(191, 237, 210);">**<span style="color: rgb(224, 62, 45);">\[出力(OUT)\]</span>**</span>から機器に入る<span style="background-color: rgb(194, 224, 244);">**<span style="color: rgb(224, 62, 45);">\[入力(IN)\]</span>**</span>の一方通行しか配線ができません。

また、それぞれの端子1個につき、ワイヤーは1個しか配線できません。

これを回避する方法はいくつかありますが、基本的には１ポート１ワイヤーだと思ってください。

# 既存レッドストーン機器との接続

## 概要

既存レッドストーンとの接続には特定のアイテムでRedstone Controlが認識できるように変換する必要があります。

接続にはこれらのアイテムを使用します。

<table border="1" id="bkmrk-signal-wire-%28%E4%BF%A1%E5%8F%B7%E3%83%AF%E3%82%A4%E3%83%A4%E3%83%BC%29" style="border-collapse: collapse; width: 100%; height: 164.781px;"><colgroup><col style="width: 15.2563%;"></col><col style="width: 27.7885%;"></col><col style="width: 56.8361%;"></col></colgroup><tbody><tr style="height: 82.3906px;"><th class="align-center" style="height: 82.3906px; vertical-align: middle;">[![image.png](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/scaled-1680-/fiwXSRYqduKzaWjZ-image.png)](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/fiwXSRYqduKzaWjZ-image.png)

</th><td class="align-center" style="height: 82.3906px; vertical-align: middle;">**Redstone Read Socket**

(レッドストーン入力ソケット)

</td><td class="align-center" style="vertical-align: middle; height: 82.3906px;">既存のレッドストーン機器から信号強度を取得する機器です。

０～１５の値を取得します。

</td></tr><tr style="height: 82.3906px;"><th class="align-center" style="height: 82.3906px; vertical-align: middle;">[![image.png](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/scaled-1680-/O6RaJoTkCIFvPX96-image.png)](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/O6RaJoTkCIFvPX96-image.png)

</th><td class="align-center" style="height: 82.3906px; vertical-align: middle;">**Redstone Write Socket**

(レッドストーン出力ソケット)

</td><td class="align-center" style="vertical-align: middle; height: 82.3906px;">既存のレッドストーン機器へ信号強度を出力する機器です。

<span style="background-color: rgb(251, 238, 184); color: rgb(224, 62, 45);">注：-1以下の値はレッドストーン信号強度が全て０とされ、</span>

<span style="background-color: rgb(251, 238, 184); color: rgb(224, 62, 45);">16以上の値はレッドストーン信号強度が全て15として出力されます。</span>

</td></tr></tbody></table>

## 設置方法

[![image.png](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/scaled-1680-/UJBqniLlUc7xSexI-image.png)](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/UJBqniLlUc7xSexI-image.png)

入力側を<span style="color: rgb(0, 0, 0); background-color: rgb(191, 237, 210);">Redstone Read Socket(緑色の端子)</span>、出力側を<span style="background-color: rgb(194, 224, 244);">Redstone Write Socket(青色の端子)</span>を設置します。

[![image.png](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/scaled-1680-/6gDGThbb9p3QBE4z-image.png)](https://mcwiki.aokaga.work/uploads/images/gallery/2024-12/6gDGThbb9p3QBE4z-image.png)

ワイヤーを接続することでレッドストーン同士の信号を<span style="text-decoration: underline;"><span style="color: rgb(224, 62, 45); text-decoration: underline;">**減衰や遅延をさせずに**</span></span>接続することができます。

この関係性を図にまとめるとこのようになります。

【レッドストーン機器の入力】→<span style="background-color: rgb(191, 237, 210);">【Redstone Read Socket】</span>→**<span style="color: rgb(224, 62, 45);">ワイヤー</span>**→<span style="background-color: rgb(194, 224, 244);">【Redstone Write Socket】</span>→【レッドストーン機器の出力】