From Int
Provides an integer converted as a float.
Type ID: kaya:from_int
Format
| Field | Type | Default | Description |
|---|---|---|---|
value |
Int Provider | The integer value to convert as a float. |
Example
This example will get the count of the item provided by the kaya:used_item context parameter and converts it as a float.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |