{{DISPLAYTITLE:''Minecraft Classic'' (JavaScript remake)}}
{{about|the 2019 JavaScript remake|the development phase of Java Edition|Java Edition Classic}}
{{Infobox program
|title=''Minecraft Classic''
|image=0.0.23a_01 (remake).png
|author=[[File:Mojang Studios logo.svg|x20px|link=Mojang Studios]] [[Mojang Studios]]
|platform={{w|Web browser|🌐 Web browser}}
|programming language={{OS|js}} {{w|JavaScript}}
|date=May 7, 2019
|programming languages = [[w:JavaScript]]
|website=https://classic.minecraft.net
|size=8.92 MB <!-- Tested on 4 October 2023 under Firefox, devtools - Network tab, bottom span, cache disabled -->
}}
'''''Minecraft Classic''''' is a JavaScript remake of [[Java Edition Classic 0.0.23a_01|Classic 0.0.23a_01]], made to celebrate 10 years of ''[[Minecraft]]'' and was uploaded to the ''Minecraft'' website (built with [https://www.babylonjs.com/ Babylon.js] library).<ref>{{Article|embrace-past-minecraft-classic|Embrace the Past with Minecraft Classic|May 7, 2019|Tom Stone}}</ref> This version can be played at [https://classic.minecraft.net classic.minecraft.net] for free.

== Features ==
[[File:0.0.23a 01 (remake) inventory.png|thumb|The inventory with all available blocks]]

=== Blocks ===
{{for|data values of blocks in this version|Classic remake data values}}
{{div col|colwidth=15em}}
* [[File:Air.png|32px]] [[Air]]
* [[File:Grass Block JE2.png|32px]] [[Grass Block]]
* [[File:Stone JE2 BE1.png|32px]] [[Stone]]
* [[File:Dirt JE1.png|32px]] [[Dirt]]
* [[File:Oak Planks JE3 BE1.png|32px]] [[Planks]]
* [[File:Rose JE1.png|32px]] [[Rose]]
* [[File:Dandelion JE1.png|32px]] [[Dandelion]]
* [[File:Water JE4.png|32px]] [[Water]]
* [[File:Oak Sapling JE2.png|32px]] [[Sapling]]
* [[File:Cobblestone JE2.png|32px]] [[Cobblestone]]
* [[File:Bedrock JE1 BE1.png|32px]] [[Bedrock]]
* [[File:Sand JE2.png|32px]] [[Sand]]
* [[File:Gravel JE2.png|32px]] [[Gravel]]
* [[File:Oak Log Axis Y JE2 BE1.png|32px]] [[Wood]]
* [[File:Oak Leaves JE2.png|32px]] [[Leaves]]
* [[File:Red Mushroom JE1.png|32px]] [[Red Mushroom]]
* [[File:Brown Mushroom JE1.png|32px]] [[Brown Mushroom]]
* [[File:Lava JE6.png|32px]] [[Lava]]
* [[File:Gold Ore JE1.png|32px]] [[Gold Ore]]
* [[File:Iron Ore JE1 BE1.png|32px]] [[Iron Ore]]
* [[File:Coal Ore JE1 BE1.png|32px]] [[Coal Ore]]
* [[File:Block of Gold JE1.png|32px]] [[Block of Gold]]
* [[File:Sponge JE1 BE1.png|32px]] [[Sponge]]
* [[File:Glass JE3 BE1.png|32px]] [[Glass]]
* [[File:Red Cloth.png|32px]] Red [[Cloth]]
* [[File:Orange Cloth.png|32px]] Orange [[Cloth]]
* [[File:Yellow Cloth.png|32px]] Yellow [[Cloth]]
* [[File:Chartreuse Cloth.png|32px]] Chartreuse [[Cloth]]
* [[File:Green Cloth.png|32px]] Green [[Cloth]]
* [[File:Spring Green Cloth.png|32px]] Spring Green [[Cloth]]
* [[File:Cyan Cloth.png|32px]] Cyan [[Cloth]]
* [[File:Capri Cloth.png|32px]] Capri [[Cloth]]
* [[File:Ultramarine Cloth.png|32px]] Ultramarine [[Cloth]]
* [[File:Violet Cloth.png|32px]] Violet [[Cloth]]
* [[File:Purple Cloth.png|32px]] Purple [[Cloth]]
* [[File:Magenta Cloth.png|32px]] Magenta [[Cloth]]
* [[File:Rose Cloth.png|32px]] Rose [[Cloth]]
* [[File:Dark Gray Cloth.png|32px]] Dark Gray [[Cloth]]
* [[File:Light Gray Cloth.png|32px]] Light Gray [[Cloth]]
* [[File:White Cloth.png|32px]] White [[Cloth]]
{{div col end}}

=== Mobs ===
; [[Mob (entity)|Steve]]
* Referred to as Steve in code.
* Spawned by pressing {{key|G}}.
* Oddly, they can walk past the world border. They will fall through the bedrock if they go too far.
* They are client-side only and will not show up for other players in multiplayer.
* The model is not made correctly and makes the human look short.

=== World generation ===
; Terrain
* Generated terrain with hills and lakes, with small caves under the surface.
; [[Structure|Generated structure]]s
* [[Tree]]s, made of [[log]]s and [[leaves]].
; World size
* World sizes are: Small, Normal, Huge
* World size is limited.

=== Gameplay ===
; [[Block]]s
* Placing and destroying blocks; switch between the two by pressing {{ctrl|use}}.
* Blocks do not [[Waterlogging|waterlog]].
; [[Multiplayer]]
* Available to play with up to nine other players, but was temporarily disabled on May 8, 2019 due to performance issues.<ref>{{tweet|MojangStatus|1126070107279695873|We've temporarily disabled multiplayer for Minecraft Classic while we work on some performance issues. You can still play it as single player! - AP|May 8, 2019}}</ref>
; [[Inventory]]
* Press {{key|B}} to open.
* Find and select all the different blocks available.

=== General ===
* 2D [[cloud]]s.

=== Pause screen ===
* [[File:Classic Ocean fail Before.jpg|thumb|Drained Ocean before flooding it]]Ability to copy the URL link to give to other players for them to join.
* For browsers that do not support WebRTC, the URL link and "Copy" button have been replaced with the "Save level" and "Load level" buttons.
** Clicking on any of these buttons will show the text "<html>" instead of the buttons that allowed the player to save or load a level.

== Bugs ==
* When exiting and entering the world, the top textures of all blocks that were at [[altitude]] became invisible.
* [[File:Classic Ocean fail After.jpg|thumb|Drained Ocean after flooding it, I noted with red the peak of 1675 Chunk updates, but later there was a even higher peak of 2.5 million chunk updates.]]The human mob model is glitched.
* Unloaded chunks turned white.
* The sea level in the game world did not match the sea level outside the world, sometimes there still occur "drained" oceans, see images. 
* [[File:Classic Ocean fail After Long Time.jpg|thumb|The high peak.]]FPS counter is inaccurate on some browsers and will sometimes display bogus/random numbers.
* Zooming in and out will sometimes cause a huge drop on FPS, this will cause an performance impact, and this will make all blocks disappear, and display an error icon.
* On some old and slow computers, generating new world in a huge size causes the game to freeze.
* The game has performance issues on some computers.
* The game can fail to load the player's current world and instead generates a new one. In this case, any modified blocks (even air) from the previous map are carried over to the newly-generated map, overwriting any otherwise-generated blocks.
* The music sometimes overlaps with other music and keeps building up to the point it is unbearable.

== Differences and inaccuracies from the original ==
* General
** Since this is a remake and not a port, the code, apart from the terrain generation code which is the only ported code in the game, is completely different from the original and as such there may be many minor gameplay inaccuracies.
** [[Grass block]]s seem to turn into [[dirt]] when in shade.
** [[Air]] exists as a block.
** The remake version has an auto-save feature.
*** Because of this, reloading or exiting then reopening the website on the same browser will load the same world and seed, along with player-made modifications, provided that the browser cookies aren't cleared.
** Physics are very different from the original.
** New level format.
** Block IDs in this remake do not line up with the original.
*** [[Flowing lava]] and [[flowing water]] are missing.<ref>The two blocks were removed during [[Java Edition 1.13/Flattening|''the Flattening]]</ref>
** The missing texture is red and black instead of magenta and black. The checkerboard pattern also has more squares being a 16x16 plain instead of 2x2 plain.
* Human mobs
** They have a strange appearance compared to the original version's humans, likely unintentionally as the result of an update.
** They have a different, less random and frantic AI.
** Their texture has no beard, even though Steve's texture at the time had one.
** They can cross the world border, revealing that unlike the original, the bedrock and water beyond the border are actually tangible and are actual blocks rather than a rendered flat plane.
*** They will fall through the world after going too far.
** They can be spawned in multiplayer, although they will only appear on the client side.
* GUI
** The blue gradient, seen in the inventory, pause menu and other menus in the original, is replaced with simply a transparent gray color, reminiscent of modern Minecraft.
** The red gradient, seen on the crash/kicked from server screens in the original, is replaced with the same dirt background as seen on the generating level screen in both the original and the remake.
** The [[font]] is different, and is also rendered anti-aliased on most browsers. This is because it is in a vector format (<code>.woff</code>).
* Graphics
** Lighting is very different compared to the original, appearing more flat.
*** Oddly, blocks appear to have a slight shine when looking down at them.
** The remake used the [https://github.com/fenomas/noa noa Engine].
** Anti-aliasing, making blocks look smoother.
** Block textures are stored separately rather than on a terrain.png file.
*** Many filenames are different from the actual name. 
** Inventory/hotbar block previews are pre-rendered textures unlike the original.
*** Because of this, they appear pixelated at high resolutions.
** Saplings do not show particles when broken.
** Particles rotate to face the camera's position like {{in|Bedrock}}, instead of always being parallel to the camera.
* Sound
** Sounds are stored in <code>.mp3</code> format rather than <code>.ogg</code> format.
** Music can be enabled in settings.
*** Are the Volume Alpha soundtrack versions.{{verify|type=current}}
** Many sound effects are missing.
*** There are no walking sound effects.
*** Breaking wool and glass uses the normal grass and stone sound effects respectively. The original used higher pitched versions of the grass and stone sound effects for those blocks.
** Breaking leaves plays a sound of grass breaking sound heard in [[Java Edition Indev 0.31 20100104|Indev 0.31 20100104]] until [[12w38a]]. These doesn't exist in the original.
* Multiplayer
** There is a new menu when you start up the game, letting you choose a username, and gives you an invitation link to invite people to a server.
*** The invitation link also appears on the pause menu.
** Other players take the same, glitched appearance as the human mobs.
*** The name tag above players is also more reminiscent of modern Minecraft rather than 0.0.23a.
** The command set is highly limited compared to the original.
*** Consists of {{cmd|/list}}, {{cmd|/kick}}, {{cmd|/ban}}, {{cmd|/tp}}, {{cmd|/setspawn}}, and {{cmd|/help}}.
*** You can also use commands and chat in singleplayer, unlike the original version.

== Trivia ==
[[File:Models on corner.png|thumb|Models stored on the bottom corner of the world, underneath the bedrock layer.]]
[[File:0.0.23a 01 (remake) water lava comparison.png|thumb|The lava model's faces are culled incorrectly.]]
* Going past the world border in the X or Z direction by a distance at or below 32 blocks will instantly push you towards the closest in-bounds location, if possible.
* If the X or Z distance from border is above 32 blocks, the player will be unable to move or place blocks.
* If the Y distance is above 95 or below 0, the player will be unable to move or place blocks. If they are above Y=95, they will remain stationary in the air.
* The render limit for the bedrock layer is X=±544, Z=±544.
* Despite not being mentioned in {{cmd|/help}}, the commands {{Cmd|/ban}}, {{Cmd|/banip}}, {{Cmd|/say}}, {{Cmd|/op}}, {{Cmd|/deop}}, {{Cmd|/solid}} return "Command disabled."
* Iron ore is called "bronze rock" internally.
* Models are stored in the bottom corner of the world, underneath the bedrock layer. 
* The player's nametag is a separate entity. Its position is stored approximately 1.62 blocks above the player's.
* Savegames are stored as a delta; they store the world seed, size, and the blocks changed that are different from the world seed. 
* Lava's block model is incorrectly made: the N/S/E and Bottom faces are inverted and cull when viewed head-on. Only the West and Top faces are correct.

== History ==
{{HistoryTable
|{{HistoryLine|Classic 0.0.23a_01 (remake)}}
|{{HistoryLine||May 7, 2019|link=none|Released JavaScript Classic 0.0.23a_01 remake.}}
|{{HistoryLine||May 8, 2019|link=none|The code for the game has been updated.}}
|{{HistoryLine||May 10, 2019|link=none|The code for the game has been updated.}}
|{{HistoryLine||October 15, 2019|link=none|The code for the game has been updated.}}
}}

== Gallery ==
<gallery>
File:0.0.23a-javascript-playthrough.png|Pixel art, specifically a crewmate from Among Us and a trollface.
File:Nowaterlogproof.png|Mushroom surrounded by water.
File:Nowaterlog.png|Mushroom surrounded by water.
File:Grass goes dirt when no sun.png|Grass blocks in shadows eventually change to dirt.
File:Remake cave.png|A view of a cave.
File:Classic 0.0.23a 01 (remake) Human.png|A human.
File:Remake humans in house.png|Humans in a house made by a player.
File:Remake out of border.png|Humans can go outside of the world border.
File:0.0.23a 01 (remake) Human view.png|A human in a default idle state.
File:0.0.23a 01 (remake) render limit.png|A view of the outer render limit of the border.
Missing texture in Classic JS.png|The unique missing texture in game.
File:No keyboard error page.png|alt=An error screen telling the user the game requires a keyboard to play|Error screen shown when the website is loaded without a keyboard
File:Classic-computer-screen.gif|Artwork of a computer playing the game, used for the original release in 2019.
File:15th Anniversary Marilla.png|Artwork for the 15th anniversary rerelease of the game, showing it running on what appears to be [[M.A.R.I.L.L.A.|M.A.R.I.L.L.A]]. 
</gallery>

== References ==
{{reflist}}

== Navigation ==
{{Navbox Java Edition versions|General}}
{{Navbox Minecraft|Editions}}

[[Category:Versions]]
[[Category:10th Anniversary]]

[[de:Classic.minecraft.net]]
[[es:Classic 0.0.23a 01 (remake)]]
[[fr:Édition Java Classique 0.0.23a 01 (remake)]]
[[ja:Classic 0.0.23a 01 (リメイク)]]
[[lzh:爪哇版古典版〇點〇點二三甲之一（重製）]]
[[pl:Java Edition Classic 0.0.23a 01 (remake)]]
[[pt:Classic 0.0.23a 01 (remake)]]
[[ru:Classic 0.0.23a 01 (remake)]]
[[uk:Classic 0.0.23a 01 (remake)]]
[[zh:Java版Classic 0.0.23a 01（重制）]]
