Power
Provides a float value raised to the power of another float.
Type ID: kaya:power
Format
| Field | Type | Default | Description |
|---|---|---|---|
base |
Float Provider | The base float value to raise to the power of an exponent. | |
exponent |
Float Provider | The exponent to raise the value of the base value. |
Example
This example provides $2.5$ raised to the power of $4.0$, which will be $39.0625$. $(2.5 * 2.5 * 2.5 * 2.5 = 39.06)$
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |