Player stuck in grass path when it changes to dirt
The bug
Since grass paths are 15/16ths of a block, converting it to dirt by placing a block over it (such as a sign) will cause the player to get stuck in it.
Code analysis
See this comment on MC-104259; the same logic needs to be applied to grass path conversion.
Linked Issues
discovered while testing1
relates to3
Created Issue:
Player stuck in grass path when it changes to dirt
Since grass paths are 15/16ths of a block, converting it to dirt by placing a block over it (such as a sign) will cause the player to get stuck in it.
Code analysis: see this comment on
MC-104259; the same logic needs to be applied to grass path conversion.
discovered while testing
Since grass paths are 15/16ths of a block, converting it to dirt by placing a block over it (such as a sign) will cause the player to get stuck in it.
Code analysis: see this comment on
MC-104259; the same logic needs to be applied to grass path conversion.The bug
Since grass paths are 15/16ths of a block, converting it to dirt by placing a block over it (such as a sign) will cause the player to get stuck in it.
Code analysis
See this comment on
MC-104259; the same logic needs to be applied to grass path conversion.
relates to
relates to
The bug
When a dripleaf receives a redstone signal while only partially tilted, any entities on top if it such as the player will immediately clip through it.
Clipping through blocks is not desirable behaviour, with several cases of this being fixed before.
How to reproduce
- Place a big dripleaf on the ground
- Stand on the big dripleaf
- While the dripleaf is only partially tilted (such that the hitbox is shorter and the player has fallen slightly), place a redstone torch next to the dripleaf to power it
Expected results
The player shouldn't clip through the dripleaf, as clipping through physically solid blocks has been historically considered undesirable behaviour. Refer to the "how to fix" section for three proposed solutions.
Actual results
The player just clips straight through the dripleaf.
How to fix
Any of the three following things should happen as to ensure the player doesn't clip through it:
- Instead of reverting to its untilted state, the dripleaf would instead retain the tilted state it was in when it received power. This would either only remain until the player steps off it, or it could be permanent until power is removed; this latter option would have useful applications if a permanently-tilted dripleaf is desired.
- The dripleaf would immediately revert to its untilted state, and the player would be moved up slightly to be on top of it. This is the approach that has been used to fix similar issues with changing block sizes, such as farmland/dirt paths reverting to dirt (
MC-104259,MC-120611), and increasing stacks of turtle eggs (MC-129309). - The dripleaf would immediately revert to its untilted state, and due to the speed at which it moves back, the player on top would be launched upwards by it, similarly to a slime block moved by a piston.
Relates to MC-120611
The bug
If the player (or probably any other entity) is standing on top of a mud block as soon as that mud block becomes clay via the dripstone mechanic, the player will fall into the clay block. If there are no blocks around that clay block, this can additionally cause them to be pushed out of it sideways.
How to reproduce
- Place mud
- Place a block below the mud
- Place a stalactite below the block
- Stand on the mud
- Wait or set randomTickSpeed to a high value
Expected results
As the mud converts to clay, the player would be moved upwards slightly to accommodate the clay block's hitbox, as is done for farmland that becomes dirt.
Actual results
The player is not moved upwards and falls into the clay as a result.
Code analysis
Code analysis by [Mod] Avoma can be found in this comment.
You get teleported because the dirt path turns into dirt. Generally, when a dirt path turns into dirt, all entities inside it are teleported on top, due to the MC-120611 fix. What’s strange here is that you can place the dirt path block inside yourself. As noted in other comments, this doesn't happen with farmland. Placing the block doesn’t play the sound or hand animation, similar to MC-129112. I’d suggest changing the report to "dirt path can be placed inside entities at locations where it immediately turns into dirt."