mojira.dev
MC-97276

{OnGround:} tag behaves weirdly when jump boost is applied.

Can be reproduced similarly to https://bugs.mojang.com/browse/MC-97273 and seems to alter score the same way.

Commands:
/scoreboard objectives add test dummy

On a clock:
/say 1
Used to "clean" up chat, keep it updated.

/scoreboard players set @a test 0
Whether you add {OnGround:0b} or not doesn't affect this.

/scoreboard players set @a test 1 {OnGround:1b}

What happens: Chat will spam you with '1' until you land again. It will output
your name once.

How to reproduce bug:

Method 1: Run the command below:

/effect @p jump_boost x 255
Replace 'x' with the duration amount.

Then spam jump. It wil result in your score first being 1 while in the air, then constantly outputing your name in chat when you land. A moment later it'll display your name again, but under that period there's a big hole without the score turning true (1) again. If you look at the score in a sidebar you might see that the score fluctuates when it's not meant to.

This can be reproduced with most potencies above 127, but the majority of them stop you from being able to jump. Another number that works is 252 (I'm pretty sure). I do not know why this happens, but at some point it stops
detecting that you're on the ground, when you clearly should be, it's not like I'm falling through the blocks, I'm standing solidly on a block and it assumes I'm not for a short period of time.

The chat should looks something like this:

(In air) Tick 1: 1
(In air) Tick 2: 1
(In air) Tick 3: 1
(On ground) Tick 4: @p
(On ground) Tick 5: @p
(On ground) Tick 6: @p
(On ground) Tick 7: 1
(On ground) Tick 8: 1
(On ground) Tick 9: 1
(On ground) Tick 10: 1
(On ground) Tick 11: @p
(On ground) Tick 12: 1
(On ground) Tick 13: 1

After recent testing, I've noticed that it only seems to happen when you jump.

Comments 1

/effect @p jump_boost x 255

invalid, unsupported amplefier

Absent Future

(Unassigned)

Unconfirmed

Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a, Minecraft 16w07b

Retrieved