mojira.dev
MC-50848

Enderprearl thrown before death teleports after respawn

If you die after throwing an enderpearl in the air and respawn before the enderpearl hits the ground you get teleportet on impact and dont get damaged.

If you are still dead on impact the deathcam is going to shake as if it tries to teleport to the position of the impact and then gets reset to the deathpoint.

How to Reproduce:

0. get yourself a vanilla minecraft version
1. give yourself an enderpearl
2. type: /tp ~ 180 ~
3. throw the enderpearl in the air
4. wait for your death
5. click respawn as fast as possible
6. wait for teleportation (takes about 4 seconds on nonflat maps)

ps:
please keep in mind the attached source-code is a 5 min hotfix in a
mc forge-environment (forge-1.6.4-9.11.1.953) that only fixes the teleporting after respawn but not the camerashake
😉

this bug was experienced in mc 1.6.4 and was tested again in 1.7.5 and was tracked back to snapshot 1.3 (1.2.5 does not have this bug)

Linked issues

Attachments

Comments 8

sjhugrdtzk7rjehe5hg

Well the bug occured in vanilla minecraft in a completely clean fresh downloaded version only the fix is written with forge

Deleted account

Confirmed.

John Minecraft

Did you need to attatch the enderportal file?

sjhugrdtzk7rjehe5hg

@CraftyMiner
no the bug just works without the file

Not taking damage after respawning is because you get 3 seconds of invulnerability when you login. See Grum's second comment in the simular issue MC-212. https://bugs.mojang.com/browse/MC-212?focusedCommentId=13028&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13028

Nicholas Braden

Apparently this was fixed in 14w32a, I'm curious to know what the fix actually was - does anyone know?

Aifer Gettisnem

When you die, any thrown enderpearls that have your player name in the ownerName tag of the enderpearl are deleted. That's my assumption based on what I saw when I tested this fix.

Nicholas Braden

That doesn't seem like a proper fix - what if the ender pearl travels into unloaded chunks?

sjhugrdtzk7rjehe5hg

michael

Confirmed

ender_pearl

Minecraft 1.7.5, Minecraft 14w10c

Minecraft 14w32a

Retrieved