Skip to content

Large numbers are stored in an invalid format #44

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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