Back to Mods
Project

Saro's Interactive Blocks

Create custom block interactions to execute commands on click, touch, or redstone signal.

Header

Assign commands to any block that run when a player right-clicks, left-clicks, walks over, or applies a redstone signal to it. Setup is entirely in-game — no config files. Block actions are stored in world/BlockActions/X_Y_Z.txt.

Overview

Trigger Types

Trigger Letter Description
Right-Click R Player right-clicks the block
Left-Click L Player left-clicks (not while sneaking)
Touch T Player walks over the block
Redstone S Block receives a redstone signal

Commands

Command Description
/blockaction create <side> <trigger> <command> Create a block action (look at the block first)
/blockaction delete Delete actions from the looked-at block
/blockaction info Show all actions on the looked-at block

Parameters:

  • Side: S (server) or C (client) — who executes the command
  • Placeholder: <player> is replaced with the triggering player's name

When a block with actions is broken, the associated data file is automatically deleted.

Showcase

Note: This wiki serves as documentation. For active discussion, please join the Discord Server.

Featured

Need a Custom Mod?

Concept to code. I build professional, optimized mods tailored to your exact specifications.

Hire me on Fiverr