Skip to content
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

Placing blocks may drop the player underground #93

Open
SodiumZH opened this issue Dec 27, 2022 · 6 comments
Open

Placing blocks may drop the player underground #93

SodiumZH opened this issue Dec 27, 2022 · 6 comments

Comments

@SodiumZH
Copy link

I was fixing a creeper pit and found the player very likely to drop inside the ground surface, especially when placing a dirt block closely to the player itself.
When dropped underground, it will be difficult to escape by myself. Trying digging upside will dramatically make me drop deeper.

Seemingly collision detection of the flatened ground surface encountered some issues. When a player is stuck partly into the surface due to the surface change on the player's position (caused by a close block-placing), the player lose its collision onto the surface planes and detects nothing below its feet. The figure below is my guess:

Untitled

@SodiumZH
Copy link
Author

SodiumZH commented Dec 27, 2022

I removed NoCube and checked the ground, finding there wasn't any hole on the ground (after escaping from the solid blocks).
I'm not sure if sand falling is another cause of this issue...

@Cadiboo
Copy link
Owner

Cadiboo commented Dec 27, 2022

Is this on 1.19?

@SodiumZH
Copy link
Author

Is this on 1.19?

It's on 1.12.2. For higher versions I did't test.

@SodiumZH
Copy link
Author

To reproduce this issue:

  1. In survival mode, ignite a TNT on the ground to make a pit;
  2. Try fixing it with dirt blocks with the player standing inside or around the pit.

@Cadiboo
Copy link
Owner

Cadiboo commented Dec 29, 2022

I believe this has been fixed in newer versions (1.16.5 onwards)

@Cadiboo
Copy link
Owner

Cadiboo commented Dec 29, 2022

I am planning to backport fixes from 1.16.5+ to 1.12.2 some time in future but currently there is no roadmap for this.

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

No branches or pull requests

2 participants