Jump to content

Corpse Displayed in f5 when Respawning Player


jredfox

Recommended Posts

Code: https://github.com/jredfox/norespawnscreen

 

Setup:
dl evil notch lib beta snapshot 36 or higher
make fresh mdk
dl github source and replace mdk source
thow evil notch lib in the mdk libs folder and add it to the eclipse java build path

Steps to reproduce:
go into the nether with /tpdim @p ~ 129 ~ -1 or simply build a portal and die in lava in a different dimension 

place a 2x2 lava pit

die in lava

notice that in f5 mode most of the time it displays you are dead still.

My code manually says to respawn the player on death event. if you use /tpdim command again it goes away so what packet should I be sending to the client that the player is still alive and is a new player? I do the equivlent of EntityPlayerMP#onDeath() method for the player before using the playerlist re-create the player

Edited by jredfox
Link to comment
Share on other sites

So should I be creating a custom packet to tell the player he is alive? Where on the client does it think that you are dead? Where is the model code that renders you are dead as well?

Edited by jredfox
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.