Skip to content

Instantly share code, notes, and snippets.

@PhoenixVX
PhoenixVX / b1.2_02-20110517.md
Last active June 27, 2024 22:19
Beta 1.2_02 (May 17th, 2011)

Discrepancies

Class file version discrepancy

Certain class files have been compiled with Java 6 instead of Java 5 (Minecraft was targetted to Java 5 but built with Java 6) in these versions.

Examples of classes built targetting Java 6:

  • WorldGenProfiler.class
  • Encoder.class
  • net/minecraft/client
QM_BOOL QmageDecCommon_SetImageInfo(QmageImageInfo *image_info, QMINT32 type) {
// Initialize image_info with 0s
QuramQmage_Memset(image_info, 0, sizeof(QmageImageInfo));
switch (type) {
case 0:
image_info->transparency = 0;
image_info->bpp = 16;
image_info->raw_type = 0;
return QM_BOOL_TRUE;
package net.minecraft.src;
import java.awt.image.BufferedImage;
import java.nio.FloatBuffer;
import java.util.List;
import java.util.Random;
import net.minecraft.client.Minecraft;
import org.lwjgl.input.Mouse;
package net.minecraft.src;
public class FakeWorld extends World {
public FakeWorld() {
super();
}
}
{
"assetIndex":{
"id":"legacy",
"sha1":"c0fd82e8ce9fbc93119e40d96d5a4e62cfa3f729",
"size":134284,
"url":"https://launchermeta.mojang.com/mc/assets/legacy/c0fd82e8ce9fbc93119e40d96d5a4e62cfa3f729/legacy.json",
"totalSize":111220701
},
"assets":"legacy",
"downloads":{
v1 official intermediary
CLASS a/a net/minecraft/class_1
FIELD a/a [F a field_1
METHOD a/a (F)F a method_1
METHOD a/a (F)F b method_2
METHOD a/a (F)F c method_3
CLASS net/minecraft/a/a/a net/minecraft/class_2
FIELD net/minecraft/a/a/a [I A field_2
FIELD net/minecraft/a/a/a [B B field_3
FIELD net/minecraft/a/a/a [I C field_4
{"arguments": {"game": ["--username", "${auth_player_name}", "--version", "${version_name}", "--gameDir", "${game_directory}", "--assetsDir", "${assets_root}", "--assetIndex", "${assets_index_name}", "--uuid", "${auth_uuid}", "--accessToken", "${auth_access_token}", "--userType", "${user_type}", "--versionType", "${version_type}", {"rules": [{"action": "allow", "features": {"is_demo_user": true}}], "value": "--demo"}, {"rules": [{"action": "allow", "features": {"has_custom_resolution": true}}], "value": ["--width", "${resolution_width}", "--height", "${resolution_height}"]}], "jvm": [{"rules": [{"action": "allow", "os": {"name": "osx"}}], "value": ["-XstartOnFirstThread"]}, {"rules": [{"action": "allow", "os": {"name": "windows"}}], "value": "-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump"}, {"rules": [{"action": "allow", "os": {"name": "windows", "version": "^10\\."}}], "value": ["-Dos.name=Windows 10", "-Dos.version=10.0"]}, {"rules": [{"action": "allow", "os": {"ar
tiny 2 0 official intermediary named
c com/mojang/rubydung/HitResult com/mojang/rubydung/HitResult com/mojang/rubydung/HitResult
m (IIIII)V <init> <init> <init>
p 1 x
p 2 y
p 3 z
p 4 o
p 5 f
f I f field_1 f
f I o field_2 o
{
"assetIndex": {
"id": "legacy",
"sha1": "c0fd82e8ce9fbc93119e40d96d5a4e62cfa3f729",
"size": 134284,
"url": "https://launchermeta.mojang.com/mc/assets/legacy/c0fd82e8ce9fbc93119e40d96d5a4e62cfa3f729/legacy.json",
"totalSize": 111220701
},
"assets": "legacy",
"downloads": {
v1 official intermediary
CLASS a/a net/minecraft/class_141
FIELD a/a [F a field_1
METHOD a/a (F)F a method_1
METHOD a/a (F)F b method_2
METHOD a/a (F)F c method_3
CLASS net/minecraft/a/a/a net/minecraft/class_142
FIELD net/minecraft/a/a/a [I A field_618
FIELD net/minecraft/a/a/a [B B field_619
FIELD net/minecraft/a/a/a [I C field_620