You can't see players trough transparent parts of slime.
MC-9553 Wrong rendering order of particles, hitboxes, clouds, transparent blocks, breaking animations and various other transparent textures
MC-36948 Other kinds of mobs don't render through Charged Creeper "armor"/outer slime layer/enderman neck