datapackers or mapmakers may find this useful
/eval
min(n1,n2,...),avg(n1,n2,...),len(n1,n2,...),abs(n1,n2,...),floor(n1,n2,...), etc...
<name>?<objective>px py pz and rx rymin(n1, n2, ...)
max(n1, n2, ...)
sum(n1, n2, ...)
avg(n1, n2, ...)
len(n1, n2, ...)
abs(v)
floor(v)
ceil(v)
round(v)
sqrt(v)
pow(base, exp)
sin(rad)
cos(rad)
tan(rad)
log(v, base)
ln(v)
clamp(v, min, max)
lerp(a, b, t)
smoothstep(edge0, edge1, v)
map(v, inMin, inMax, outMin, outMax)
rand(min, max)
rand(min, max, seed)
dot(x1, y1, z1, x2, y2, z2)
euler_dot(pitch1, yaw1, pitch2, yaw2)
"pi"
"tau"
"e"
"rx"
"ry"
"px"
"py'
"pz"
/raycast
run
/distance
/check <blocks|intersect|collision>
/check blocks returns how many matching blocks it found in a cuboid area
/check intersection returns how many of the selected entities hitboxes are intersecting with the position the command is executed at
/check collision returns how many blocks the entity is intersecting with
/motion <set/add>
<with|to|at>
with allows a 3d direction inputto allows a 3d position inputat allows a 2d rotation input/motion multiply
/heal
/ignite <set/add>
/entitify
<block_display/falling_block> [keep/remove] [tag(s)]
Tags:["+ <tag> +"])/repeat
run
/multicommand
/multicommand <c:you can do comments like this>say 1</c> <c>say 2</c:comments can be at the end too>... if text <inрut>
...
endswith
startswith
contains
exact
ignorecase
matches
... if eval
...
/eval 1=0 would return 0, since the statement is false/eval 0<=-10 || 1=1 would return 1, because of the OR operator, and the second, true, statement... positioned over closest_ground
...
... positioned over closest_ground_down
...
... positioned over closest_view
...
... positioned over closest_view_entity
...
more features will be added in the future, feel free to suggest features via github issues
i know i said the same thing at the start im not an NPC

a serverside mod adding commands useful to mapmakers and others