Removed some references to Minecraft.getMinecraft()