Cadiboo / NoCubes

A mod for 1.12.2+ that creates smooth terrain in Minecraft
https://Cadiboo.github.io/projects/nocubes/
GNU Lesser General Public License v3.0
140 stars 12 forks source link

Placing blocks may drop the player underground #93

Open SodiumZH opened 1 year ago

SodiumZH commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Is this on 1.19?

SodiumZH commented 1 year ago

Is this on 1.19?

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

SodiumZH commented 1 year ago

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 commented 1 year ago

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

Cadiboo commented 1 year ago

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.