Mojira Archive
MC-264658

Only integer numeric data type can be used in macro

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.

Fixed

iliamakar

[Mojang] slicedlime

2023-08-05, 06:47 AM

2023-09-04, 07:34 AM

2023-09-04, 07:34 AM

8

7

Confirmed

Important

Platform

Commands

23w31a, 23w32a

1.20.2 Pre-release 1