Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
Changelog
Fixed Point = Int fixed point with 3 decimal after the coma(1->1000, 2.107->2107, 3.1415->3141)
Vector = Array of 3 double var
Setup
/function math:setup
To initialize the pack you need to execute this command
Easing Functions
Easing In/Out/InOut Power
/function math:function/ease/inpower
/function math:function/ease/outpower
/function math:function/ease/inoutpower
Input : scoreboard "In0 RacoonMath" progression Fixed Point in range 0-1000 (= 0-1.000), scoreboard "In1 RacoonMath" the int power of the easing
Output: this function return the Fixed Point value of the easing
Other ease functions
Input : scoreboard "In0 RacoonMath" progression Fixed Point in range 0-1000 (= 0-1.000)
Output: these functions return the Fixed Point value of the easing
new in Math Functions input
Sqrt
New Input: scoreboard "Math.In1 RacoonMath" the scale of the Input value
Output: return the sqrt value scaled
ex: To take the square root of 1.230 you run the function with In0 = 1230 and In1 = 1000, return 1109
Fast exponentiation
New Input: scoreboard "Math.In2 RacoonMath" the scale of the base value
new in Vectors
Bezier Interpolation
/function math:vector/interpolation/bezier
return the interpolated 3d vector of the 3 input vector and the progression
Input : storage math:data in (array of 3 vectors), scoreboard "Math.In0 RacoonMath" progression Fixed Point value
Output: storage math:data out (vector)
Cubic Bezier Interpolation
/function math:vector/interpolation/cubic_bezier
return the interpolated 3d vector of the 4 input vector and the progression
Input : storage math:data in (array of 4 vectors), scoreboard "Math.In0 RacoonMath" progression Fixed Point value
Output: storage math:data out (vector)
Files
Metadata
Release channel
ReleaseVersion number
1.0.1Loaders
Game versions
1.21.6–1.21.8Downloads
12Publication date
August 11, 2025 at 8:09 AMPublisher

RacoonJohn
Member


