mojira.dev
MC-298122

The "number_range" slider is taking wrong steps

The bug

When setting the step option to 0.01 in a number_range field, it sometimes does not increase or decrease the step by 0.01 (as seen in my screenshots).

Minimal dialog for reproduction

{
  "type": "minecraft:simple_input_form",
  "title": "",
  "inputs": [
    {
      "type": "minecraft:number_range",
      "key": "",
      "label": "",
      "start": 0,
      "end": 1,
      "step": 0.01
    }
  ],
  "action": {
    "label": "",
    "id": "",
    "on_submit": {
      "type": "minecraft:custom_form",
      "id": ""
    }
  }
}

Attachments

Comments 1

Separate issue, reopening.

Ron

(Unassigned)

Confirmed

Platform

Normal

Commands, Data Packs

25w21a

Retrieved