Skip to content

Large numbers are stored in an invalid format #44

@njb1286

Description

@njb1286

When storing large numbers in variables, the compiler stores the values in the format like this:
1e-06
This is an invalid format for Minecraft, because Minecraft can only use static numbers, and not scientific notation. It compiles into something like this:

execute store result storage wither_skull out.OffsetPos[0] double 1e-06 run scoreboard players get Global xWithOffset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions