mojira.dev
MC-98222

Bows/Arrows do not work correctly with levitation levels 128-255.

When the player is given the levitation effect with a strength of 128 to 255 (aka downward motion) arrows shot from bows do not work correctly. They are created several blocks (7-ish?) above the player and are often given inverted motion to what is normal. To replicate enter '/effect @p minecraft:levitation 15 255' and shoot a bow.

Related issues

Comments

kumasasa

Effects with amplifiers over 4 are not supported

migrated

That's... extremely unfortunate... 😞

In my opinion major bugs such as this should be addressed. This breaks many potential concepts.

kumasasa

This is no bug.
Amplifiers are - deliberately - not capped at 4, you may use it, but you'll have to face the consequences.

migrated

Are you able to explain to me how it handles amplifiers above 4? Is the downward levitation beyond level 128 (and other various features, such as jump boost that disables jumping at a specific amplifier) not intentional?

kumasasa

Are you able to explain to me how it handles amplifiers above 4?

It's casting a unsigned byte to a signed byte/int.

Is the downward levitation beyond level 128 (and other various features, such as jump boost that disables jumping at a specific amplifier) not intentional?

It's not intentional, it's a side effect caused by the above mentioned byte underflow (128 unsigned = -127 signed)

migrated

Alright, fair enough...

migrated

Seeing as using "high" amplifiers is now considered a 'feature' used by the map making community, I have to say that I think marking this as a duplicate of a 2013 bug is the wrong action.

I get that high amplifiers may have strange effects on the player (negative levitation in this case) - but the bug here is the behaviour of the arrows, not the player.

Can this be reconsidered? Lot's of custom maps will want to use negative levitation. Being unable to use a bow/arrow with this is really unfortunate.

kumasasa

As already said, the valid range of amplifiers is 0 to 4. Everything else has to be taken as is.

Regardless of that this site is for bug reports only. For feature suggestions or changes please see: Minecraft Suggestions on Reddit.

migrated

OK. Thanks anyway! To be clear I wasn't suggesting any new features. It's just that it wouldn't be the first time an unintended behaviour was adopted as a feature.

Thanks, and keep up the good work!

migrated

(Unassigned)

Unconfirmed

Minecraft 1.9 Pre-Release 4

Retrieved