You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to kill players by setting the player.health variable to 0 or a negative value, however it displays the default Minecraft death screen for them and after they click Respawn it spawns them on some vanilla world. Setting max-health to 0 or negative actually sets it to half a heart, so maybe it could be the same with health if proper killing isn't an option?
The text was updated successfully, but these errors were encountered:
Under which context are you attempting to kill players?
The main concern is how this will look in terms of death message and such. Should it be a separate death? should it act like combat-log where it tries to use your previous damage as the reason for your death? etc
Under which context are you attempting to kill players?
The main concern is how this will look in terms of death message and such. Should it be a separate death? should it act like combat-log where it tries to use your previous damage as the reason for your death? etc
I don't have a context right now, because I've realised it wouldn't work for what I was trying to do. Namely, I wanted to find a better way of increasing map's void level than setting players' health to 1 + teleporting them into the deep void and that would just have no way to display the correct death message. Since it can be used for many things I think the most appropriate message would be the generic one
I wanted to kill players by setting the player.health variable to 0 or a negative value, however it displays the default Minecraft death screen for them and after they click Respawn it spawns them on some vanilla world. Setting max-health to 0 or negative actually sets it to half a heart, so maybe it could be the same with health if proper killing isn't an option?
The text was updated successfully, but these errors were encountered: