Skip to content

Fix /back tp offsets#327

Merged
boubou19 merged 3 commits into
masterfrom
fix-back-offset
Jul 14, 2026
Merged

Fix /back tp offsets#327
boubou19 merged 3 commits into
masterfrom
fix-back-offset

Conversation

@Lyfts

@Lyfts Lyfts commented Jul 13, 2026

Copy link
Copy Markdown
Member

Summary

Re-adds the +0.5 offset to x and z coords to ensure the player doesn't spawn in a wall and lowers the y offset from 0.5 to 0.3 which is enough to spawn above a grave while not hitting the block above.

Closes #323

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

@Lyfts
Lyfts requested a review from a team July 13, 2026 12:27
@github-actions

Copy link
Copy Markdown
Contributor

#328

Co-authored-by: GitHub GTNH Actions <>
@Sanduhr32

Copy link
Copy Markdown

what happens if a player died on a lower slab?

@Lyfts

Lyfts commented Jul 13, 2026

Copy link
Copy Markdown
Member Author

Not a whole lot since dying on a slab means there will always be at least 2.5 blocks worth of space above it, otherwise the player wouldn't be able to stand there.

@Sanduhr32

Sanduhr32 commented Jul 13, 2026

Copy link
Copy Markdown

yeah but wouldnt the grave spawn in the block above the slab? wouldnt the player get teleported .2 blocks below their grave stone?

@Lyfts

Lyfts commented Jul 13, 2026

Copy link
Copy Markdown
Member Author

It has the same amount of space above as when dying above any other block, thus the behavior is the same. The player spawns on top of the grave stone, so the space beneath it is also a non-issue.

@boubou19
boubou19 merged commit 3dabbef into master Jul 14, 2026
1 check passed
@boubou19
boubou19 deleted the fix-back-offset branch July 14, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Back will get stuck in the wall

4 participants