Skip to content

SaiProgramsz/WebOurCraft

Repository files navigation

Minecraft recode in JavaScript

This is a sandbox that provides all basic features of Minecraft.

More New Things will be added.

Based on LabyStudio's Minecraft recode in JavaScript.

Ingame
Click here for a demo!

Prerequisites:


Node JS

OR

Python

How To Start the Server (Node JS)

First, install http-server

npm install -g http-server

On Linux or Mac:

Execute run.sh

On Windows:

Execute run.bat

After executing, go to your preferred web browser and open localhost:8080 or the port specified.

How To Start the Server (Python)

On Linux or Mac:

Execute run-py.sh

On Windows:

Execute run-py.bat

After executing, go to your preferred web browser and open localhost:8000 or the port specified.

Feature Overview

Click here to expand feature list
  • Block rendering
    • Biome color
  • Block collision
  • Player movement
    • Walking
    • Sprinting
    • Sneaking
    • Flying
    • Swimming
  • Lightning
    • Dynamic lightning
    • Smooth lightning (Ambient occlusion)
    • Day/Night/Sunset
    • Sky color rendering
    • Block light source
  • Entity Rendering
    • Item in hand
    • Arm swing animation
    • Walking animation
    • Crouch animation
    • Block break particles
  • World
    • 16x16x16 Chunks
    • Block type, data, sky & block lightning
    • Entities
    • Minecraft Alpha Generator
      • 64 bits seed
      • Perlin terrain generation
      • Perlin cave generation
      • Perlin tree and big tree generation
  • Camera
    • Frustum Culling
    • Fog
    • Underwater fog
    • Dynamic FOV
    • Third person
    • First person hand
    • First person item in hand
  • GUI
    • Screens
      • Main Menu
      • Create World Screen
      • Loading Screen
      • InGame Menu
      • Options Screen
      • Controls Screen
      • Chat Input Screen
      • Creative Inventory Screen
      • Direct Connect Screen
      • Connecting Screen
      • Disconnected Screen
    • Widgets
      • Button
      • KeyBinding
      • Slider
      • Switches
      • TextField
    • Overlay
      • Cross-hair
      • Font rendering
      • Hot-Bar
      • Chat
      • Debug
      • Player list
  • Multiplayer
    • Networking
      • RSA Encryption
      • AES Encryption
      • Compression
      • Splitting
      • NBT Serialization
      • Sub-Protocols
        • Handshake
        • Status
        • Login
        • Play
    • Packets
      • Chunk Packets
      • Movement Packets
      • Block Update Packets
      • Chat Packets
      • Player Packets
  • Commands
    • /help
    • /time
    • /tp

Screenshots

Note: All textures from the original game were used for the screenshots only!

Main Menu Create World Lightning Night Controls

Licensing


NOT OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG.

About

A JS Minecraft clone based on LabyStudio's js-minecraft

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages