Scrap Logic

Tiny Scrap Mechanic-style logic gates (8 per block) with a connector tool, sensors, timers and physics parts for Sable / Create Aeronautics.

# Scrap Logic

**Tiny logic gates inspired by Scrap Mechanic — for NeoForge 1.21.1, with full support for Sable / Create Aeronautics physics contraptions.**

Build real logic circuits the way you do in Scrap Mechanic: place small gates, wire them with a connector tool and make memory cells, pulse generators, counters and whole robot brains — without redstone dust spaghetti.

## Features

- **1/8-block gates** — up to 8 gates fit in a single block.
- **8 modes**: AND, OR, XOR, NAND, NOR, XNOR, Redstone IN, Redstone OUT.  
  Right-click a gate with an empty hand to switch mode (Shift = back).
- **Connector tool** — right-click gate A and drag to gate B (or click A, then B). Arrows on the wires show where the signal goes. Do it again to disconnect.
- **Connector modes** (Tab to switch, Enter to confirm) — single, pair (I1→O1, I2→O2…) and all-to-one.
- **Scrap Mechanic-style timing** — every gate adds 1 tick of delay, so pulse circuits, clocks and memory cells behave the way you expect. Self-feedback loops work.
- **Fast logic** — `/gamerule logicStepsPerTick 2` (default) runs logic at 40 Hz. Set to 1 for weaker devices.
- **Wireless by design** — connected gates talk to each other over any distance, even between separate physics contraptions.
- **Works on Sable contraptions** — wires, dots and hover detection follow moving and rotating ships.
- **Paint your gates** — right-click with any dye (Shift + dye to wash off).
- Hover a gate with the connector to see its mode and how many inputs are on (e.g. `AND 2/3`).
- **Micro Sensor, Timer, Lamp, Copycat Gate** — more Scrap Mechanic parts for your circuits.

## Physics parts (with Sable)

- **Bearing, Piston and Controller** — build moving machines and robots the Scrap Mechanic way.
- **Adaptive Welder** — attach gate-only objects to other objects face-to-face.
- **Adapter** (with Create) — drive bearings with Create rotation.
- **Vehicles** — wire Create seats, the portable engine and vanilla buttons/levers: steer with A/D, throttle with W/S, buttons and levers become hotbar keys 1–9.

## Crafting

- **Logic Gate ×4** — Redstone + Quartz + Copper Ingot (shapeless)
- **Connector** — Stick + Redstone + Lapis Lazuli (shapeless)
- **Micro Sensor** — Gate + Glass Pane + Redstone
- **Timer** — Gate + Clock
- **Lamp** — Gate + Glowstone Dust
- **Copycat Gate** — Gate + Paper
- **Bearing** — Gate + Iron Ingot + Copper Ingot *(Sable)*
- **Piston** — Gate + Piston *(Sable)*
- **Controller** — Gate + Comparator + Iron Ingot *(Sable)*
- **Adaptive Welder** — Slime Ball + Copper Ingot + Gate *(Sable)*
- **Adapter** — Gate + Andesite Casing + Shaft *(Sable + Create)*

## Requirements

- NeoForge 1.21.1
- Sable is **optional** — the mod works without it (physics parts need it).
- Create is optional (needed for the Adapter and seats).
- Must be installed on both client and server.

## Notes

This is an early **beta**. Bugs are possible — please report them!

Ideas, design, textures and the 3D connector model are by **Neyra_222**.
The code was written with the help of AI (Claude), tested and directed by me.

*Scrap Logic is a fan project and is not affiliated with Axolot Games or Scrap Mechanic.*

Scrap Logic Team

profile avatar
  • 1
    Projects
  • 9
    Downloads