mojira.dev
MC-271901

Entity effect "play_sound" Field "pitch" value upper limit is 1.0 instead of 2.0

Despite the changelog says pitch value upper limit is 2.0, if pitch value greater than 1.0 game will report errors.
error datapack in attachment.

Attachments

Comments 1

It works if you use a map

"pitch": {
    "type": "minecraft:uniform",
    "min_inclusive": 1.5,
    "max_exclusive": 1.6
}
"pitch": {
    "type": "minecraft:uniform",
    "min_inclusive": 1.5,
    "max_exclusive": 1.6
}

but I think apparently using a single number actually creates a range from N to N+1 for some reason? I can't imagine that's intended for this field

Tomatoiab

Panda4994

Confirmed

Platform

Normal

Data Packs, Sound

24w18a, 24w19b

24w21a

Retrieved