跳到正文

Mascom (Mass Commands)

作者:Flyrr

Run any command as often as you like AT ONCE and easier than ever before :)

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Ever wanted to run one command multiple times but at once and without spamming the up-arrow and enter-key?
This datapack makes it possible, easier than ever before!

How to use

Just run

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

and replace with the desired command and with how often you want the command to be run, it’s easy as that 🙂

Examples

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

Summons 100 sheep at the players position

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

Kills everything but the player, twice. This instantly gets rid of any items the killed mobs might drop.
NOTE: Running kill @e will break most other datapacks

function mascom:run {c:"execute if predicate {'condition':'minecraft:random_chance','chance':0.1} run say There's a 10% chance of this message being displayed!",i:"100"} 

Of course you can also use this with conditional commands like execute if. You could use it to test probability-based events!

Interested in making your own datapacks?

I am one of the founders of Datapack Hub, the perfect discord server for helping you do just that! Whether you are just getting started or have advanced questions, with ~2500 members and our team of verified helpers, we got you covered!
_(This is a passion project and I am not getting paid for promotion)_

Click here to join the Datapack Hub Discord server!

常见问题

Mascom (Mass Commands) 支持哪些 Minecraft 版本?

Mascom (Mass Commands) 支持 Minecraft Java 版 1.19–26.3,共 25 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Mascom (Mass Commands) 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Flyrr 的其他作品

查看全部 →