Reorganized Minecraft run loop into methods