-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Allow waypoints to auto hide when a player is close enough #5672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow waypoints to auto hide when a player is close enough #5672
Conversation
apply this patch and ill merge it
|
@Wide-Cat I have applied the patch. |
Actually, hold off on merging this for a bit. There's currently a bug where the death waypoint is getting hidden before the player actually dies and respawns. I'll push a fix for it later. |
Ok, it should be good to be merged now, unless there are any more changes for me to make. |
Looks mostly good but a couple of things. Firstly, apply this patch for some small stuff. Secondly, why decide to change the death detection from opening the death screen to death message packets? In both singleplayer and the server I tested it on ( ![]() ![]() ![]() |
@Wide-Cat I have applied the patch, and reverted the death detection changes. |
Type of change
Description
This PR adds functionality to waypoints to allow them to toggle off their visibility once a player is within a particular range of the waypoint. This is useful for creating "temporary" waypoints, that only stay visible whilst the player is travelling to that point, and can automatically turn themselves off once the player has reached the destination.
As well, this PR makes death waypoints automatically hide themselves once the player is within 4 blocks of the waypoint.
How Has This Been Tested?