When a mob or a player fall onto a trapdoor or a carpet, the particle is not from the trapdoor or the carpet but from the block under it.
Steps to reproduce the issue
Put a trapdoor or a carpet anywhere then fall onto it.
Expected result
The particle is from the trapdoor or the carpet.
Actual result
The particle is from the block under it.
Thank you for helping us improve Minecraft! We saved your files: