Thx for your support pls change the lock to cheats in the command menu.
I meant to say that I have a totem in my offhand and I died but it is fixed now!
The image I provided you in the previous comment shows that the player shadow isn't looking weird. yes, I forgot to tell you that whether I turn on the cheats or off it I can still go to creative or spectator and every mode again, it was a very nice game!