Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-264658

Only integer numeric data type can be used in macro

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20.2 Pre-release 1
    • 23w31a, 23w32a
    • None
    • Confirmed
    • Commands
    • Important
    • Platform

      How to reproduce:

      1. Create a function with following content:

       

      $tp @s ~ ~$(y) ~

       

      2. Run:

      /function namespace:id {"y":10.0}

       

      You will get the error shown in the screenshot below.

            slicedlime [Mojang] slicedlime
            iliamakar iliamakar
            Votes:
            8 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: