Use raw input on Minecraft 1.12.2. Make mouse input feel smoother and fix mouse jitter.
credit to DALL-E and OpenAI