Minecraft damage issue?

Be
9

Is it possible with a command to issue the damage so that the player does not get harmed in Survival / Adventure mode, for example when he is running a Magmablock?

Ro

/ gamemode creative

Be

Again someone who only paid attention to the headline.

Ni

/ damage should work according to Minecraftwiki

Be

Thank you! I'll try it later.

Ni

It can also be that I just read myself once. As often.

Be

According to gamepedia it should work, thanks again

Ro

Fortknight is way better than minecraft anyway

And my mum says I'm special

ti

/ godmode or / god should go too

Je

Do not do it it's too much effort. XD Mach just swap a file in a texture pack and rename the match.