I started a world on survival and started playing I made some awesome things and I had bonus chest: on and cheats: on. It was going pretty great until I used /gamemode and changed it to creative mode so I could make some sort of large structure. I switched back to survival and everything was fine for about one hour and then I could not break any blocks whatsoever. I tried using my hands to break all kinds of different blocks and they would not break it was as if I was hitting air. I tried hitting dirt with a shovel and to my surprise it broke. I did not find out what the cause was until I eventually made another world and then was able to pinpoint the problem. If you have an item or not item in your hand you can not break any blocks. I fixed it by putting all my inventory items in a chest on my broken world then I found my coordinates. after that I made another world and replaced the broken level.dat with my new ones and had to f3 and just search for my previous coordinates
Related issues
is duplicated by
Comments


Please force a crash by pressing F3 + C for 10 seconds while ingame and attach the crash report here when this happens.

same happens to me
you have to change the game mode
open up the text imput
type
/gamemode 0
and it will all go back to normal

same thing happened to me I didn't know what to do I searched for hours to fix this bug but I found nothing to do I came to this website and I finally fixed this bug I saw Emilio Cruz comment I did the bug was fixed just type /gamemode 0 everything will be okay and I don't know what gamemode 0 is but thank you Emilio Cruz for sharing this comment to with us.
You will have accidentally put yourself into adventure mode. In this mode you can only break blocks with the tools given to you.