Overview
The Hanging RedCu Wire Connector is a special RedCu component designed to connect two distant redstone-compatible components using a suspended RedCu Wire. It allows signal transmission through air without requiring intermediate support blocks.
Unlike most RedstoneCG blocks such as gates, wires, and indicators, the Hanging RedCu Wire Connector can float in mid-air. It also provides a solid mounting surface at its base, enabling decorative or structural redstone builds where components must hang from ceilings or remain suspended.
Crafting
| Ingredients | RedCu Crafter Recipe |
| 1 Smooth Stone Plate | |
| 2 RedCu Wire |
Functionality
To connect two components using Hanging RedCu Wire Connectors:
- Place a Hanging RedCu Wire Connector block so it connects to a redstone-compatible component.
- Right-click the placed block using a Hanging RedCu Wire Connector item. The item will store the position of the clicked block.
When the position is stored:
- The item gains an enchantment glow effect.
- The item description displays the stored coordinates.
- The stored position can be cleared by right-clicking in air
After storing a position, place another Hanging RedCu Wire Connector block using the same item at the desired location.
- If the distance between the two blocks is less than or equal to 16 blocks, they will automatically connect with a Hanging RedCu Wire.
- The amount of RedCu Wire items consumed equals the calculated distance.
- If the player does not have enough RedCu Wire in inventory, the connection will not be established.
The maximum connection length can be modified using command:
/redstonecg_gameplay maxHangingRedCuWireLength <value>
The distance between the two connectors is calculated as the real spatial distance between them and then rounded down using a mathematical floor operation. So if the actual distance is 13.56, the used distance is 13.
Signal propagation through the Hanging RedCu Wire behaves identically to a standard RedCu Wire.
Connection
Unlike most gates, the Hanging RedCu Wire Connector uses a RedCu Pin Mark. This indicates that the block behaves as a RedCu Wire connection rather than a standard redstone block.
Right-clicking the block with any item or an empty hand except Hanging RedCu Wire Connector item will cycle through available pin configurations.
Every 16th click toggles the base connection state, shown by the RecCu Pinmarks in the corners. When enabled, the block can both read and output signal from its base.
Moving
Moving a Hanging RedCu Wire Connector is highly discouraged. The block stores the world position of the connector it is linked to. If one of the connected blocks is moved, that stored position becomes invalid and visual glitches may occur.
Despite this, the system contains a recovery mechanism that attempts to restore the connection when possible.
Consider a setup where two connectors, A and B, are connected. Connector A remains stationary while connector B is moved.
- If B is moved and neither block updates, a visual glitch may appear where one end of the Hanging RedCu Wire connects to either A or B while the other end appears to float in space.
-
When A receives a block update, it checks the stored position where B used
to be located.
- If another Hanging RedCu Wire Connector C is found at that position, A assumes nothing has changed and continues operating as if it were connected to C.
- If any other block is found, A removes the stored connection. The visual glitch may disappear because the connection between A and B is forgotten.
- When B updates, it checks whether connector A still has a connection to it. If not, B instructs A to create a connection to B's new position, restoring the link and making the connection fully functional again.
This recovery process only works reliably when one connector is moved at a time. If both connectors are moved before either receives an update, the connection is permanently lost and must be recreated manually.
Version Log
| Version | Description |
| 0.3.0 | Introduced. |