https://experiments.turbowarp.org/pointerlock/1151500069/fullscreen Use the link above. TurboWarp is needed for a Pointerlock and also for performance.
I will make an even better version of this, just you wait. WASD to move, space to jump, shift to move down in water, use the mouse to change camera direction. Also use P to pause the game. Credit for the tutorials by Findgpepper(3) Original Code Credits: This code is originally from Findingpepper's tutorials and his Minecraft 3D project. Graphics Credits: Smoose mode and shadows were created by Kota292, made in a remix project and then I brought it here because I liked those features a lot and wanted to implement it. Texture Credits: Textures are from Minecraft, owned by Mojang.