Download Mascom (Mass Commands) — Minecraft Mods — MetaMods
Mascom (Mass Commands)

Mascom (Mass Commands)

Active

Downloads

0

Last update

1 year ago

Versions

1.19 — 1.21.4
Server
Fabric
Forge
Neoforge
Quilt
Control
Utils

Mascom (Mass Commands)

Ever wanted to execute a single command multiple times without repeatedly pressing the up arrow and Enter? With this datapack, it's incredibly simple!

Usage

To execute mass commands, simply use:

function mascom:run {c:"<command>",i:"<iterations>"}

Replace <command> with your desired command and <iterations> with how many times it should be executed. That's it!

Usage Examples

function mascom:run {c:"summon sheep ~ ~ ~",i:"100"}

This command instantly summons 100 sheep at the player's position.

function mascom:run {c:"kill @e[type=!player]",i:"2"}

Destroys all entities except the player, twice. This effectively cleans up items that might have dropped from killed mobs. Important: using kill @e may disrupt other datapacks.

function mascom:run {c:"execute if predicate {'condition':'minecraft:random_chance','chance':0.1} run say This message appears with 10% chance!",i:"100"}

The system works perfectly with conditional commands like execute if. Ideal for testing probability-based events!

[Video demonstration can be here]

Project members
Flyrr

Flyrr

Developer

Created: 6 Mar 2025

ID: 83546