If you put the mob spawner underwater you can put the egg spawn only if you are not underwater or lava. You may notice that if you get underwater and try to put the egg spawn in the mob spawner it will just spawn the mob
Device: LG K10
Related issues
is duplicated by
Attachments
Comments


That could be because you are in the same space as the water or lava meaning you press those instead of the spawner. How far were you from the spawner?
Was the spawner highlighted or outlined when you pressed it?

I was very close to the spawner and yes the block was outlined. This may be happening for the reason that when you are underwater even if you choose to spawn the mob near a certain block it will always spawn close to you

It's because of the functionality of spawning mobs with egg spawn in blocks of water. And as you are underwater you will always spawning the mob in the block of water that is in the same block as you

You mean spawn egg?

So is the problem solved how do you fix this

This is because on bedrock edition you use when you use a spawn egg underwater you will always spawn the mob on the water even if you are aiming at a non liquid block through the liquid, while on java you only use spawn eggs on liquids when not aiming at a non liquid block. This is the bug here. This makes it impossible to use a spawn egg on a mob spawner underwater.

Fixed in 1.16.100