跳到正文

capitalistspz’s gameplay commands

作者:capitalistspz

This mod adds commands and datapack tags that may be useful for server datapacks.

收藏

介绍

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

This mod is no longer updated

This mod requires Fabric API (pre ver1.1 only) and only necessitates installation server-side.

About this mod

Introduces three new commands and some datapack tags.

Commands

Damage and Heal

Idea from: https://feedback.minecraft.net/hc/en-us/community/posts/360042645571-Damage-Command

Modifies entity health, also works on players.

Syntax:

/damage entity @s value 3

/damage entity @e[type=pig,sort=nearest,limit=1] score @s my_score 1

/heal has the same syntax

Velocity

Idea from: https://feedback.minecraft.net/hc/en-us/community/posts/360011184651–motion-command

Modifies entity velocity and, unlike /data, it modifies player motion too.

Syntax:

/velocity modify target add value x y z

/velocity modify target set from entity

Extra Scoreboard Operations

Idea from: https://feedback.minecraft.net/hc/en-us/community/posts/360061096872-Add-an-integer-square-root-function-for-scoreboard-objectivessuggestion

Adds new commands that add square root and exponential functions applicable to scoreboard scores.

Syntax:

/sb_operations target targetObjective sqrt

/sb_operations target targetObjective pow source sourceObjective

Other

(1.1+) Allow /data command to modify players

If you encounter any bugs or would like to request a feature, please create an issue on my github.

常见问题

capitalistspz’s gameplay commands 支持哪些 Minecraft 版本?

capitalistspz’s gameplay commands 支持 Minecraft Java 版 1.16.4–1.17.1,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

capitalistspz’s gameplay commands 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

capitalistspz 的其他作品

查看全部 →