In Minecraft Bedrock Edition, local multiplayer is supported on consoles, allowing multiple players to join the same game on a single device. However, neither Minecraft Bedrock Edition nor Java Edition provides native support for this feature on PC.
After experimenting with mods and tweaking certain game settings, I discovered a workaround that allows up to 4 players to play locally on Minecraft Java Edition using a single account. This setup works offline, and each player can control their character using a combination of controllers and keyboards, all enabled through mods and specific settings adjustments.
This method is shared for personal and educational use only and is not officially supported by Mojang. The goal is to provide a creative solution for players who want to enjoy local multiplayer in Minecraft Java Edition, similar to what is available in Bedrock Edition on consoles