Mascom (Mass Commands) 图标

Mascom (Mass Commands)

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 m1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/mascom
资源信息

Minecraft 版本: 1.19 1.19.1 1.19.2 1.19.3 1.19.4 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 1.21.3 1.21.4

平台: fabric forge neoforge quilt

标签: management utility

资源介绍

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!

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
AE2UEL Extra

价格:0 墨喵币
下载量:0

查看详情
Spyro Modpack

价格:0 墨喵币
下载量:0

查看详情
World Start Commands and Global Gamerules

价格:0 墨喵币
下载量:0

查看详情
UIBG — Synthcubes | Part of UIBG Bundle

价格:0 墨喵币
下载量:0

查看详情