Steps to reproduce
Trap an entity in a 1x1 spot surrounded by transparent or partially transparent blocks like glass or several of the doors or trapdoors.
Give yourself mining fatigue.
While looking at the entity, start mining one of the blocks.
Expected result
You see the entity just as much while mining as when not mining.
Observed result
The parts of the entity that should be seen through the block-breaking texture become invisible.
[media]
Video link :
https://www.mediafire.com/file/3pniv4pu52it3zg/Screen_Recording_20231122_170440_Minecraft.mp4/file
MuhammedKrid: The complete invisibility shown in your video is caused by your resource pack. In vanilla only the parts of the entity that are behind the visible part of the block-breaking overlay are affected. See my attached video for the vanilla behavior.