Mineuniverse
Log in Register
Mods

Command Executor Block

Adds a block that allows you to execute commands without logging them in chat. Perfect for structures.
by keerdm
Download Claim this project
374 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Structures World Gen

Command Executor Block


This mod allows you to easily integrate and trigger custom commands within structures, making it simple to add special features or mechanics to your structures. This mod adds a new block that executes commands, enabling you to place it in your structures for automatic command execution. This block could work in world gen to but i have not tested.

Features:

  • Command Execution: Execute any command with the command_executor_block through the BlockEntityTag.
     
    /give @p command_executor_block:command_executor_block{BlockEntityTag:{Command:'summon minecraft:item_frame ~ ~ ~ {Item:{id:"minecraft:iron_sword",Count:1b},Facing:1b,Rotation:0b,Tags:["randomRotation"]}'}}
    This command will summon an item frame with a random rotating iron sword.

  • Random Commands: Pair it with my RandomCommand mod to make randomization possible.
  • Developer Mode Support: To add these command blocks to structures, you will need Developer Mode enabled. This is in the config file!

Important Notes:

  • Requires the RandomCommand mod for random item functionality.
  • I recommend using ChatGPT for creating long or complex commands, as they can get a bit confusing.
  • Feel free to use this mod in any of your modpacks or as a dependency. I also encourage you to make reviews or videos about the mod, but you would need to include a link or mention the mod's name in the video.
Command Executor Block 1.1.jar
MC Client, 1.20.1, Forge, Server
Release 2024-12-15 Get

More from keerdm

Keerdm's Binoculars
6,997,545
Keerdm's Zombie Apocalypse Essentials
5,741,732
WMD - Weapons of Mass Destruction
5,492
Random Commands
4,367
Simple Band Aid
3,848
Server Kill Logger
311

You Might Also Like

The Lost Castle [Fabric]
A gigantic castle that once was the home of a long forgotten civilization
9,515,536
Portable blueprints
Tired of manually building the same structures over and over, like roads, street lamps, or houses? This mod is perfect for you! Scan your structure and create a blueprint so you can rebuild it instantly with just one click!
993,969
Stumble Upon: Campsites
Spawns Campsites in your world, which you can explore, sleep in, craft and collect loot.
962,832
Infinite Dungeons
Spawn new dungeons to conquer.
944,956
Deep Dungeons
Simple dungeons for Fabric.
96,384
the lost city and Farmer's Delight
adds structures with blocks from Farmer's Delight to mod the lost city
95,146