I just need to make the entities not attack the player just like creative, For context I am making a mod where you're a zombie, I already made it where you burn in the sunlight, I just need entities not to attack.
When I hover the crosshair over the glass, the glass pane outline appears, but it renders like a normal block, I tried translucent and cutoutMipped, non of these have worked.