mojira.dev
MC-105548

When i /effect my self with jump boost 200 it gives me jump boost -55

when i /effect myself with jump boost 200 instead i get jump boost -55

i expected to get jump boost 200
i thought i would get jump boost 200

what actually happed was i got jump boost -55
when i put /effect AngryApple125 minecraft:jump_boost 100000 200 it gave me jump boost -55

Steps to Reproduce:
1.type /effect (playername) minecraft:jump_boost 100000 200

Attachments

Comments 4

The level of a effect is saved as a byte, which has a range of -128 to 127, setting it higher will make the byte overflow and start again at -128, aka
200=127+73
-128+73=-55

Outside of that, amplifiers over 4 are not supported.

Edit: Off by 1.

Btw: effects with amplifiers over 4 are not supported.

@unknown I already said that...

Kazuto Kirigaya

(Unassigned)

Unconfirmed

Minecraft 1.10.2

Retrieved