promotional bannermobile promotional banner
header
capitalistspz's gameplay commands avatar

capitalistspz's gameplay commands

Install

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.