VOOZH about

URL: https://minecraft.wiki/w/Client

โ‡ฑ client.jar โ€“ Minecraft Wiki


client.jar

From Minecraft Wiki
(Redirected from Client)
Jump to navigation Jump to search
๐Ÿ‘ Image
"Client" redirects here. For the entity sometimes called "client", see Player. For the block in Bedrock Edition, see Client request placeholder block.
This feature is exclusive to Java Edition.
 
client.jar
Author(s)
Platform(s) ๐Ÿ‘ Windows
๐Ÿ‘ macOS
๐Ÿ‘ Linux
and other platforms that support running a JVM
Written in ๐Ÿ‘ Java
Java
Latest version
Release date May 16, 2009 (mc-161607)
Size
License EULA
Source available Partial
Links

Downloads

{
 "title": "client.jar",
 "rows": [
 {
 "field": "\n* (link to File:Mojang Studios logo.svg article, displayed as x20px|link=Mojang Studios) (link to Mojang Studios article, displayed as Mojang Studios)",
 "label": "Author(s)"
 },
 {
 "field": "(link to File:Windows.svg article, displayed as x20px|Windows|link=wikipedia:Microsoft Windows)<span class=\"os-icon\">(link to File:macOS.svg article, displayed as x10px|macOS|link=wikipedia:macOS|class=darkmode-invert)</span><span class=\"os-icon\">(link to File:Tux.svg article, displayed as x20px|Linux|link=wikipedia:Linux)</span> and other platforms that support running a JVM",
 "label": "Platform(s)"
 },
 {
 "field": "(link to File:Java.svg article, displayed as x20px|Java|link=wikipedia:Java (programming language)) (link to wikipedia:Java (programming language) article, displayed as Java)",
 "label": "Written in"
 },
 {
 "field": "\n* '''Release''': (link to Java Edition_26.2 article, displayed as 26.2)\n* '''Snapshot''': (link to Java Edition_26.3 Snapshot 1 article, displayed as 26.3 Snapshot 1)",
 "label": "Latest version"
 },
 {
 "field": "May 16, 2009 ((link to Java Edition Classic mc-161607 article, displayed as mc-161607))",
 "label": "Release date"
 },
 {
 "field": "\n* โ‰ˆ 53 MiB ((link to Java Edition_26.2 article, displayed as 26.2))\n* โ‰ˆ 76 MiB (as of (link to Java Edition_26.3 Snapshot 1 article, displayed as 26.3 Snapshot 1))",
 "label": "Size"
 },
 {
 "field": "[https://www.minecraft.net/en-us/eula EULA]",
 "label": "License"
 },
 {
 "field": "Partial",
 "label": "<span style=\"white-space:normal\">Source available</span>"
 },
 {
 "field": "\n* [https://www.minecraft.net/en-us/download Website] \n'''Downloads'''\n* [https://piston-data.mojang.com/v1/objects/2dc72797acbc1b63fc16a11c4ac393605f453754/client.jar 26.2]\n* [https://piston-data.mojang.com/v1/objects/f7dbd08cc7462705fc48dd687e64534811edbbf1/client.jar 26.3 Snapshot 1]",
 "label": "Links"
 }
 ],
 "invimages": [],
 "images": [
 "Java Edition 26.2.png"
 ]
}
๐Ÿ‘ Image
There is a related tutorial page for this topic!
 

client.jar is a JAR file containing the Minecraft program and some default resources. It is launched by the user using the Minecraft Launcher.

The client.jar file is named using the version number after download, e.g., 1.21.5.jar. The name client.jar is used on the distribution server, and commonly as a general term for all versions of the file. It is located at .minecraft/versions/version/version.jar, next to the client.json file.

It can be opened with a file archiving program that supports ZIP files.

Contents

[edit | edit source]

The file contains the Minecraft program in form of compiled Java class files. It also contains some, but not all, default resources; for instance, textures from the vanilla resource pack are stored here, but sound files are stored separately.

Directory structure

[edit | edit source]

The client.jar file has the following directory structure. Note that Java class files have been omitted for brevity.

Blaze3D

[edit | edit source]

Blaze3D is a private library that provides the graphics backend for LWJGL/OpenGL and Vulkan[1] used in the game's rendering, while also providing some low-level abstraction for OpenAL and glyph typographic information for audio control and fonts respectively.

When used for rendering, Blaze3D sets up the render system and the graphics backend, managing the program's window, GPU devices, memory buffers, view states, and other resources. When used for audio, it provides audio devices, channeling, and playback control for the game's own sound engine.

In the future, Mojang Studios plans to rework the codebase, which includes separating the game's rendering and gameplay codebase,[2] and a dedicated thread for rendering[3].

History

[edit | edit source]
Java Edition Classic
mc-161607Notch started distributing the game to other people, constituting the creation of client.jar.
0.0.14a_08Signature files, MOJANG_C.SF and MOJANG_C.DSA have been added to the META-INF folder.
Java Edition Indev
0.3120091223-0040Java class files have been moved from client.jar/com/mojang/minecraft to client.jar/net/minecraft.
Java Edition Infdev
20100627Java class files are now all located in the root directory of client.jar.
Java Edition
1.2.5The signature files, MOJANG_C.SF and MOJANG_C.DSA have been moved to CODESIGN.SF and CODESIGN.RSA, respectively.
1.21.424w45aNew entry point net.minecraft.client.data.Main is present in client.jar, with similar command line structure as data generator in server.jar.
26.1snap1The Java class files in client.jar are no longer obfuscated, and are no longer located in the root directory of client.jar.
All files inside of client.jar (except for those inside the META-INF folder) now always have a last modified date of February 1, 1980. This is done by Gradle as part of its reproducable builds behavior.[4]

See also

[edit | edit source]

References

[edit | edit source]

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/Client.jar?oldid=3630229"

Navigation menu