Modscraper Modscraper Minecraft
Logic Gate logo

Logic Gate

Mod

All-in-one, toggleable logic gate as a redstone component.

Type

Mod

Modrinth Downloads

425

Modrinth ID

8C0YMnff

Last Updated

Apr 12, 2026

Description

Logic Gate

This mod adds a logic gate as a redstone component similar to a repeater or a comparator, with toggleable logic modes.

Obtaining

A logic gate can be obtained via crafting. Check out the crafting recipe in the gallery.

Available Logic Modes

  • Single-input (back): BUFFER, NOT
  • Double-input (left and right): OR, AND, XOR, NOR, NAND, IMPLY, NIMPLY

Toggle between Logic Modes

  • Right-click on the logic gate to cycle through modes.
  • Hold Shift and right-click to cycle in reversed order.
  • Default mode when placed: BUFFER
  • Logic modes are cycled in the following order: BUFFER, NOT, OR, AND, XOR, NOR, NAND, IMPLY, NIMPLY

Configurables

Gate Delay

  • Gate delays can be configured independently for each mode.
    • Query: /logic_gate gateDelay query [mode]
      • mode: buffer|not|or|and|xor|nor|nand|imply|nimply.
    • Modify: /logic_gate gateDelay set [mode] [x|default]
      • mode: same as the query command.
      • x: an integer between 0 and 20 (inclusive).
      • default: sets the delay tick value to 2
      • Requires permission level of at least 2.

Smart Redstone Wire Connection

  • If enabled, redstone wires will only automatically connect to input sides used by the current logic mode.
  • Example: Redstone wires will only automatically connect to the back input side when the logic gate is in BUFFER mode, not the left and right input sides.
  • Existing redstone wires need to receive a block update after changing this setting.
  • Setting info obtainable and configurable via command
    • Querying: /logic_gate smartRedstoneWireConnection query
    • Modifying: /logic_gate smartRedstoneWireConnection set [true|false|default]
      • default: sets the value to false.
      • Requires permission level of at least 2.

Compatibility

Mod Loaders

Fabric

Game Versions

1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 +11 more

Screenshots

Similar Mods

External Resources