mojira.dev

Daniel Chýlek

Assigned

No issues.

Reported

MC-46472 Spectator mode - speeding up/down works only first time Fixed MC-32640 Custom potion effect cures aren't saving Invalid

Comments

The same bug also affects sprinting, if I sprint on a server with bad ping it stops me from sprinting for a short moment and then restarts, or starts wobbling forever... it actually makes sprinting in 1.16 unusable... thinking about modding it out just to make the game playable again.

Definitely not fixed, this has been happening forever and it still happens in 1.16. Also not a duplicate of MC-4839, I don't know why it was marked so when this bug has absolutely nothing to do with it.

Reproduced in 20w16a. When I type commands with ~ which uses AltGr, I run into the bug about once a minute and end up deleting half the command when I press backspace, it's so annoying.. didn't happen in 1.12 or before.

Reproduced in 1.15.2.

The easiest way to reproduce this is to spawn one or more cows in superflat, hold wheat, and walk backwards in a straight line or at a slight angle. You should see the mob suddenly rotate, or even spin in place every few seconds.

Remarks:

  • More entities = higher chance of it occurring, possibly because they push each other, but it still happens with just 1 mob.

  • It seems to depend on the mob width. It doesn't seem to happen with chickens, but large mobs (cows, pigs) trigger the bug more often. Also reproducible with for ex. creepers, but you may have to strafe around the mob instead of walking straight.

 

Still the case in 1.14.3.

Not resetting EntityAINearestAttackableTarget.targetEntity can also leak previously targeted entities in memory, don't know if that should be opened in a separate issue when it's essentialy the same bug, but it has some additional (and more severe) implications than just causing issues with Endermen.

I found another problem with it, not only the unicode fonts used to get distorted, but it also happens with 32x32 items in the GUI 😞
On this screenshot, I just copied an item into a 32x32 texture. As you can see, in the hotbar the texture also gets distorted and looks ugly. Is there anything that can be done about it?
http://i.imgur.com/5Kps9Wv.png

Used latest snapshot, 14w30c.

(btw. the texture is from Mindcrack resource pack if anyone wonders, I just grabbed the first pack I found and copied one of the textures into a grid like that)

I think that's because if you do it in 1.6.4 or older, the unicode text on Large GUI setting is scaled, but it looks distorted and is pretty much unreadable.

I found a fix for it, hopefully some Mojangsta sees it and fixes it in game. The textures/entity/end_portal.png texture is binded only once, when the first layer on the bottom is generated. On ATI/AMD cards, each render overwrites the previous one, if the texture isn't rebinded, thus only the last layer (the topmost blue layer) is visible.

By having the texture rebinded every single time, it renders correctly - here's a screenshot of the decompiled code: http://i.imgur.com/mizF9Fx.png

I've checked the code for 1.7.2, and the curative items list is gone completely, probably deleted during code refactoring as it wasn't used in vanilla. I suppose the latest snapshot doesn't have that feature either... oh well. The issue can be closed.