added files.
This commit is contained in:
commit
834de66687
2839 files changed
+440385
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
.gradle/
|
||||
build/
|
||||
.idea/
|
||||
*.iml
|
||||
*.iws
|
||||
*.ipr
|
||||
.classpath
|
||||
.project
|
||||
.settings/
|
||||
bin/
|
||||
out/
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
@@ -0,0 +1,52 @@
|
||||
<p align="center">
|
||||
<img src="assets/ss.png" alt="Skid Solutions Banner" width="350" />
|
||||
<br><br>
|
||||
<a href="https://discord.gg/skidsolutions">
|
||||
<img src="https://img.shields.io/badge/Discord-Skid%20Solutions-18181b?style=for-the-badge&logo=discord&logoColor=ffffff&labelColor=09090b" alt="Discord" />
|
||||
</a>
|
||||
<img src="https://img.shields.io/badge/Version-0.9.12-27272a?style=for-the-badge&labelColor=09090b" alt="Version 0.9.12" />
|
||||
<img src="https://img.shields.io/badge/Java-17-3f3f46?style=for-the-badge&logo=openjdk&logoColor=ffffff&labelColor=09090b" alt="Java 17" />
|
||||
<img src="https://img.shields.io/badge/Gradle-8.14.3-52525b?style=for-the-badge&logo=gradle&logoColor=ffffff&labelColor=09090b" alt="Gradle 8.14.3" />
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://discord.gg/skidsolutions">https://discord.gg/skidsolutions</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="assets/divider.svg" alt="" width="720" />
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="assets/jak.jpg" alt="jak" height="150" />
|
||||
<img src="assets/hack.jpg" alt="hack" height="150" />
|
||||
<img src="assets/deobf2.png" alt="deobf2" height="150" />
|
||||
<img src="assets/deobf.jpg" alt="deobf" height="150" />
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="assets/divider.svg" alt="" width="720" />
|
||||
</p>
|
||||
|
||||
## How to build
|
||||
|
||||
### Prerequisites
|
||||
- **Java Development Kit**: JDK 17 (the Gradle wrapper 8.14.3 does not run on newer JDKs)
|
||||
|
||||
### Building OpenDoomsday
|
||||
|
||||
Run from this folder:
|
||||
|
||||
```powershell
|
||||
$env:JAVA_HOME = "C:\Program Files\Java\jdk-17"
|
||||
|
||||
.\gradlew.bat clean build
|
||||
```
|
||||
|
||||
Generated `build/libs/`:
|
||||
- `OpenDoomsday-0.9.12.jar`
|
||||
- `OpenDoomsday-0.9.12-sources.jar`
|
||||
|
||||
<p align="center">
|
||||
<img src="https://cdn.discordapp.com/attachments/1523287133383819334/1565776868580532386/togif.gif" alt="DMCA" />
|
||||
</p>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 135 KiB |
@@ -0,0 +1,26 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 820 20" width="820" height="20" role="img" aria-hidden="true">
|
||||
<defs>
|
||||
<linearGradient id="baseLine" x1="0%" y1="0%" x2="100%" y2="0%">
|
||||
<stop offset="0%" stop-color="#000000" stop-opacity="0" />
|
||||
<stop offset="25%" stop-color="#404040" stop-opacity="0.7" />
|
||||
<stop offset="50%" stop-color="#d4d4d4" stop-opacity="0.95" />
|
||||
<stop offset="75%" stop-color="#404040" stop-opacity="0.7" />
|
||||
<stop offset="100%" stop-color="#000000" stop-opacity="0" />
|
||||
</linearGradient>
|
||||
<linearGradient id="pulse" x1="0%" y1="0%" x2="100%" y2="0%">
|
||||
<stop offset="0%" stop-color="#ffffff" stop-opacity="0" />
|
||||
<stop offset="50%" stop-color="#ffffff" stop-opacity="1" />
|
||||
<stop offset="100%" stop-color="#ffffff" stop-opacity="0" />
|
||||
</linearGradient>
|
||||
<clipPath id="lineClip">
|
||||
<rect x="40" y="8" width="740" height="4" rx="2" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
<rect x="40" y="9.25" width="740" height="1.5" rx="0.75" fill="url(#baseLine)" />
|
||||
<g clip-path="url(#lineClip)">
|
||||
<rect x="-120" y="8.5" width="140" height="3" rx="1.5" fill="url(#pulse)">
|
||||
<animate attributeName="x" values="-120;820" dur="3.4s" repeatCount="indefinite" />
|
||||
</rect>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 323 KiB |
+182
@@ -0,0 +1,182 @@
|
||||
import groovy.json.JsonSlurper
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'idea'
|
||||
id 'eclipse'
|
||||
}
|
||||
|
||||
group = 'com.doomsdayclient'
|
||||
version = '0.9.12'
|
||||
|
||||
def javaVersion = 17
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = uri('https://libraries.minecraft.net') }
|
||||
}
|
||||
|
||||
configurations {
|
||||
apiGenerator
|
||||
}
|
||||
|
||||
def generatorClasses = layout.buildDirectory.dir('api-generator/classes')
|
||||
tasks.register('compileApiGenerator', JavaCompile) {
|
||||
source = files('gradle/GenerateCompileApis.java', 'gradle/GenerateSourceDeclarations.java')
|
||||
classpath = configurations.apiGenerator
|
||||
destinationDirectory = generatorClasses
|
||||
javaCompiler = javaToolchains.compilerFor { languageVersion = JavaLanguageVersion.of(javaVersion) }
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
tasks.register('generateCompileApis', JavaExec) {
|
||||
group = 'build setup'
|
||||
description = 'Generates compile-only API headers from text declarations.'
|
||||
dependsOn tasks.named('compileApiGenerator')
|
||||
def schemas = fileTree('gradle/api-signatures') { include '**/*.json' }
|
||||
inputs.files(schemas)
|
||||
outputs.files(schemas.files.collect { schema ->
|
||||
def relative = file('gradle/api-signatures').toPath().relativize(schema.toPath()).toString()
|
||||
layout.buildDirectory.file("compile-apis/${relative.replaceAll(/\.json$/, '.jar')}")
|
||||
})
|
||||
classpath = files(generatorClasses) + configurations.apiGenerator
|
||||
javaLauncher = javaToolchains.launcherFor { languageVersion = JavaLanguageVersion.of(javaVersion) }
|
||||
mainClass = 'GenerateCompileApis'
|
||||
args file('gradle/api-signatures').absolutePath, layout.buildDirectory.dir('compile-apis').get().asFile.absolutePath
|
||||
}
|
||||
|
||||
def compileApi = { String name ->
|
||||
files(layout.buildDirectory.file("compile-apis/${name}.jar")).builtBy(tasks.named('generateCompileApis'))
|
||||
}
|
||||
|
||||
tasks.register('prepareIde') {
|
||||
group = 'ide'
|
||||
description = 'Generates the compile-only API headers used by the IDE import.'
|
||||
dependsOn tasks.named('generateCompileApis')
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(javaVersion)
|
||||
}
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
apiGenerator 'org.ow2.asm:asm:9.8'
|
||||
apiGenerator 'com.google.code.gson:gson:2.10.1'
|
||||
|
||||
compileOnly compileApi('minecraft-obf')
|
||||
compileOnly compileApi('minecraft-compat')
|
||||
compileOnly compileApi('unloaded-compat')
|
||||
|
||||
compileOnly 'org.lwjgl:lwjgl:3.4.3'
|
||||
compileOnly 'org.lwjgl:lwjgl-glfw:3.4.3'
|
||||
compileOnly 'org.lwjgl:lwjgl-opengl:3.4.3'
|
||||
compileOnly 'org.lwjgl:lwjgl-vulkan:3.4.3'
|
||||
compileOnly 'org.joml:joml:1.10.8'
|
||||
compileOnly 'org.lwjgl:lwjgl-sdl:3.4.3'
|
||||
compileOnly 'com.mojang:brigadier:1.3.11'
|
||||
compileOnly 'com.mojang:datafixerupper:6.0.8'
|
||||
compileOnly 'io.netty:netty-all:4.1.115.Final'
|
||||
compileOnly 'com.google.guava:guava:33.3.1-jre'
|
||||
compileOnly 'it.unimi.dsi:fastutil:8.5.14'
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
if (name != 'compileApiGenerator') {
|
||||
dependsOn tasks.named('generateCompileApis')
|
||||
}
|
||||
options.encoding = 'UTF-8'
|
||||
options.release = javaVersion
|
||||
options.compilerArgs += ['-Xlint:none', '-Xmaxerrs', '20000']
|
||||
}
|
||||
|
||||
tasks.withType(AbstractArchiveTask).configureEach {
|
||||
preserveFileTimestamps = false
|
||||
reproducibleFileOrder = true
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes(
|
||||
'Implementation-Title': 'OpenDoomsday',
|
||||
'Implementation-Version': project.version)
|
||||
}
|
||||
}
|
||||
|
||||
idea {
|
||||
module {
|
||||
downloadSources = true
|
||||
downloadJavadoc = true
|
||||
}
|
||||
}
|
||||
|
||||
eclipse {
|
||||
classpath {
|
||||
downloadSources = true
|
||||
downloadJavadoc = true
|
||||
}
|
||||
}
|
||||
|
||||
// The MC_CLASS / MC_FIELD / MC_METHOD indices belong to a mapping version.
|
||||
// Compiling all variants against one merged API loses their inheritance and
|
||||
// selects unrelated method signatures. Each variant keeps its original names
|
||||
// and compiles against the verified declarations for its own mapping version.
|
||||
def variantGroups = new JsonSlurper().parse(file('gradle/source-variants.json')).groups
|
||||
def variantSourcePaths = variantGroups.values().flatten() as Set
|
||||
def sourceDeclarations = layout.buildDirectory.file('compile-apis/source-declarations.jar')
|
||||
|
||||
tasks.register('generateSourceDeclarations', JavaExec) {
|
||||
group = 'build setup'
|
||||
description = 'Creates compile-only declarations for cross-variant source references.'
|
||||
dependsOn tasks.named('generateCompileApis')
|
||||
inputs.files(fileTree('src/main/java') { include '**/*.java' })
|
||||
inputs.files(configurations.compileClasspath)
|
||||
inputs.file('gradle/source-variants.json')
|
||||
inputs.file('gradle/api-alias-types.json')
|
||||
outputs.file(sourceDeclarations)
|
||||
outputs.files(variantGroups.keySet().collect { layout.buildDirectory.file("compile-apis/versions/source-declarations-${it}.jar") })
|
||||
classpath = files(generatorClasses) + configurations.apiGenerator
|
||||
javaLauncher = javaToolchains.launcherFor { languageVersion = JavaLanguageVersion.of(javaVersion) }
|
||||
mainClass = 'GenerateSourceDeclarations'
|
||||
maxHeapSize = '4g'
|
||||
doFirst {
|
||||
args = [file('src/main/java').absolutePath,
|
||||
sourceDeclarations.get().asFile.absolutePath,
|
||||
configurations.compileClasspath.asPath,
|
||||
file('gradle/source-variants.json').absolutePath,
|
||||
file('gradle/api-alias-types.json').absolutePath]
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named('compileJava', JavaCompile) {
|
||||
dependsOn tasks.named('generateSourceDeclarations')
|
||||
source = fileTree('src/main/java') {
|
||||
include '**/*.java'
|
||||
exclude { entry -> variantSourcePaths.contains(entry.relativePath.pathString) }
|
||||
}
|
||||
classpath += files(sourceDeclarations)
|
||||
options.sourcepath = files()
|
||||
options.compilerArgs += ['-implicit:none']
|
||||
}
|
||||
|
||||
variantGroups.each { versionName, paths ->
|
||||
def suffix = versionName.replace('.', '_')
|
||||
def variantOutput = layout.buildDirectory.dir("classes/java/minecraft-${versionName}")
|
||||
def variantTask = tasks.register("compileMinecraft${suffix}", JavaCompile) {
|
||||
group = 'build'
|
||||
description = "Compiles Minecraft ${versionName} mapping adapters."
|
||||
dependsOn tasks.named('compileJava'), tasks.named('generateSourceDeclarations')
|
||||
source = files(paths.collect { file("src/main/java/${it}") })
|
||||
classpath = files(layout.buildDirectory.file("compile-apis/versions/minecraft-${versionName}.jar")) +
|
||||
files(layout.buildDirectory.dir('classes/java/main')) +
|
||||
configurations.compileClasspath + files(layout.buildDirectory.file("compile-apis/versions/source-declarations-${versionName}.jar"))
|
||||
destinationDirectory = variantOutput
|
||||
javaCompiler = javaToolchains.compilerFor { languageVersion = JavaLanguageVersion.of(javaVersion) }
|
||||
options.sourcepath = files()
|
||||
options.compilerArgs += ['-implicit:none']
|
||||
}
|
||||
sourceSets.main.output.dir([builtBy: variantTask], variantOutput)
|
||||
tasks.named('classes') { dependsOn variantTask }
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
org.gradle.jvmargs=-Xmx4g
|
||||
org.gradle.parallel=true
|
||||
@@ -0,0 +1,263 @@
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.JsonParser;
|
||||
import java.io.Reader;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.nio.file.StandardCopyOption;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.SortedMap;
|
||||
import java.util.TreeMap;
|
||||
import java.util.jar.JarEntry;
|
||||
import java.util.jar.JarOutputStream;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
import org.objectweb.asm.AnnotationVisitor;
|
||||
import org.objectweb.asm.ClassWriter;
|
||||
import org.objectweb.asm.FieldVisitor;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.objectweb.asm.TypePath;
|
||||
|
||||
public final class GenerateCompileApis implements Opcodes {
|
||||
private interface Factory {
|
||||
AnnotationVisitor create(JsonObject annotation);
|
||||
}
|
||||
|
||||
private static String text(JsonObject obj, String key) {
|
||||
return obj.has(key) && !obj.get(key).isJsonNull() ? obj.get(key).getAsString() : null;
|
||||
}
|
||||
|
||||
private static int number(JsonObject obj, String key) {
|
||||
return obj.get(key).getAsInt();
|
||||
}
|
||||
|
||||
private static JsonArray array(JsonObject obj, String key) {
|
||||
return obj.has(key) ? obj.getAsJsonArray(key) : new JsonArray();
|
||||
}
|
||||
|
||||
private static String[] strings(JsonObject obj, String key) {
|
||||
List<String> list = new ArrayList<>();
|
||||
for (JsonElement el : array(obj, key)) {
|
||||
list.add(el.getAsString());
|
||||
}
|
||||
return list.toArray(new String[0]);
|
||||
}
|
||||
|
||||
private static Object scalar(JsonObject obj) {
|
||||
String value = text(obj, "value");
|
||||
String type = text(obj, "type");
|
||||
if ("Long".equals(type)) return Long.valueOf(value);
|
||||
if ("Integer".equals(type)) return Integer.valueOf(value);
|
||||
if ("Float".equals(type)) return Float.valueOf(value);
|
||||
if ("Double".equals(type)) return Double.valueOf(value);
|
||||
if ("Byte".equals(type)) return Byte.valueOf(value);
|
||||
if ("Short".equals(type)) return Short.valueOf(value);
|
||||
if ("Character".equals(type)) return value.charAt(0);
|
||||
throw new IllegalArgumentException(obj.toString());
|
||||
}
|
||||
|
||||
private static Object constant(JsonElement el) {
|
||||
if (el == null || el.isJsonNull()) return null;
|
||||
if (el.isJsonObject()) return scalar(el.getAsJsonObject());
|
||||
return el.getAsString();
|
||||
}
|
||||
|
||||
private static void annotationValue(AnnotationVisitor visitor, String name, JsonElement value) {
|
||||
if (value.isJsonArray()) {
|
||||
AnnotationVisitor nested = visitor.visitArray(name);
|
||||
for (JsonElement el : value.getAsJsonArray()) {
|
||||
annotationValue(nested, null, el);
|
||||
}
|
||||
nested.visitEnd();
|
||||
} else if (value.isJsonObject()) {
|
||||
JsonObject obj = value.getAsJsonObject();
|
||||
String kind = text(obj, "kind");
|
||||
if ("scalar".equals(kind)) {
|
||||
visitor.visit(name, scalar(obj));
|
||||
} else if ("type".equals(kind)) {
|
||||
visitor.visit(name, Type.getType(text(obj, "descriptor")));
|
||||
} else if ("enum".equals(kind)) {
|
||||
visitor.visitEnum(name, text(obj, "descriptor"), text(obj, "name"));
|
||||
} else if ("annotation".equals(kind)) {
|
||||
JsonObject ann = obj.getAsJsonObject("annotation");
|
||||
writeAnnotation(visitor.visitAnnotation(name, text(ann, "descriptor")), ann);
|
||||
} else {
|
||||
throw new IllegalArgumentException(obj.toString());
|
||||
}
|
||||
} else if (value.getAsJsonPrimitive().isBoolean()) {
|
||||
visitor.visit(name, value.getAsBoolean());
|
||||
} else {
|
||||
visitor.visit(name, value.getAsString());
|
||||
}
|
||||
}
|
||||
|
||||
private static void writeAnnotation(AnnotationVisitor visitor, JsonObject annotation) {
|
||||
if (visitor == null) return;
|
||||
for (Map.Entry<String, JsonElement> entry : annotation.getAsJsonObject("values").entrySet()) {
|
||||
annotationValue(visitor, entry.getKey(), entry.getValue());
|
||||
}
|
||||
visitor.visitEnd();
|
||||
}
|
||||
|
||||
private static void annotations(JsonObject obj, String key, Factory factory) {
|
||||
for (JsonElement el : array(obj, key)) {
|
||||
JsonObject ann = el.getAsJsonObject();
|
||||
writeAnnotation(factory.create(ann), ann);
|
||||
}
|
||||
}
|
||||
|
||||
private static byte[] compile(JsonObject cls) {
|
||||
ClassWriter cw = new ClassWriter(0);
|
||||
cw.visit(
|
||||
number(cls, "version"),
|
||||
number(cls, "access"),
|
||||
text(cls, "name"),
|
||||
text(cls, "signature"),
|
||||
text(cls, "superName"),
|
||||
strings(cls, "interfaces"));
|
||||
if (cls.has("outerClass")) {
|
||||
cw.visitOuterClass(
|
||||
text(cls, "outerClass"), text(cls, "outerMethod"), text(cls, "outerMethodDescriptor"));
|
||||
}
|
||||
annotations(
|
||||
cls,
|
||||
"annotations",
|
||||
a -> cw.visitAnnotation(text(a, "descriptor"), a.get("visible").getAsBoolean()));
|
||||
annotations(
|
||||
cls,
|
||||
"typeAnnotations",
|
||||
a ->
|
||||
cw.visitTypeAnnotation(
|
||||
number(a, "typeRef"),
|
||||
TypePath.fromString(text(a, "typePath")),
|
||||
text(a, "descriptor"),
|
||||
a.get("visible").getAsBoolean()));
|
||||
for (JsonElement el : array(cls, "innerClasses")) {
|
||||
JsonObject inner = el.getAsJsonObject();
|
||||
cw.visitInnerClass(
|
||||
text(inner, "name"),
|
||||
text(inner, "outerName"),
|
||||
text(inner, "innerName"),
|
||||
number(inner, "access"));
|
||||
}
|
||||
for (JsonElement el : array(cls, "fields")) {
|
||||
JsonObject f = el.getAsJsonObject();
|
||||
FieldVisitor fv =
|
||||
cw.visitField(
|
||||
number(f, "access"),
|
||||
text(f, "name"),
|
||||
text(f, "descriptor"),
|
||||
text(f, "signature"),
|
||||
constant(f.get("constant")));
|
||||
annotations(
|
||||
f,
|
||||
"annotations",
|
||||
a -> fv.visitAnnotation(text(a, "descriptor"), a.get("visible").getAsBoolean()));
|
||||
fv.visitEnd();
|
||||
}
|
||||
for (JsonElement el : array(cls, "methods")) {
|
||||
JsonObject m = el.getAsJsonObject();
|
||||
int access = number(m, "access");
|
||||
String descriptor = text(m, "descriptor");
|
||||
MethodVisitor mv =
|
||||
cw.visitMethod(
|
||||
access, text(m, "name"), descriptor, text(m, "signature"), strings(m, "exceptions"));
|
||||
for (JsonElement pe : array(m, "parameters")) {
|
||||
JsonObject p = pe.getAsJsonObject();
|
||||
mv.visitParameter(text(p, "name"), number(p, "access"));
|
||||
}
|
||||
annotations(
|
||||
m,
|
||||
"annotations",
|
||||
a -> mv.visitAnnotation(text(a, "descriptor"), a.get("visible").getAsBoolean()));
|
||||
if (m.has("annotationDefault")) {
|
||||
AnnotationVisitor av = mv.visitAnnotationDefault();
|
||||
annotationValue(av, null, m.get("annotationDefault"));
|
||||
av.visitEnd();
|
||||
}
|
||||
if ((access & (ACC_ABSTRACT | ACC_NATIVE)) == 0) {
|
||||
mv.visitCode();
|
||||
mv.visitTypeInsn(NEW, "java/lang/UnsupportedOperationException");
|
||||
mv.visitInsn(DUP);
|
||||
mv.visitLdcInsn("Compile-only API header; use the real server or library at runtime");
|
||||
mv.visitMethodInsn(
|
||||
INVOKESPECIAL,
|
||||
"java/lang/UnsupportedOperationException",
|
||||
"<init>",
|
||||
"(Ljava/lang/String;)V",
|
||||
false);
|
||||
mv.visitInsn(ATHROW);
|
||||
int locals = (access & ACC_STATIC) == 0 ? 1 : 0;
|
||||
for (Type t : Type.getArgumentTypes(descriptor)) {
|
||||
locals += t.getSize();
|
||||
}
|
||||
mv.visitMaxs(3, locals);
|
||||
}
|
||||
mv.visitEnd();
|
||||
}
|
||||
cw.visitEnd();
|
||||
return cw.toByteArray();
|
||||
}
|
||||
|
||||
private static SortedMap<String, JsonObject> declarations(
|
||||
Path input, Path schema, Set<Path> active) throws Exception {
|
||||
if (!active.add(schema)) {
|
||||
throw new IllegalArgumentException("Cyclic API declaration inheritance: " + schema);
|
||||
}
|
||||
JsonObject data;
|
||||
try (Reader reader = Files.newBufferedReader(schema, StandardCharsets.UTF_8)) {
|
||||
data = JsonParser.parseReader(reader).getAsJsonObject();
|
||||
}
|
||||
SortedMap<String, JsonObject> classes = new TreeMap<>();
|
||||
if (data.has("base")) {
|
||||
classes.putAll(declarations(input, input.resolve(text(data, "base") + ".json"), active));
|
||||
}
|
||||
for (JsonElement entry : array(data, "classes")) {
|
||||
JsonObject cls = entry.getAsJsonObject();
|
||||
classes.put(text(cls, "name"), cls);
|
||||
}
|
||||
active.remove(schema);
|
||||
return classes;
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Path input = Paths.get(args[0]);
|
||||
Path output = Paths.get(args[1]);
|
||||
Files.createDirectories(output);
|
||||
List<Path> schemas;
|
||||
try (Stream<Path> stream = Files.walk(input)) {
|
||||
schemas =
|
||||
stream.filter(p -> p.toString().endsWith(".json")).sorted().collect(Collectors.toList());
|
||||
}
|
||||
for (Path schema : schemas) {
|
||||
SortedMap<String, JsonObject> classes = declarations(input, schema, new HashSet<>());
|
||||
String name = schema.getFileName().toString().replace(".json", ".jar");
|
||||
Path relative = input.relativize(schema);
|
||||
Path jar = output.resolve(relative).resolveSibling(name);
|
||||
Files.createDirectories(jar.getParent());
|
||||
Path temporary = Files.createTempFile(jar.getParent(), "compile-api-", ".jar");
|
||||
try (JarOutputStream out = new JarOutputStream(Files.newOutputStream(temporary))) {
|
||||
for (JsonObject cls : classes.values()) {
|
||||
JarEntry entry = new JarEntry(text(cls, "name") + ".class");
|
||||
entry.setTime(0);
|
||||
out.putNextEntry(entry);
|
||||
out.write(compile(cls));
|
||||
out.closeEntry();
|
||||
}
|
||||
}
|
||||
Files.move(
|
||||
temporary, jar, StandardCopyOption.REPLACE_EXISTING, StandardCopyOption.ATOMIC_MOVE);
|
||||
System.out.println(
|
||||
"Generated compile API " + name + " (" + classes.size() + " declarations)");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,307 @@
|
||||
import com.google.gson.*;
|
||||
import com.sun.source.tree.*;
|
||||
import com.sun.source.util.*;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.*;
|
||||
import java.util.*;
|
||||
import java.util.jar.*;
|
||||
import javax.lang.model.element.*;
|
||||
import javax.lang.model.type.*;
|
||||
import javax.lang.model.util.*;
|
||||
import javax.tools.*;
|
||||
import org.objectweb.asm.*;
|
||||
|
||||
/**
|
||||
* Compile-only declarations break the dependency cycle between Minecraft variants. The generated
|
||||
* classes are never included in the application archive.
|
||||
*/
|
||||
public final class GenerateSourceDeclarations {
|
||||
private static Types types;
|
||||
private static Elements elements;
|
||||
private static Map<String, String> sourceGroups = new HashMap<>();
|
||||
private static Map<String, Map<String, String>> aliasTypes = new HashMap<>();
|
||||
private static Map<String, String> consumerAliases = Map.of();
|
||||
private static String currentOwnerGroup;
|
||||
private static String consumerGroup;
|
||||
|
||||
private static String mappedBinary(TypeElement type) {
|
||||
String name = binary(type);
|
||||
if (currentOwnerGroup == null
|
||||
|| consumerGroup == null
|
||||
|| currentOwnerGroup.equals(consumerGroup)) return name;
|
||||
String realType = aliasTypes.getOrDefault(currentOwnerGroup, Map.of()).get(name);
|
||||
return realType == null ? name : consumerAliases.getOrDefault(realType, name);
|
||||
}
|
||||
|
||||
private static String binary(TypeElement type) {
|
||||
return elements.getBinaryName(type).toString().replace('.', '/');
|
||||
}
|
||||
|
||||
private static String descriptor(TypeMirror type) {
|
||||
return switch (type.getKind()) {
|
||||
case BOOLEAN -> "Z";
|
||||
case BYTE -> "B";
|
||||
case SHORT -> "S";
|
||||
case INT -> "I";
|
||||
case LONG -> "J";
|
||||
case CHAR -> "C";
|
||||
case FLOAT -> "F";
|
||||
case DOUBLE -> "D";
|
||||
case VOID -> "V";
|
||||
case ARRAY -> "[" + descriptor(((ArrayType) type).getComponentType());
|
||||
case DECLARED, ERROR ->
|
||||
"L" + mappedBinary((TypeElement) ((DeclaredType) type).asElement()) + ";";
|
||||
case TYPEVAR, WILDCARD, INTERSECTION -> descriptor(types.erasure(type));
|
||||
default -> "Ljava/lang/Object;";
|
||||
};
|
||||
}
|
||||
|
||||
private static String signature(TypeMirror type) {
|
||||
if (type.getKind() == TypeKind.ARRAY)
|
||||
return "[" + signature(((ArrayType) type).getComponentType());
|
||||
if (type.getKind() == TypeKind.TYPEVAR)
|
||||
return "T" + ((TypeVariable) type).asElement().getSimpleName() + ";";
|
||||
if (type.getKind() == TypeKind.WILDCARD) {
|
||||
WildcardType wildcard = (WildcardType) type;
|
||||
if (wildcard.getExtendsBound() != null) return "+" + signature(wildcard.getExtendsBound());
|
||||
if (wildcard.getSuperBound() != null) return "-" + signature(wildcard.getSuperBound());
|
||||
return "*";
|
||||
}
|
||||
if (type instanceof DeclaredType declared && !declared.getTypeArguments().isEmpty()) {
|
||||
StringBuilder result =
|
||||
new StringBuilder("L" + mappedBinary((TypeElement) declared.asElement()) + "<");
|
||||
for (TypeMirror argument : declared.getTypeArguments()) result.append(signature(argument));
|
||||
return result.append(">;").toString();
|
||||
}
|
||||
return descriptor(type);
|
||||
}
|
||||
|
||||
private static int access(Element element) {
|
||||
int flags = 0;
|
||||
for (Modifier modifier : element.getModifiers())
|
||||
flags |=
|
||||
switch (modifier) {
|
||||
case PUBLIC -> Opcodes.ACC_PUBLIC;
|
||||
case PROTECTED -> Opcodes.ACC_PROTECTED;
|
||||
case PRIVATE -> Opcodes.ACC_PRIVATE;
|
||||
case STATIC -> Opcodes.ACC_STATIC;
|
||||
case FINAL -> Opcodes.ACC_FINAL;
|
||||
case ABSTRACT -> Opcodes.ACC_ABSTRACT;
|
||||
case SYNCHRONIZED -> Opcodes.ACC_SYNCHRONIZED;
|
||||
case NATIVE -> Opcodes.ACC_NATIVE;
|
||||
case STRICTFP -> Opcodes.ACC_STRICT;
|
||||
case TRANSIENT -> Opcodes.ACC_TRANSIENT;
|
||||
case VOLATILE -> Opcodes.ACC_VOLATILE;
|
||||
default -> 0;
|
||||
};
|
||||
if (element.getKind() == ElementKind.ENUM || element.getKind() == ElementKind.ENUM_CONSTANT)
|
||||
flags |= Opcodes.ACC_ENUM;
|
||||
if (element.getKind() == ElementKind.INTERFACE
|
||||
|| element.getKind() == ElementKind.ANNOTATION_TYPE)
|
||||
flags |= Opcodes.ACC_INTERFACE | Opcodes.ACC_ABSTRACT;
|
||||
if (element.getKind() == ElementKind.ANNOTATION_TYPE) flags |= Opcodes.ACC_ANNOTATION;
|
||||
return flags;
|
||||
}
|
||||
|
||||
private static String internal(TypeMirror type) {
|
||||
return descriptor(type).substring(1, descriptor(type).length() - 1);
|
||||
}
|
||||
|
||||
private static byte[] declaration(TypeElement type) {
|
||||
currentOwnerGroup = sourceGroups.get(binary(type).split("\\$")[0]);
|
||||
ClassWriter writer = new ClassWriter(0);
|
||||
TypeMirror parent = type.getSuperclass();
|
||||
String superclass = parent.getKind() == TypeKind.NONE ? "java/lang/Object" : internal(parent);
|
||||
StringBuilder classSignature =
|
||||
new StringBuilder(
|
||||
parent.getKind() == TypeKind.NONE ? "Ljava/lang/Object;" : signature(parent));
|
||||
String[] interfaces =
|
||||
type.getInterfaces().stream()
|
||||
.map(GenerateSourceDeclarations::internal)
|
||||
.toArray(String[]::new);
|
||||
for (TypeMirror contract : type.getInterfaces()) classSignature.append(signature(contract));
|
||||
int flags = access(type);
|
||||
if ((flags & Opcodes.ACC_INTERFACE) == 0) flags |= Opcodes.ACC_SUPER;
|
||||
writer.visit(
|
||||
Opcodes.V17, flags, binary(type), classSignature.toString(), superclass, interfaces);
|
||||
if (type.getNestingKind() == NestingKind.MEMBER
|
||||
&& type.getEnclosingElement() instanceof TypeElement owner) {
|
||||
writer.visitInnerClass(
|
||||
binary(type), binary(owner), type.getSimpleName().toString(), access(type));
|
||||
}
|
||||
for (Element enclosed : type.getEnclosedElements()) {
|
||||
if (enclosed instanceof TypeElement nested) {
|
||||
writer.visitInnerClass(
|
||||
binary(nested), binary(type), nested.getSimpleName().toString(), access(nested));
|
||||
} else if (enclosed instanceof VariableElement field) {
|
||||
Object constant = field.getConstantValue();
|
||||
if (constant instanceof Boolean value) constant = value ? 1 : 0;
|
||||
else if (constant instanceof Character value) constant = (int) value.charValue();
|
||||
else if (constant instanceof Byte value) constant = value.intValue();
|
||||
else if (constant instanceof Short value) constant = value.intValue();
|
||||
writer
|
||||
.visitField(
|
||||
access(field),
|
||||
field.getSimpleName().toString(),
|
||||
descriptor(field.asType()),
|
||||
signature(field.asType()),
|
||||
constant)
|
||||
.visitEnd();
|
||||
} else if (enclosed instanceof ExecutableElement method) {
|
||||
String name =
|
||||
method.getKind() == ElementKind.CONSTRUCTOR
|
||||
? "<init>"
|
||||
: method.getSimpleName().toString();
|
||||
StringBuilder desc = new StringBuilder("(");
|
||||
StringBuilder sig = new StringBuilder("(");
|
||||
for (VariableElement parameter : method.getParameters()) {
|
||||
desc.append(descriptor(parameter.asType()));
|
||||
sig.append(signature(parameter.asType()));
|
||||
}
|
||||
desc.append(')').append(descriptor(method.getReturnType()));
|
||||
sig.append(')').append(signature(method.getReturnType()));
|
||||
int methodFlags = access(method);
|
||||
if (method.isVarArgs()) methodFlags |= Opcodes.ACC_VARARGS;
|
||||
MethodVisitor visitor =
|
||||
writer.visitMethod(
|
||||
methodFlags,
|
||||
name,
|
||||
desc.toString(),
|
||||
sig.toString(),
|
||||
method.getThrownTypes().stream()
|
||||
.map(GenerateSourceDeclarations::internal)
|
||||
.toArray(String[]::new));
|
||||
for (VariableElement parameter : method.getParameters())
|
||||
visitor.visitParameter(parameter.getSimpleName().toString(), access(parameter));
|
||||
if ((methodFlags & (Opcodes.ACC_ABSTRACT | Opcodes.ACC_NATIVE)) == 0) {
|
||||
visitor.visitCode();
|
||||
visitor.visitTypeInsn(Opcodes.NEW, "java/lang/UnsupportedOperationException");
|
||||
visitor.visitInsn(Opcodes.DUP);
|
||||
visitor.visitLdcInsn("Compile-only source declaration");
|
||||
visitor.visitMethodInsn(
|
||||
Opcodes.INVOKESPECIAL,
|
||||
"java/lang/UnsupportedOperationException",
|
||||
"<init>",
|
||||
"(Ljava/lang/String;)V",
|
||||
false);
|
||||
visitor.visitInsn(Opcodes.ATHROW);
|
||||
int locals = (methodFlags & Opcodes.ACC_STATIC) == 0 ? 1 : 0;
|
||||
for (org.objectweb.asm.Type argument :
|
||||
org.objectweb.asm.Type.getArgumentTypes(desc.toString()))
|
||||
locals += argument.getSize();
|
||||
visitor.visitMaxs(3, locals);
|
||||
}
|
||||
visitor.visitEnd();
|
||||
}
|
||||
}
|
||||
writer.visitEnd();
|
||||
return writer.toByteArray();
|
||||
}
|
||||
|
||||
public static void main(String[] arguments) throws Exception {
|
||||
Path sources = Path.of(arguments[0]);
|
||||
Path output = Path.of(arguments[1]);
|
||||
String classpath = arguments[2];
|
||||
if (arguments.length >= 5) {
|
||||
JsonObject groups =
|
||||
JsonParser.parseString(Files.readString(Path.of(arguments[3])))
|
||||
.getAsJsonObject()
|
||||
.getAsJsonObject("groups");
|
||||
for (var group : groups.entrySet())
|
||||
for (JsonElement item : group.getValue().getAsJsonArray()) {
|
||||
String path = item.getAsString();
|
||||
sourceGroups.put(path.substring(0, path.length() - 5), group.getKey());
|
||||
}
|
||||
JsonObject aliases =
|
||||
JsonParser.parseString(Files.readString(Path.of(arguments[4]))).getAsJsonObject();
|
||||
for (var group : aliases.entrySet()) {
|
||||
Map<String, String> types = new HashMap<>();
|
||||
for (var alias : group.getValue().getAsJsonObject().entrySet())
|
||||
types.put(alias.getKey(), alias.getValue().getAsString());
|
||||
aliasTypes.put(group.getKey(), types);
|
||||
}
|
||||
}
|
||||
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
|
||||
DiagnosticCollector<JavaFileObject> diagnostics = new DiagnosticCollector<>();
|
||||
List<Path> files;
|
||||
try (var stream = Files.walk(sources)) {
|
||||
files = stream.filter(path -> path.toString().endsWith(".java")).sorted().toList();
|
||||
}
|
||||
try (StandardJavaFileManager manager =
|
||||
compiler.getStandardFileManager(diagnostics, null, StandardCharsets.UTF_8)) {
|
||||
JavacTask task =
|
||||
(JavacTask)
|
||||
compiler.getTask(
|
||||
null,
|
||||
manager,
|
||||
diagnostics,
|
||||
List.of(
|
||||
"--release",
|
||||
"17",
|
||||
"-proc:none",
|
||||
"-classpath",
|
||||
classpath,
|
||||
"-Xmaxerrs",
|
||||
"20000"),
|
||||
null,
|
||||
manager.getJavaFileObjectsFromPaths(files));
|
||||
List<CompilationUnitTree> units = new ArrayList<>();
|
||||
for (CompilationUnitTree unit : task.parse()) units.add(unit);
|
||||
try {
|
||||
task.analyze();
|
||||
} catch (RuntimeException exception) {
|
||||
throw new IllegalStateException("Cannot read source declarations", exception);
|
||||
}
|
||||
Trees trees = Trees.instance(task);
|
||||
types = task.getTypes();
|
||||
elements = task.getElements();
|
||||
SortedMap<String, TypeElement> declaredTypes = new TreeMap<>();
|
||||
for (CompilationUnitTree unit : units)
|
||||
new TreePathScanner<Void, Void>() {
|
||||
@Override
|
||||
public Void visitClass(ClassTree tree, Void ignored) {
|
||||
Element element = trees.getElement(getCurrentPath());
|
||||
if (element instanceof TypeElement type
|
||||
&& (type.getNestingKind() == NestingKind.TOP_LEVEL
|
||||
|| type.getNestingKind() == NestingKind.MEMBER)) {
|
||||
declaredTypes.put(binary(type), type);
|
||||
}
|
||||
return super.visitClass(tree, ignored);
|
||||
}
|
||||
}.scan(unit, null);
|
||||
List<String> consumers = new ArrayList<>();
|
||||
consumers.add(null);
|
||||
consumers.addAll(new TreeSet<>(sourceGroups.values()));
|
||||
for (String consumer : consumers) {
|
||||
consumerGroup = consumer;
|
||||
Map<String, String> reverse = new HashMap<>();
|
||||
for (var alias : aliasTypes.getOrDefault(consumer, Map.of()).entrySet())
|
||||
reverse.put(alias.getValue(), alias.getKey());
|
||||
consumerAliases = reverse;
|
||||
Path target =
|
||||
consumer == null
|
||||
? output
|
||||
: output.getParent().resolve("versions/source-declarations-" + consumer + ".jar");
|
||||
Files.createDirectories(target.getParent());
|
||||
Path temporary = Files.createTempFile(target.getParent(), "source-declarations-", ".jar");
|
||||
try (JarOutputStream jar = new JarOutputStream(Files.newOutputStream(temporary))) {
|
||||
for (var entry : declaredTypes.entrySet()) {
|
||||
JarEntry item = new JarEntry(entry.getKey() + ".class");
|
||||
item.setTime(0);
|
||||
jar.putNextEntry(item);
|
||||
jar.write(declaration(entry.getValue()));
|
||||
jar.closeEntry();
|
||||
}
|
||||
}
|
||||
Files.move(
|
||||
temporary, target, StandardCopyOption.REPLACE_EXISTING, StandardCopyOption.ATOMIC_MOVE);
|
||||
}
|
||||
System.out.println(
|
||||
"Generated "
|
||||
+ declaredTypes.size()
|
||||
+ " compile-only source declarations for "
|
||||
+ consumers.size()
|
||||
+ " compilation groups");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1 @@
|
||||
{"version":"1.10.2","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":16417,"name":"net/minecraft/obf/support/v1_10_2/a","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"c","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"d","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"e","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"f","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"g","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"h","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"i","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"j","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"k","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"l","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"m","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"n","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"o","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"p","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"q","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"r","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"s","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"t","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"u","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":16393,"name":"v","descriptor":"Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":9,"name":"w","descriptor":"Ljava/util/Map;","signature":"Ljava/util/Map<Ljava/lang/String;Lnet/minecraft/obf/support/v1_10_2/a;>;"},{"access":9,"name":"x","descriptor":"Ljava/util/regex/Pattern;"},{"access":1,"name":"y","descriptor":"Ljava/lang/String;"},{"access":1,"name":"z","descriptor":"C"},{"access":1,"name":"A","descriptor":"Z"},{"access":1,"name":"B","descriptor":"Ljava/lang/String;"},{"access":1,"name":"C","descriptor":"I"},{"access":9,"name":"D","descriptor":"[Lnet/minecraft/obf/support/v1_10_2/a;"}],"methods":[{"access":9,"name":"values","descriptor":"()[Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":10,"name":"c","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CI)V","signature":"(Ljava/lang/String;CI)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZ)V","signature":"(Ljava/lang/String;CZ)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZI)V","signature":"(Ljava/lang/String;CZI)V"},{"access":1,"name":"b","descriptor":"()I"},{"access":1,"name":"c","descriptor":"()Z"},{"access":1,"name":"d","descriptor":"()Z"},{"access":1,"name":"e","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":9,"name":"a","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":9,"name":"b","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":9,"name":"a","descriptor":"(I)Lnet/minecraft/obf/support/v1_10_2/a;"},{"access":9,"name":"a","descriptor":"(ZZ)Ljava/util/Collection;","signature":"(ZZ)Ljava/util/Collection<Ljava/lang/String;>;"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/support/v1_10_2/a;>;"},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_10_2/aab","superName":"java/lang/Object","interfaces":[],"fields":[],"methods":[{"access":1025,"name":"c","descriptor":"(DDDFF)V"}]},{"version":61,"access":1057,"name":"net/minecraft/obf/support/v1_10_2/aaq","superName":"net/minecraft/obf/MC_CLASSUA","interfaces":["net/minecraft/obf/support/v1_10_2/qy"],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_10_2/kh;","signature":"Lnet/minecraft/obf/support/v1_10_2/kh<Ljava/lang/Integer;>;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_10_2/kh;","signature":"Lnet/minecraft/obf/support/v1_10_2/kh<Ljava/lang/Integer;>;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/support/v1_10_2/kh;","signature":"Lnet/minecraft/obf/support/v1_10_2/kh<Ljava/lang/Float;>;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/support/v1_10_2/kh;","signature":"Lnet/minecraft/obf/support/v1_10_2/kh<Ljava/lang/Integer;>;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/support/v1_10_2/kh;","signature":"Lnet/mLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.11.2","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":16417,"name":"net/minecraft/obf/support/v1_11_2/a","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"c","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"d","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"e","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"f","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"g","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"h","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"i","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"j","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"k","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"l","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"m","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"n","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"o","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"p","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"q","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"r","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"s","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"t","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"u","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":16393,"name":"v","descriptor":"Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":9,"name":"w","descriptor":"Ljava/util/Map;","signature":"Ljava/util/Map<Ljava/lang/String;Lnet/minecraft/obf/support/v1_11_2/a;>;"},{"access":9,"name":"x","descriptor":"Ljava/util/regex/Pattern;"},{"access":1,"name":"y","descriptor":"Ljava/lang/String;"},{"access":1,"name":"z","descriptor":"C"},{"access":1,"name":"A","descriptor":"Z"},{"access":1,"name":"B","descriptor":"Ljava/lang/String;"},{"access":1,"name":"C","descriptor":"I"},{"access":9,"name":"D","descriptor":"[Lnet/minecraft/obf/support/v1_11_2/a;"}],"methods":[{"access":9,"name":"values","descriptor":"()[Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":10,"name":"c","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CI)V","signature":"(Ljava/lang/String;CI)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZ)V","signature":"(Ljava/lang/String;CZ)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZI)V","signature":"(Ljava/lang/String;CZI)V"},{"access":1,"name":"b","descriptor":"()I"},{"access":1,"name":"c","descriptor":"()Z"},{"access":1,"name":"d","descriptor":"()Z"},{"access":1,"name":"e","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":9,"name":"a","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":9,"name":"b","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":9,"name":"a","descriptor":"(I)Lnet/minecraft/obf/support/v1_11_2/a;"},{"access":9,"name":"a","descriptor":"(ZZ)Ljava/util/Collection;","signature":"(ZZ)Ljava/util/Collection<Ljava/lang/String;>;"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/support/v1_11_2/a;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_11_2/aaw","superName":"java/lang/Object","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"Z"},{"access":1,"name":"b","descriptor":"Z"},{"access":1,"name":"c","descriptor":"Z"},{"access":1,"name":"d","descriptor":"Z"},{"access":1,"name":"e","descriptor":"Z"},{"access":1,"name":"f","descriptor":"F"},{"access":1,"name":"g","descriptor":"F"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_11_2/du;)V"},{"access":1,"name":"b","descriptor":"(Lnet/minecraft/obf/support/v1_11_2/du;)V"},{"access":1,"name":"a","descriptor":"()F"},{"access":1,"name":"a","descriptor":"(F)V"},{"access":1,"name":"b","descriptor":"()F"},{"access":1,"name":"b","descriptor":"(F)V"}]},{"version":61,"access":33,"name":"net/minecraft/obf/MC_CLASSdA","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_11_2/rc"],"fields":[{"access":1,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSeA;","signature":"Lnet/minecraft/obf/MC_CLASLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.12.2","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":16417,"name":"net/minecraft/obf/MC_CLASSiE","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"g","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"h","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"i","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"j","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"k","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"l","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"m","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"n","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"o","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"MC_FIELDzJ","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"p","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"q","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"r","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"s","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"t","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"u","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":16393,"name":"v","descriptor":"Lnet/minecraft/obf/MC_CLASSiE;"},{"access":9,"name":"w","descriptor":"Ljava/util/Map;","signature":"Ljava/util/Map<Ljava/lang/String;Lnet/minecraft/obf/MC_CLASSiE;>;"},{"access":9,"name":"x","descriptor":"Ljava/util/regex/Pattern;"},{"access":1,"name":"y","descriptor":"Ljava/lang/String;"},{"access":1,"name":"z","descriptor":"C"},{"access":1,"name":"A","descriptor":"Z"},{"access":1,"name":"B","descriptor":"Ljava/lang/String;"},{"access":1,"name":"C","descriptor":"I"},{"access":9,"name":"D","descriptor":"[Lnet/minecraft/obf/MC_CLASSiE;"}],"methods":[{"access":9,"name":"MC_METHODWN","descriptor":"()[Lnet/minecraft/obf/MC_CLASSiE;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/MC_CLASSiE;"},{"access":10,"name":"c","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CI)V","signature":"(Ljava/lang/String;CI)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZ)V","signature":"(Ljava/lang/String;CZ)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZI)V","signature":"(Ljava/lang/String;CZI)V"},{"access":1,"name":"MC_METHODbL","descriptor":"()I"},{"access":1,"name":"c","descriptor":"()Z"},{"access":1,"name":"d","descriptor":"()Z"},{"access":1,"name":"e","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":9,"name":"a","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":9,"name":"b","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/MC_CLASSiE;"},{"access":9,"name":"a","descriptor":"(I)Lnet/minecraft/obf/MC_CLASSiE;"},{"access":9,"name":"a","descriptor":"(ZZ)Ljava/util/Collection;","signature":"(ZZ)Ljava/util/Collection<Ljava/lang/String;>;"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/MC_CLASSiE;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_12_2/aab","superName":"net/minecraft/obf/support/v1_12_2/wb","interfaces":[],"fields":[{"access":9,"name":"bB","descriptor":"Lnet/minecraft/obf/MC_CLASSUC;","signature":"Lnet/minecraft/obf/MC_CLASSUC<Ljava/lang/Integer;>;"},{"access":1,"name":"bC","descriptor":"Lnet/minecraft/obf/support/v1_12_2/ws;","signature":"Lnet/minecraft/obf/support/v1_12_2/ws<Lnet/minecraft/obf/MC_CLASSNA;>;"},{"access":1,"name":"bD","descriptor":"Lnet/minecraft/obf/support/v1_12_2/yl;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSPA;)V"},{"access":1,"name":"r","descriptor":"()V"},{"access":1,"name":"i","descriptor":"()V"},{"access":1,"name":"M","descriptor":"()V"},{"access":1,"name":"K","descriptor":"()Z"},{"access":1,"name":"bM","descriptor":"()V"},{"access":1,"name":"e","descriptor":"(FF)V"},{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_12_2/ry;)V"},{"access":1,"name":"MC_METHODvM","descriptor":"(Lnet/minecraft/obf/MC_CLASScC;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLASScC;)V"},{"access":1,"name":"F","descriptor":"()Lnet/minecraft/obf/MC_CLASS5D;"},{"acLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.13.2","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":16417,"name":"net/minecraft/obf/MC_CLASSDF","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"g","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"h","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"i","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"j","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"k","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"l","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"m","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"n","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"o","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"MC_FIELDXK","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"p","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"q","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"r","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"s","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"t","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"u","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":16393,"name":"v","descriptor":"Lnet/minecraft/obf/MC_CLASSDF;"},{"access":9,"name":"w","descriptor":"Ljava/util/Map;","signature":"Ljava/util/Map<Ljava/lang/String;Lnet/minecraft/obf/MC_CLASSDF;>;"},{"access":9,"name":"x","descriptor":"Ljava/util/regex/Pattern;"},{"access":1,"name":"y","descriptor":"Ljava/lang/String;"},{"access":1,"name":"z","descriptor":"C"},{"access":1,"name":"A","descriptor":"Z"},{"access":1,"name":"B","descriptor":"Ljava/lang/String;"},{"access":1,"name":"C","descriptor":"I"},{"access":1,"name":"D","descriptor":"Ljava/lang/Integer;"},{"access":9,"name":"E","descriptor":"[Lnet/minecraft/obf/MC_CLASSDF;"}],"methods":[{"access":9,"name":"MC_METHODhO","descriptor":"()[Lnet/minecraft/obf/MC_CLASSDF;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/MC_CLASSDF;"},{"access":10,"name":"d","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CILjava/lang/Integer;)V","signature":"(Ljava/lang/String;CILjava/lang/Integer;)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZ)V","signature":"(Ljava/lang/String;CZ)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZILjava/lang/Integer;)V","signature":"(Ljava/lang/String;CZILjava/lang/Integer;)V"},{"access":9,"name":"a","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":1,"name":"MC_METHOD1N","descriptor":"()I"},{"access":1,"name":"c","descriptor":"()Z"},{"access":1,"name":"d","descriptor":"()Z"},{"access":1,"name":"MC_METHODXM","descriptor":"()Ljava/lang/Integer;"},{"access":1,"name":"f","descriptor":"()Z"},{"access":1,"name":"g","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":9,"name":"b","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":9,"name":"c","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/MC_CLASSDF;"},{"access":9,"name":"a","descriptor":"(I)Lnet/minecraft/obf/MC_CLASSDF;"},{"access":9,"name":"a","descriptor":"(C)Lnet/minecraft/obf/MC_CLASSDF;"},{"access":9,"name":"a","descriptor":"(ZZ)Ljava/util/Collection;","signature":"(ZZ)Ljava/util/Collection<Ljava/lang/String;>;"},{"access":10,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLASSDF;)Lnet/minecraft/obf/MC_CLASSDF;"},{"access":10,"name":"b","descriptor":"(Lnet/minecraft/obf/MC_CLASSDF;)Ljava/lang/String;"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/MC_CLASSDF;>;"},{"version":61,"access":1057,"name":"net/minecraft/obf/support/v1_13_2/acu","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"b","descriptor":"Lorg/apache/logging/log4j/Logger;"},{"access":1,"name":"a","descriptor":"Ljava/util/concurrent/ExecutorService;"},{"access":1,"name":"c","descriptor":"Ljava/util/concurrent/ExecutorService;"},{"access":1,"name":"d","descriptor":"Ljava/util/concurrent/atomic/AtomicInteger;"},{"access":1,"name":"e","descriptor":"Ljava/util/List;","signature":"Ljava/util/List<Ljava/util/concurrent/CompletableFuture<TR;>;>;"},{"access":1,"name":"f"Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.14.4","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_14_4/a","superName":"java/lang/Object","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"[F"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":1,"name":"<init>","descriptor":"(FFFF)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_14_4/b;FZ)V"},{"access":1,"name":"<init>","descriptor":"(FFFZ)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_14_4/a;)V"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"a","descriptor":"()F"},{"access":1,"name":"b","descriptor":"()F"},{"access":1,"name":"c","descriptor":"()F"},{"access":1,"name":"d","descriptor":"()F"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_14_4/a;)V"},{"access":1,"name":"e","descriptor":"()V"},{"access":10,"name":"a","descriptor":"(F)F"},{"access":10,"name":"b","descriptor":"(F)F"}]},{"version":61,"access":16417,"name":"net/minecraft/obf/support/v1_14_4/aa","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_14_4/aa;"},{"access":16393,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_14_4/aa;"},{"access":16393,"name":"c","descriptor":"Lnet/minecraft/obf/support/v1_14_4/aa;"},{"access":1,"name":"d","descriptor":"Ljava/lang/String;"},{"access":1,"name":"e","descriptor":"I"},{"access":1,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASS1A;"},{"access":9,"name":"g","descriptor":"[Lnet/minecraft/obf/support/v1_14_4/aa;"}],"methods":[{"access":9,"name":"values","descriptor":"()[Lnet/minecraft/obf/support/v1_14_4/aa;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_14_4/aa;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;ILnet/minecraft/obf/MC_CLASS1A;)V","signature":"(Ljava/lang/String;ILnet/minecraft/obf/MC_CLASS1A;)V"},{"access":1,"name":"a","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"b","descriptor":"()I"},{"access":9,"name":"a","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_14_4/aa;"},{"access":1,"name":"c","descriptor":"()Lnet/minecraft/obf/MC_CLASS1A;"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/support/v1_14_4/aa;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_14_4/aaa","superName":"java/lang/Object","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"Ljava/util/List;","signature":"Ljava/util/List<TT;>;"},{"access":1,"name":"b","descriptor":"Ljava/util/Spliterator;","signature":"Ljava/util/Spliterator<TT;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Ljava/util/stream/Stream;)V","signature":"(Ljava/util/stream/Stream<TT;>;)V"},{"access":1,"name":"a","descriptor":"()Ljava/util/stream/Stream;","signature":"()Ljava/util/stream/Stream<TT;>;"},{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_14_4/aaa;)Ljava/util/List;"},{"access":9,"name":"b","descriptor":"(Lnet/minecraft/obf/support/v1_14_4/aaa;)Ljava/util/Spliterator;"}],"signature":"<T:Ljava/lang/Object;>Ljava/lang/Object;"},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_14_4/aab","superName":"java/lang/Object","interfaces":[],"fields":[],"methods":[{"access":1025,"name":"a","descriptor":"(Lcom/mojang/datafixers/types/DynamicOps;)Ljava/lang/Object;","signature":"<T:Ljava/lang/Object;>(Lcom/mojang/datafixers/types/DynamicOps<TT;>;)TT;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_14_4/aac","superName":"java/lang/Object","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"D"},{"access":1,"name":"b","descriptor":"D"},{"access":1,"name":"c","descriptor":"D"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":1,"name":"a","descriptor":"(DD)D"},{"access":1,"name":"a","descriptor":"()V"}]},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_14_4/aad","superName":"java/lang/Object","interfaces":[],"fields":[],"methods":[{"access":1025,"name":"m","descriptor":"()Ljava/lang/String;"}]},{"version":61,"access":16417,"name":"net/minecraft/obf/support/v1_14_4/aag","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_14_4/aag;"},{"access":9,"name":"b","descriptor":"[Lnet/minecraft/obf/support/v1_14_4/aag;"}],"methods":[{"access":9,"name":"values","descriptor":"()[Lnet/minecraft/obf/support/v1_14_4/aag;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_14_4/aag;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;I)V","signature":"()V"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/support/v1_14_4/aag;>;"},{"version":6Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.15.2","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_15_2/a","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"j","descriptor":"F"},{"access":9,"name":"k","descriptor":"F"},{"access":9,"name":"l","descriptor":"F"},{"access":9,"name":"m","descriptor":"F"},{"access":1,"name":"a","descriptor":"F"},{"access":1,"name":"b","descriptor":"F"},{"access":1,"name":"c","descriptor":"F"},{"access":1,"name":"d","descriptor":"F"},{"access":1,"name":"e","descriptor":"F"},{"access":1,"name":"f","descriptor":"F"},{"access":1,"name":"g","descriptor":"F"},{"access":1,"name":"h","descriptor":"F"},{"access":1,"name":"i","descriptor":"F"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_15_2/c;)V"},{"access":9,"name":"b","descriptor":"(FFF)Lnet/minecraft/obf/support/v1_15_2/a;"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_15_2/b;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_15_2/a;)V"},{"access":10,"name":"a","descriptor":"(FFF)Lcom/mojang/datafixers/util/Pair;","signature":"(FFF)Lcom/mojang/datafixers/util/Pair<Ljava/lang/Float;Ljava/lang/Float;>;"},{"access":10,"name":"a","descriptor":"(FF)Lcom/mojang/datafixers/util/Pair;","signature":"(FF)Lcom/mojang/datafixers/util/Pair<Ljava/lang/Float;Ljava/lang/Float;>;"},{"access":10,"name":"c","descriptor":"(Lnet/minecraft/obf/support/v1_15_2/a;)Lnet/minecraft/obf/support/v1_15_2/c;"},{"access":1,"name":"a","descriptor":"()V"},{"access":1,"name":"b","descriptor":"()Lorg/apache/commons/lang3/tuple/Triple;","signature":"()Lorg/apache/commons/lang3/tuple/Triple<Lnet/minecraft/obf/support/v1_15_2/c;Lnet/minecraft/obf/support/v1_15_2/e;Lnet/minecraft/obf/support/v1_15_2/c;>;"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_15_2/a;)V"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"c","descriptor":"()V"},{"access":1,"name":"e","descriptor":"()F"},{"access":1,"name":"f","descriptor":"()Z"},{"access":1,"name":"b","descriptor":"(Lnet/minecraft/obf/support/v1_15_2/a;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_15_2/c;)V"},{"access":1,"name":"a","descriptor":"(F)V"},{"access":1,"name":"d","descriptor":"()Lnet/minecraft/obf/support/v1_15_2/a;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_15_2/aa","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Ljava/text/SimpleDateFormat;"},{"access":1,"name":"b","descriptor":"Ljava/util/Date;"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":1,"name":"a","descriptor":"()Z"},{"access":1,"name":"b","descriptor":"()V"},{"access":1,"name":"c","descriptor":"()V"},{"access":1,"name":"d","descriptor":"()Ljava/util/Date;"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLASSeB;)V"},{"access":1,"name":"e","descriptor":"()Lcom/google/gson/JsonElement;"},{"access":9,"name":"b","descriptor":"(Lnet/minecraft/obf/MC_CLASSeB;)Lnet/minecraft/obf/support/v1_15_2/aa;"},{"access":9,"name":"a","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_15_2/aa;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_15_2/aaa","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_15_2/cp"],"fields":[{"access":1,"name":"b","descriptor":"Ljava/lang/StringBuffer;"},{"access":1,"name":"c","descriptor":"Lnet/minecraft/obf/support/v1_15_2/net/minecraft/server/MinecraftServer;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_15_2/net/minecraft/server/MinecraftServer;)V"},{"access":1,"name":"d","descriptor":"()V"},{"access":1,"name":"e","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"f","descriptor":"()Lnet/minecraft/obf/support/v1_15_2/cq;"},{"access":1,"name":"MC_METHOD2A","descriptor":"(Lnet/minecraft/obf/MC_CLASSJA;)V"},{"access":1,"name":"MC_METHODzA","descriptor":"(Lnet/minecraft/obf/MC_CLASSJA;)V"},{"access":1,"name":"a","descriptor":"()Z"},{"access":1,"name":"b","descriptor":"()Z"},{"access":1,"name":"I_","descriptor":"()Z"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_15_2/aah","superName":"java/lang/Object","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASStB;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASStB;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/MC_CLASStB;"}]},{"version":61,"access":16417,"name":"net/minecraft/obf/support/v1_15_2/aaj","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"a","desLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.16.5","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_16_5/a","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"j","descriptor":"F"},{"access":9,"name":"k","descriptor":"F"},{"access":9,"name":"l","descriptor":"F"},{"access":9,"name":"m","descriptor":"F"},{"access":1,"name":"a","descriptor":"F"},{"access":1,"name":"b","descriptor":"F"},{"access":1,"name":"c","descriptor":"F"},{"access":1,"name":"d","descriptor":"F"},{"access":1,"name":"e","descriptor":"F"},{"access":1,"name":"f","descriptor":"F"},{"access":1,"name":"g","descriptor":"F"},{"access":1,"name":"h","descriptor":"F"},{"access":1,"name":"i","descriptor":"F"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSzC;)V"},{"access":9,"name":"b","descriptor":"(FFF)Lnet/minecraft/obf/support/v1_16_5/a;"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSiC;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_16_5/a;)V"},{"access":10,"name":"a","descriptor":"(FFF)Lcom/mojang/datafixers/util/Pair;","signature":"(FFF)Lcom/mojang/datafixers/util/Pair<Ljava/lang/Float;Ljava/lang/Float;>;"},{"access":10,"name":"a","descriptor":"(FF)Lcom/mojang/datafixers/util/Pair;","signature":"(FF)Lcom/mojang/datafixers/util/Pair<Ljava/lang/Float;Ljava/lang/Float;>;"},{"access":10,"name":"c","descriptor":"(Lnet/minecraft/obf/support/v1_16_5/a;)Lnet/minecraft/obf/MC_CLASSzC;"},{"access":1,"name":"a","descriptor":"()V"},{"access":1,"name":"b","descriptor":"()Lorg/apache/commons/lang3/tuple/Triple;","signature":"()Lorg/apache/commons/lang3/tuple/Triple<Lnet/minecraft/obf/MC_CLASSzC;Lnet/minecraft/obf/MC_CLASSDD;Lnet/minecraft/obf/MC_CLASSzC;>;"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_16_5/a;)V"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"c","descriptor":"()V"},{"access":1,"name":"e","descriptor":"()F"},{"access":1,"name":"f","descriptor":"()Z"},{"access":1,"name":"a","descriptor":"(IIF)V"},{"access":1,"name":"b","descriptor":"(Lnet/minecraft/obf/support/v1_16_5/a;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLASSzC;)V"},{"access":1,"name":"a","descriptor":"(F)V"},{"access":1,"name":"d","descriptor":"()Lnet/minecraft/obf/support/v1_16_5/a;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_16_5/aa","superName":"java/lang/Object","interfaces":["java/lang/Comparable"],"fields":[{"access":1,"name":"a","descriptor":"Ljava/util/Map;","signature":"Ljava/util/Map<Ljava/lang/String;Lnet/minecraft/obf/support/v1_16_5/ae;>;"},{"access":1,"name":"b","descriptor":"[[Ljava/lang/String;"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":1,"name":"a","descriptor":"(Ljava/util/Map;[[Ljava/lang/String;)V","signature":"(Ljava/util/Map<Ljava/lang/String;Lnet/minecraft/obf/support/v1_16_5/ad;>;[[Ljava/lang/String;)V"},{"access":1,"name":"a","descriptor":"()Z"},{"access":1,"name":"b","descriptor":"()Z"},{"access":1,"name":"a","descriptor":"(Ljava/lang/String;)Z"},{"access":1,"name":"b","descriptor":"(Ljava/lang/String;)Z"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLASS8A;)V"},{"access":9,"name":"b","descriptor":"(Lnet/minecraft/obf/MC_CLASS8A;)Lnet/minecraft/obf/support/v1_16_5/aa;"},{"access":1,"name":"c","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_16_5/ae;"},{"access":1,"name":"c","descriptor":"()F"},{"access":1,"name":"d","descriptor":"()Ljava/lang/String;"},{"access":2,"name":"h","descriptor":"()I"},{"access":1,"name":"e","descriptor":"()Ljava/lang/Iterable;","signature":"()Ljava/lang/Iterable<Ljava/lang/String;>;"},{"access":1,"name":"f","descriptor":"()Ljava/lang/Iterable;","signature":"()Ljava/lang/Iterable<Ljava/lang/String;>;"},{"access":1,"name":"g","descriptor":"()Ljava/util/Date;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_16_5/aa;)I"},{"access":1,"name":"compareTo","descriptor":"(Ljava/lang/Object;)I"},{"access":10,"name":"a","descriptor":"(Ljava/util/Set;Ljava/util/Map$Entry;)Z"},{"access":9,"name":"b","descriptor":"(Lnet/minecraft/obf/support/v1_16_5/aa;)Ljava/util/Map;"}],"signature":"Ljava/lang/Object;Ljava/lang/Comparable<Lnet/minecraft/obf/support/v1_16_5/aa;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_16_5/aaa","superName":"java/lang/Object","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;","signature":"Lit/unimi/dsi/fastutil/objects/Object2BooleanMap<Lnet/minecraft/obf/support/v1_16_5/aah;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.17.1","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_17_1/abc","superName":"java/lang/Object","interfaces":["java/lang/Comparable"],"fields":[{"access":1,"name":"a","descriptor":"I"},{"access":1,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSNA;"},{"access":1,"name":"c","descriptor":"I"},{"access":1,"name":"d","descriptor":"I"}],"methods":[{"access":1,"name":"<init>","descriptor":"(ILnet/minecraft/obf/MC_CLASSNA;)V"},{"access":1,"name":"a","descriptor":"()I"},{"access":1,"name":"b","descriptor":"()Lnet/minecraft/obf/MC_CLASSNA;"},{"access":1,"name":"a","descriptor":"(I)V"},{"access":1,"name":"c","descriptor":"()I"},{"access":1,"name":"b","descriptor":"(I)V"},{"access":1,"name":"d","descriptor":"()I"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_17_1/abc;)I"},{"access":1,"name":"compareTo","descriptor":"(Ljava/lang/Object;)I"}],"signature":"Ljava/lang/Object;Ljava/lang/Comparable<Lnet/minecraft/obf/support/v1_17_1/abc;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_17_1/abd","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lcom/mojang/datafixers/util/Either;","signature":"Lcom/mojang/datafixers/util/Either<Lnet/minecraft/obf/MC_CLASSAB;Lnet/minecraft/obf/support/v1_17_1/abd$a;>;"},{"access":9,"name":"b","descriptor":"Ljava/util/concurrent/CompletableFuture;","signature":"Ljava/util/concurrent/CompletableFuture<Lcom/mojang/datafixers/util/Either<Lnet/minecraft/obf/MC_CLASSAB;Lnet/minecraft/obf/support/v1_17_1/abd$a;>;>;"},{"access":9,"name":"c","descriptor":"Lcom/mojang/datafixers/util/Either;","signature":"Lcom/mojang/datafixers/util/Either<Lnet/minecraft/obf/MC_CLASS_A;Lnet/minecraft/obf/support/v1_17_1/abd$a;>;"},{"access":9,"name":"d","descriptor":"Ljava/util/concurrent/CompletableFuture;","signature":"Ljava/util/concurrent/CompletableFuture<Lcom/mojang/datafixers/util/Either<Lnet/minecraft/obf/MC_CLASS_A;Lnet/minecraft/obf/support/v1_17_1/abd$a;>;>;"},{"access":9,"name":"e","descriptor":"Ljava/util/List;","signature":"Ljava/util/List<Lnet/minecraft/obf/support/v1_17_1/cmq;>;"},{"access":9,"name":"f","descriptor":"[Lnet/minecraft/obf/support/v1_17_1/abd$c;"},{"access":9,"name":"g","descriptor":"I"},{"access":1,"name":"h","descriptor":"Ljava/util/concurrent/atomic/AtomicReferenceArray;","signature":"Ljava/util/concurrent/atomic/AtomicReferenceArray<Ljava/util/concurrent/CompletableFuture<Lcom/mojang/datafixers/util/Either<Lnet/minecraft/obf/MC_CLASSAB;Lnet/minecraft/obf/support/v1_17_1/abd$a;>;>;>;"},{"access":1,"name":"i","descriptor":"Lnet/minecraft/obf/support/v1_17_1/bws;"},{"access":65,"name":"j","descriptor":"Ljava/util/concurrent/CompletableFuture;","signature":"Ljava/util/concurrent/CompletableFuture<Lcom/mojang/datafixers/util/Either<Lnet/minecraft/obf/MC_CLASS_A;Lnet/minecraft/obf/support/v1_17_1/abd$a;>;>;"},{"access":65,"name":"k","descriptor":"Ljava/util/concurrent/CompletableFuture;","signature":"Ljava/util/concurrent/CompletableFuture<Lcom/mojang/datafixers/util/Either<Lnet/minecraft/obf/MC_CLASS_A;Lnet/minecraft/obf/support/v1_17_1/abd$a;>;>;"},{"access":65,"name":"l","descriptor":"Ljava/util/concurrent/CompletableFuture;","signature":"Ljava/util/concurrent/CompletableFuture<Lcom/mojang/datafixers/util/Either<Lnet/minecraft/obf/MC_CLASS_A;Lnet/minecraft/obf/support/v1_17_1/abd$a;>;>;"},{"access":1,"name":"m","descriptor":"Ljava/util/concurrent/CompletableFuture;","signature":"Ljava/util/concurrent/CompletableFuture<Lnet/minecraft/obf/MC_CLASSAB;>;"},{"access":1,"name":"n","descriptor":"Lnet/minecraft/obf/support/v1_17_1/agm;","signature":"Lnet/minecraft/obf/support/v1_17_1/agm<Lnet/minecraft/obf/support/v1_17_1/abd$b;>;"},{"access":1,"name":"o","descriptor":"I"},{"access":1,"name":"p","descriptor":"I"},{"access":1,"name":"q","descriptor":"I"},{"access":1,"name":"r","descriptor":"Lnet/minecraft/obf/MC_CLASSBB;"},{"access":1,"name":"s","descriptor":"Z"},{"access":1,"name":"t","descriptor":"[Lit/unimi/dsi/fastutil/shorts/ShortSet;"},{"access":1,"name":"u","descriptor":"Ljava/util/BitSet;"},{"access":1,"name":"v","descriptor":"Ljava/util/BitSet;"},{"access":1,"name":"w","descriptor":"Lnet/minecraft/obf/support/v1_17_1/dej;"},{"access":1,"name":"x","descriptor":"Lnet/minecraft/obf/support/v1_17_1/abd$d;"},{"access":1,"name":"y","descriptor":"Lnet/minecraft/obf/support/v1_17_1/abd$e;"},{"access":1,"name":"z","descriptor":"Z"},{"access":1,"name":"A","descriptor":"Z"},{"access":1,"name":"B","descriptor":"Ljava/util/concurrent/CompletableFuture;","signature":"Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSBB;ILnet/minecraft/obf/support/v1_17_1/bws;Lnet/minecraft/obf/support/vLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.18.2","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_18_2/aac$a","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_18_2/dl","net/minecraft/obf/support/v1_18_2/zg$c"],"fields":[{"access":9,"name":"b","descriptor":"I"},{"access":1,"name":"c","descriptor":"Ljava/io/PrintWriter;"},{"access":1,"name":"d","descriptor":"I"},{"access":1,"name":"e","descriptor":"Z"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Ljava/io/PrintWriter;)V"},{"access":2,"name":"a","descriptor":"(I)V"},{"access":2,"name":"b","descriptor":"(I)V"},{"access":2,"name":"e","descriptor":"()V"},{"access":1,"name":"a","descriptor":"(ILjava/lang/String;)V"},{"access":1,"name":"a","descriptor":"(ILjava/lang/String;I)V"},{"access":1,"name":"a","descriptor":"(ILnet/minecraft/obf/MC_CLASSwA;I)V"},{"access":1,"name":"b","descriptor":"(ILjava/lang/String;)V"},{"access":1,"name":"MC_METHODuA","descriptor":"(Lnet/minecraft/obf/MC_CLASSbA;Ljava/util/UUID;)V"},{"access":1,"name":"MC_METHODwA","descriptor":"(Lnet/minecraft/obf/MC_CLASSbA;Ljava/util/UUID;)V"},{"access":1,"name":"i_","descriptor":"()Z"},{"access":1,"name":"j_","descriptor":"()Z"},{"access":1,"name":"G_","descriptor":"()Z"},{"access":1,"name":"d_","descriptor":"()Z"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_18_2/ac","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"J"},{"access":9,"name":"b","descriptor":"J"},{"access":9,"name":"c","descriptor":"Lorg/slf4j/Logger;"},{"access":9,"name":"d","descriptor":"Ljava/lang/String;"},{"access":9,"name":"e","descriptor":"Ljava/lang/String;"},{"access":9,"name":"f","descriptor":"Ljava/lang/String;"},{"access":1,"name":"g","descriptor":"Ljava/util/Map;","signature":"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":1,"name":"a","descriptor":"(Ljava/lang/String;Ljava/lang/String;)V"},{"access":1,"name":"a","descriptor":"(Ljava/lang/String;Ljava/util/function/Supplier;)V","signature":"(Ljava/lang/String;Ljava/util/function/Supplier<Ljava/lang/String;>;)V"},{"access":2,"name":"a","descriptor":"(Loshi/SystemInfo;)V"},{"access":2,"name":"a","descriptor":"(Ljava/lang/String;Ljava/lang/Runnable;)V"},{"access":2,"name":"a","descriptor":"(Ljava/util/List;)V","signature":"(Ljava/util/List<Loshi/hardware/PhysicalMemory;>;)V"},{"access":2,"name":"a","descriptor":"(Loshi/hardware/VirtualMemory;)V"},{"access":2,"name":"a","descriptor":"(Loshi/hardware/GlobalMemory;)V"},{"access":2,"name":"b","descriptor":"(Ljava/util/List;)V","signature":"(Ljava/util/List<Loshi/hardware/GraphicsCard;>;)V"},{"access":2,"name":"a","descriptor":"(Loshi/hardware/CentralProcessor;)V"},{"access":1,"name":"a","descriptor":"(Ljava/lang/StringBuilder;)V"},{"access":1,"name":"a","descriptor":"()Ljava/lang/String;"},{"access":10,"name":"a","descriptor":"(Ljava/util/Map$Entry;)Ljava/lang/String;"},{"access":10,"name":"a","descriptor":"(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V"},{"access":10,"name":"b","descriptor":"(Loshi/hardware/CentralProcessor;)Ljava/lang/String;"},{"access":10,"name":"c","descriptor":"(Loshi/hardware/CentralProcessor;)Ljava/lang/String;"},{"access":10,"name":"d","descriptor":"(Loshi/hardware/CentralProcessor;)Ljava/lang/String;"},{"access":10,"name":"a","descriptor":"(Loshi/hardware/CentralProcessor$ProcessorIdentifier;)Ljava/lang/String;"},{"access":10,"name":"a","descriptor":"(Loshi/hardware/GraphicsCard;)Ljava/lang/String;"},{"access":2,"name":"b","descriptor":"(Loshi/hardware/GlobalMemory;)V"},{"access":2,"name":"c","descriptor":"(Loshi/hardware/GlobalMemory;)V"},{"access":10,"name":"b","descriptor":"(Loshi/hardware/VirtualMemory;)Ljava/lang/String;"},{"access":10,"name":"c","descriptor":"(Loshi/hardware/VirtualMemory;)Ljava/lang/String;"},{"access":10,"name":"d","descriptor":"(Loshi/hardware/VirtualMemory;)Ljava/lang/String;"},{"access":10,"name":"e","descriptor":"(Loshi/hardware/VirtualMemory;)Ljava/lang/String;"},{"access":10,"name":"a","descriptor":"(Loshi/hardware/PhysicalMemory;)Ljava/lang/String;"},{"access":10,"name":"b","descriptor":"(Loshi/hardware/PhysicalMemory;)Ljava/lang/String;"},{"access":2,"name":"a","descriptor":"(Loshi/hardware/HardwareAbstractionLayer;)V"},{"access":2,"name":"b","descriptor":"(Loshi/hardware/HardwareAbstractionLayer;)V"},{"access":2,"name":"c","descriptor":"(Loshi/hardware/HardwareAbstractionLayer;)V"},{"access":10,"name":"b","descriptor":"()Ljava/lang/String;"},{"access":2,"name":"c","descriptor":"()V"},{"access":10,"name":"d","descriptor":"()Ljava/lang/String;"},{"access":10,"name":"e","descriptor":"()Ljava/lang/String;"}]},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_18_2/acy$a","superName":"java/lang/Record","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"Ljava/lang/String;"},{Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.19.2","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_19_2/aab","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_19_2/ra"],"fields":[],"methods":[{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/aad;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/aac;)V"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_2/aac","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSyB"],"fields":[{"access":1,"name":"a","descriptor":"J"}],"methods":[{"access":1,"name":"<init>","descriptor":"(J)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSvB;)V"},{"access":1,"name":"MC_METHODVF","descriptor":"(Lnet/minecraft/obf/MC_CLASSvB;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/aab;)V"},{"access":1,"name":"b","descriptor":"()J"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/ra;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSyB<Lnet/minecraft/obf/support/v1_19_2/aab;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_2/aad","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSyB"],"fields":[{"access":9,"name":"a","descriptor":"Lcom/google/gson/Gson;"},{"access":1,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_19_2/aae;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/aae;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSvB;)V"},{"access":1,"name":"MC_METHODVF","descriptor":"(Lnet/minecraft/obf/MC_CLASSvB;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/aab;)V"},{"access":1,"name":"b","descriptor":"()Lnet/minecraft/obf/support/v1_19_2/aae;"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/ra;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSyB<Lnet/minecraft/obf/support/v1_19_2/aab;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_2/aae","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"I"},{"access":9,"name":"b","descriptor":"I"},{"access":1,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSFA;"},{"access":1,"name":"d","descriptor":"Lnet/minecraft/obf/support/v1_19_2/aae$a;"},{"access":1,"name":"e","descriptor":"Lnet/minecraft/obf/support/v1_19_2/aae$c;"},{"access":1,"name":"f","descriptor":"Ljava/lang/String;"},{"access":1,"name":"g","descriptor":"Z"},{"access":1,"name":"h","descriptor":"Z"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/MC_CLASSFA;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLASSFA;)V"},{"access":1,"name":"b","descriptor":"()Lnet/minecraft/obf/support/v1_19_2/aae$a;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/aae$a;)V"},{"access":1,"name":"c","descriptor":"()Lnet/minecraft/obf/support/v1_19_2/aae$c;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/aae$c;)V"},{"access":1,"name":"a","descriptor":"(Ljava/lang/String;)V"},{"access":1,"name":"d","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"a","descriptor":"(Z)V"},{"access":1,"name":"e","descriptor":"()Z"},{"access":1,"name":"b","descriptor":"(Z)V"},{"access":1,"name":"f","descriptor":"()Z"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_2/aae$a","superName":"java/lang/Object","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"I"},{"access":1,"name":"b","descriptor":"I"},{"access":1,"name":"c","descriptor":"[Lcom/mojang/authlib/GameProfile;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(II)V"},{"access":1,"name":"a","descriptor":"()I"},{"access":1,"name":"b","descriptor":"()I"},{"access":1,"name":"c","descriptor":"()[Lcom/mojang/authlib/GameProfile;"},{"access":1,"name":"a","descriptor":"([Lcom/mojang/authlib/GameProfile;)V"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_2/aae$c","superName":"java/lang/Object","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"Ljava/lang/String;"},{"access":1,"name":"b","descriptor":"I"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Ljava/lang/String;I)V"},{"access":1,"name":"a","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"b","descriptor":"()I"}]},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_19_2/aaf","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_19_2/xn"],"fields":[],"methods":[{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/aag;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_2/aah;)V"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_2/aag","superName":"java/lang/ObjectLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.19.3","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSzB","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSzB;"},{"access":9,"name":"MC_FIELDGC","descriptor":"Lnet/minecraft/obf/MC_CLASSzB;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSzB;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSzB;"},{"access":9,"name":"MC_FIELDHC","descriptor":"Lnet/minecraft/obf/MC_CLASSzB;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSzB;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSzB;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSzB;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSzB;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHODSD","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_3/aaa","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSrA"],"fields":[{"access":1,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_19_3/aaa$a;"},{"access":1,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSiA;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_19_3/aaa$a;Lnet/minecraft/obf/MC_CLASSiA;)V"},{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_3/ac;)Lnet/minecraft/obf/support/v1_19_3/aaa;"},{"access":9,"name":"b","descriptor":"()Lnet/minecraft/obf/support/v1_19_3/aaa;"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSoA;)V"},{"access":1,"name":"MC_METHODhB","descriptor":"(Lnet/minecraft/obf/MC_CLASSoA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_3/yq;)V"},{"access":1,"name":"c","descriptor":"()Lnet/minecraft/obf/support/v1_19_3/aaa$a;"},{"access":1,"name":"d","descriptor":"()Lnet/minecraft/obf/MC_CLASSiA;"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_3/sg;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSrA<Lnet/minecraft/obf/support/v1_19_3/yq;>;"},{"version":61,"access":16417,"name":"net/minecraft/obf/support/v1_19_3/aaa$a","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_19_3/aaa$a;"},{"access":16393,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_19_3/aaa$a;"},{"access":9,"name":"c","descriptor":"[Lnet/minecraft/obf/support/v1_19_3/aaa$a;"}],"methods":[{"access":9,"name":"values","descriptor":"()[Lnet/minecraft/obf/support/v1_19_3/aaa$a;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_19_3/aaa$a;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;I)V","signature":"()V"},{"access":10,"name":"a","descriptor":"()[Lnet/minecraft/obf/support/v1_19_3/aaa$a;"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/support/v1_19_3/aaa$a;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_3/aab","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSrA"],"fields":[{"access":1,"name":"a","descriptor":"I"}],"methods":[{"access":1,"name":"<init>","descriptor":"(I)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSoA;)V"},{"access":1,"name":"MC_METHODhB","descriptor":"(Lnet/minecraft/obf/MC_CLASSoA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_3/yq;)V"},{"access":1,"name":"b","descriptor":"()I"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_3/sg;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSrA<Lnet/minecraft/obf/support/v1_19_3/yq;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_3/aac","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSrA"],"fields":[{"access":1,"name":"a","descriptor":"Ljava/util/Optional;","signature":"Ljava/util/Optional<Lnet/minecraft/obf/MC_CLASSTA;>;"},{"access":1,"name":"b","descriptor":"Ljava/util/Optional;","signature":"Ljava/util/Optional<Lnet/minecraft/obf/MC_CLASSTA;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Ljava/util/Optional;Ljava/util/Optional;)V","signature":"(Ljava/util/Optional<Lnet/minecraft/obf/MC_CLASSTA;>;Ljava/util/Optional<Lnet/minecraft/obf/MC_CLASSTA;>;)V"},{"access":Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.19.4","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASS3B","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASS3B;"},{"access":9,"name":"MC_FIELDAC","descriptor":"Lnet/minecraft/obf/MC_CLASS3B;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASS3B;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASS3B;"},{"access":9,"name":"MC_FIELDBC","descriptor":"Lnet/minecraft/obf/MC_CLASS3B;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASS3B;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASS3B;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASS3B;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASS3B;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHODTD","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_4/aaa","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSlA"],"fields":[{"access":1,"name":"a","descriptor":"I"},{"access":1,"name":"b","descriptor":"I"}],"methods":[{"access":1,"name":"<init>","descriptor":"(II)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_4/zo;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSiA;)V"},{"access":1,"name":"MC_METHODiB","descriptor":"(Lnet/minecraft/obf/MC_CLASSiA;)V"},{"access":1,"name":"a","descriptor":"()I"},{"access":1,"name":"c","descriptor":"()I"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_4/sx;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSlA<Lnet/minecraft/obf/support/v1_19_4/zo;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/MC_CLASSxB","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSlA"],"fields":[{"access":9,"name":"a","descriptor":"I"},{"access":1,"name":"b","descriptor":"I"},{"access":1,"name":"c","descriptor":"I"},{"access":1,"name":"d","descriptor":"I"},{"access":1,"name":"e","descriptor":"I"},{"access":1,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSyB;"},{"access":1,"name":"g","descriptor":"Lnet/minecraft/obf/MC_CLASSDA;"},{"access":1,"name":"h","descriptor":"Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;","signature":"Lit/unimi/dsi/fastutil/ints/Int2ObjectMap<Lnet/minecraft/obf/MC_CLASSDA;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(IIIILnet/minecraft/obf/MC_CLASSyB;Lnet/minecraft/obf/MC_CLASSDA;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;)V","signature":"(IIIILnet/minecraft/obf/MC_CLASSyB;Lnet/minecraft/obf/MC_CLASSDA;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap<Lnet/minecraft/obf/MC_CLASSDA;>;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSiA;)V"},{"access":1,"name":"MC_METHODiB","descriptor":"(Lnet/minecraft/obf/MC_CLASSiA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_4/zo;)V"},{"access":1,"name":"MC_METHODKD","descriptor":"()I"},{"access":1,"name":"MC_METHODLD","descriptor":"()I"},{"access":1,"name":"MC_METHODMD","descriptor":"()I"},{"access":1,"name":"e","descriptor":"()Lnet/minecraft/obf/MC_CLASSDA;"},{"access":1,"name":"f","descriptor":"()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;","signature":"()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap<Lnet/minecraft/obf/MC_CLASSDA;>;"},{"access":1,"name":"MC_METHODND","descriptor":"()Lnet/minecraft/obf/MC_CLASSyB;"},{"access":1,"name":"h","descriptor":"()I"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_4/sx;)V"},{"access":10,"name":"b","descriptor":"(Lnet/minecraft/obf/MC_CLASSiA;)Ljava/lang/Integer;"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSlA<Lnet/minecraft/obf/support/v1_19_4/zo;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_19_4/aac","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSlA"],"fields":[{"access":1,"name":"a","descriptor":"I"}],"methods":[{"access":1,"name":"<init>","descriptor":"(I)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_19_4/zo;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSiA;)V"},{"access":1,"name":"MC_METHODiB","descriptor":"(Lnet/minecraft/obf/MC_CLASSiA;)V"},{"access":1,"name":"a","descriptor":"()I"},{"access":65,"name":"a","descriptor":"Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.20.1","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSmB","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSmB;"},{"access":9,"name":"MC_FIELD6B","descriptor":"Lnet/minecraft/obf/MC_CLASSmB;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSmB;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSmB;"},{"access":9,"name":"MC_FIELD7B","descriptor":"Lnet/minecraft/obf/MC_CLASSmB;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSmB;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSmB;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSmB;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSmB;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHODqC","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_20_1/aaa","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSNA"],"fields":[{"access":1,"name":"a","descriptor":"I"}],"methods":[{"access":1,"name":"<init>","descriptor":"(I)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSKA;)V"},{"access":1,"name":"MC_METHOD_A","descriptor":"(Lnet/minecraft/obf/MC_CLASSKA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_1/zb;)V"},{"access":1,"name":"a","descriptor":"()I"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_1/sk;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSNA<Lnet/minecraft/obf/support/v1_20_1/zb;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_20_1/aab","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSNA"],"fields":[{"access":1,"name":"a","descriptor":"I"},{"access":1,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSOA;"},{"access":1,"name":"c","descriptor":"Z"}],"methods":[{"access":1,"name":"<init>","descriptor":"(ILnet/minecraft/obf/support/v1_20_1/cjc;Z)V","signature":"(ILnet/minecraft/obf/support/v1_20_1/cjc<*>;Z)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSKA;)V"},{"access":1,"name":"MC_METHOD_A","descriptor":"(Lnet/minecraft/obf/MC_CLASSKA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_1/zb;)V"},{"access":1,"name":"a","descriptor":"()I"},{"access":1,"name":"c","descriptor":"()Lnet/minecraft/obf/MC_CLASSOA;"},{"access":1,"name":"d","descriptor":"()Z"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_1/sk;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSNA<Lnet/minecraft/obf/support/v1_20_1/zb;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_20_1/aac","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSNA"],"fields":[{"access":9,"name":"a","descriptor":"I"},{"access":1,"name":"b","descriptor":"Z"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_20_1/byl;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSKA;)V"},{"access":1,"name":"MC_METHOD_A","descriptor":"(Lnet/minecraft/obf/MC_CLASSKA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_1/zb;)V"},{"access":1,"name":"a","descriptor":"()Z"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_1/sk;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSNA<Lnet/minecraft/obf/support/v1_20_1/zb;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_20_1/aad","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSNA"],"fields":[{"access":1,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_20_1/gu;"},{"access":1,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_20_1/ha;"},{"access":1,"name":"c","descriptor":"Lnet/minecraft/obf/support/v1_20_1/aad$a;"},{"access":1,"name":"d","descriptor":"I"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_20_1/aad$a;Lnet/minecraft/obf/support/v1_20_1/gu;Lnet/minecraft/obf/support/v1_20_1/ha;I)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_20_1/aad$a;Lnet/minecraft/obf/support/v1_20_1/gu;Lnet/minecraft/obf/support/v1_20_1/ha;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.20.2","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSjB","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSjB;"},{"access":9,"name":"MC_FIELDyB","descriptor":"Lnet/minecraft/obf/MC_CLASSjB;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSjB;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSjB;"},{"access":9,"name":"MC_FIELDzB","descriptor":"Lnet/minecraft/obf/MC_CLASSjB;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSjB;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSjB;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSjB;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSjB;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHODaC","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_20_2/aaa","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSOA"],"fields":[{"access":9,"name":"a","descriptor":"B"},{"access":1,"name":"b","descriptor":"I"},{"access":1,"name":"c","descriptor":"Ljava/util/List;","signature":"Ljava/util/List<Lcom/mojang/datafixers/util/Pair<Lnet/minecraft/obf/MC_CLASStA;Lnet/minecraft/obf/MC_CLASShA;>;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(ILjava/util/List;)V","signature":"(ILjava/util/List<Lcom/mojang/datafixers/util/Pair<Lnet/minecraft/obf/MC_CLASStA;Lnet/minecraft/obf/MC_CLASShA;>;>;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSQA;)V"},{"access":1,"name":"MC_METHODsA","descriptor":"(Lnet/minecraft/obf/MC_CLASSQA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_2/ww;)V"},{"access":1,"name":"a","descriptor":"()I"},{"access":1,"name":"d","descriptor":"()Ljava/util/List;","signature":"()Ljava/util/List<Lcom/mojang/datafixers/util/Pair<Lnet/minecraft/obf/MC_CLASStA;Lnet/minecraft/obf/MC_CLASShA;>;>;"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_2/su;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSOA<Lnet/minecraft/obf/support/v1_20_2/ww;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_20_2/aab","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSOA"],"fields":[{"access":1,"name":"a","descriptor":"F"},{"access":1,"name":"b","descriptor":"I"},{"access":1,"name":"c","descriptor":"I"}],"methods":[{"access":1,"name":"<init>","descriptor":"(FII)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSQA;)V"},{"access":1,"name":"MC_METHODsA","descriptor":"(Lnet/minecraft/obf/MC_CLASSQA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_2/ww;)V"},{"access":1,"name":"a","descriptor":"()F"},{"access":1,"name":"d","descriptor":"()I"},{"access":1,"name":"e","descriptor":"()I"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_2/su;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSOA<Lnet/minecraft/obf/support/v1_20_2/ww;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_20_2/aac","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSOA"],"fields":[{"access":1,"name":"a","descriptor":"F"},{"access":1,"name":"b","descriptor":"I"},{"access":1,"name":"c","descriptor":"F"}],"methods":[{"access":1,"name":"<init>","descriptor":"(FIF)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSQA;)V"},{"access":1,"name":"MC_METHODsA","descriptor":"(Lnet/minecraft/obf/MC_CLASSQA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_2/ww;)V"},{"access":1,"name":"a","descriptor":"()F"},{"access":1,"name":"d","descriptor":"()I"},{"access":1,"name":"e","descriptor":"()F"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_2/su;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASSOA<Lnet/minecraft/obf/support/v1_20_2/ww;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_20_2/aad","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSOA"],"fields":[{"access":9,"name":"a","descriptor":"I"},{"access":9,"name":"b","descriptor":"I"},{"access":9,"name":"c","descriptor":"I"},{"access":1,"name":"d","descriptor":"Ljava/lang/String;"},{Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.20.4","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSgB","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSgB;"},{"access":9,"name":"MC_FIELDzB","descriptor":"Lnet/minecraft/obf/MC_CLASSgB;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSgB;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSgB;"},{"access":9,"name":"MC_FIELD1B","descriptor":"Lnet/minecraft/obf/MC_CLASSgB;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSgB;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSgB;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSgB;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSgB;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHODIC","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_20_4/aaa","superName":"java/lang/Record","interfaces":["net/minecraft/obf/MC_CLASScA"],"fields":[{"access":1,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_20_4/vr$a;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSdA;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_20_4/vr$a;)V"},{"access":1,"name":"MC_METHODdA","descriptor":"(Lnet/minecraft/obf/MC_CLASSdA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_4/za;)V"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_20_4/vr$a;"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_4/uo;)V"}],"signature":"Ljava/lang/Record;Lnet/minecraft/obf/MC_CLASScA<Lnet/minecraft/obf/support/v1_20_4/za;>;"},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_20_4/aab","superName":"java/lang/Record","interfaces":["net/minecraft/obf/MC_CLASScA"],"fields":[{"access":1,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSkB;"},{"access":1,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_20_4/vb$b;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSdA;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSkB;Lnet/minecraft/obf/support/v1_20_4/vb$b;)V"},{"access":1,"name":"MC_METHODdA","descriptor":"(Lnet/minecraft/obf/MC_CLASSdA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_4/za;)V"},{"access":1,"name":"b","descriptor":"()Z"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/MC_CLASSkB;"},{"access":1,"name":"d","descriptor":"()Lnet/minecraft/obf/support/v1_20_4/vb$b;"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_4/uo;)V"}],"signature":"Ljava/lang/Record;Lnet/minecraft/obf/MC_CLASScA<Lnet/minecraft/obf/support/v1_20_4/za;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_20_4/aac","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASScA"],"fields":[{"access":1,"name":"a","descriptor":"I"},{"access":1,"name":"b","descriptor":"B"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSIA;B)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSdA;)V"},{"access":1,"name":"MC_METHODdA","descriptor":"(Lnet/minecraft/obf/MC_CLASSdA;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_4/za;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_4/ctp;)Lnet/minecraft/obf/MC_CLASSIA;"},{"access":1,"name":"a","descriptor":"()B"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_4/uo;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/MC_CLASScA<Lnet/minecraft/obf/support/v1_20_4/za;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_20_4/aad","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASScA"],"fields":[{"access":1,"name":"a","descriptor":"D"},{"access":1,"name":"b","descriptor":"D"Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.20.6","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSlB","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSlB;"},{"access":9,"name":"MC_FIELDDC","descriptor":"Lnet/minecraft/obf/MC_CLASSlB;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSlB;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSlB;"},{"access":9,"name":"MC_FIELDEC","descriptor":"Lnet/minecraft/obf/MC_CLASSlB;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSlB;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSlB;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSlB;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSlB;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHODCC","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_20_6/aac","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_20_6/acc","net/minecraft/obf/support/v1_20_6/wh"],"fields":[],"methods":[{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aaf;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aag;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aad;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aae;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aai;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aah;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aal;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aaj;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aak;)V"}]},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_20_6/aad","superName":"java/lang/Record","interfaces":["net/minecraft/obf/support/v1_20_6/zw"],"fields":[{"access":1,"name":"c","descriptor":"Lnet/minecraft/obf/support/v1_20_6/aax;"},{"access":9,"name":"d","descriptor":"I"},{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSpA;","signature":"Lnet/minecraft/obf/MC_CLASSpA<Lnet/minecraft/obf/MC_CLASStA;Lnet/minecraft/obf/support/v1_20_6/aad;>;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSpA;","signature":"Lnet/minecraft/obf/MC_CLASSpA<Lnet/minecraft/obf/MC_CLASSqA;Lnet/minecraft/obf/support/v1_20_6/aad;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aax;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_20_6/zy;","signature":"()Lnet/minecraft/obf/support/v1_20_6/zy<Lnet/minecraft/obf/support/v1_20_6/aad;>;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/aac;)V"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"b","descriptor":"()Lnet/minecraft/obf/support/v1_20_6/aax;"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_20_6/wv;)V"},{"access":10,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLASSGB;)Lnet/minecraft/obf/MC_CLASSpA;"},{"access":10,"name":"a","descriptor":"(Ljava/util/ArrayList;)V"},{"access":10,"name":"b","descriptor":"(Lnet/minecraft/obf/MC_CLASSGB;)Lnet/minecraft/obf/MC_CLASSpA;"}],"signature":"Ljava/lang/Record;Lnet/minecraft/obf/support/v1_20_6/zw<Lnet/minecraft/obf/support/v1_20_6/aac;>;"},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_20_6/aae","superName":"java/lang/Record","interfaces":["net/minecraft/obf/support/v1_20_6/zw"],"fields":[{"access":1,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSqB;"},{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSpA;","signature":"Lnet/minecraft/obf/MC_CLASSpA<Lio/netty/buffer/ByteBuf;Lnet/minecraft/obf/support/v1_20_6/aae;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSqB;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_20_6/zy;","signature":"()Lnet/minecraft/obf/support/v1_20_6/zy<Lnet/minecraft/obf/support/v1_20_6/aae;>;"},{"access":1,"namLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.21.1","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSTB","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSTB;"},{"access":9,"name":"MC_FIELD0A","descriptor":"Lnet/minecraft/obf/MC_CLASSTB;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSTB;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSTB;"},{"access":9,"name":"MC_FIELD$A","descriptor":"Lnet/minecraft/obf/MC_CLASSTB;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSTB;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSTB;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSTB;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSTB;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHOD0B","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_21_1/aa","superName":"java/lang/RuntimeException","interfaces":[],"fields":[],"methods":[{"access":1,"name":"<init>","descriptor":"(Ljava/lang/String;)V"},{"access":1,"name":"<init>","descriptor":"(Ljava/lang/String;Ljava/lang/Throwable;)V"}]},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_21_1/aaa","superName":"java/lang/Record","interfaces":["net/minecraft/obf/MC_CLASSvA"],"fields":[{"access":1,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_21_1/aqh;"},{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_1/yx;","signature":"Lnet/minecraft/obf/support/v1_21_1/yx<Lnet/minecraft/obf/support/v1_21_1/vw;Lnet/minecraft/obf/support/v1_21_1/aaa;>;"}],"methods":[{"access":2,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_21_1/vw;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_21_1/aqh;)V"},{"access":2,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_1/vw;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_1/zi;","signature":"()Lnet/minecraft/obf/support/v1_21_1/zi<Lnet/minecraft/obf/support/v1_21_1/aaa;>;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_1/zz;)V"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"b","descriptor":"()Lnet/minecraft/obf/support/v1_21_1/aqh;"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_1/wf;)V"}],"signature":"Ljava/lang/Record;Lnet/minecraft/obf/MC_CLASSvA<Lnet/minecraft/obf/support/v1_21_1/zz;>;"},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_21_1/aab","superName":"java/lang/Record","interfaces":["net/minecraft/obf/MC_CLASSvA"],"fields":[{"access":1,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_21_1/aaj;"},{"access":9,"name":"c","descriptor":"I"},{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_1/yx;","signature":"Lnet/minecraft/obf/support/v1_21_1/yx<Lnet/minecraft/obf/support/v1_21_1/vw;Lnet/minecraft/obf/support/v1_21_1/aab;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_21_1/aaj;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_1/zi;","signature":"()Lnet/minecraft/obf/support/v1_21_1/zi<Lnet/minecraft/obf/support/v1_21_1/aab;>;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_1/zz;)V"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"b","descriptor":"()Lnet/minecraft/obf/support/v1_21_1/aaj;"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_1/wf;)V"},{"access":10,"name":"a","descriptor":"(Ljava/util/ArrayList;)V"},{"access":10,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLASSOA;)Lnet/minecraft/obf/support/v1_21_1/yx;"}],"signature":"Ljava/lang/Record;Lnet/minecraft/obf/MC_CLASSvA<Lnet/minecraft/obf/support/v1_21_1/zz;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_21_1/aac","superName":"java/lang/Object","interfaces":["net/minecraft/obf/MC_CLASSvA"],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_1/yx;"Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.21.10","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSkB","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSkB;"},{"access":9,"name":"MC_FIELD7A","descriptor":"Lnet/minecraft/obf/MC_CLASSkB;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSkB;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSkB;"},{"access":9,"name":"MC_FIELD6A","descriptor":"Lnet/minecraft/obf/MC_CLASSkB;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSkB;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSkB;"},{"access":9,"name":"MC_FIELD4A","descriptor":"Lnet/minecraft/obf/MC_CLASSkB;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSkB;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSkB;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHODXC","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_21_10/aa","superName":"java/lang/RuntimeException","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_10/p;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_21_10/p;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_10/p;"},{"access":1,"name":"getCause","descriptor":"()Ljava/lang/Throwable;"},{"access":1,"name":"getMessage","descriptor":"()Ljava/lang/String;"}]},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_21_10/aae","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_21_10/aaf","net/minecraft/obf/support/v1_21_10/aag"],"fields":[],"methods":[{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_10/aag;Lnet/minecraft/obf/support/v1_21_10/aaf;)Lnet/minecraft/obf/support/v1_21_10/aae;","signature":"<B:Ljava/lang/Object;V:Ljava/lang/Object;>(Lnet/minecraft/obf/support/v1_21_10/aag<TB;TV;>;Lnet/minecraft/obf/support/v1_21_10/aaf<TB;TV;>;)Lnet/minecraft/obf/support/v1_21_10/aae<TB;TV;>;"},{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_10/aah;Lnet/minecraft/obf/support/v1_21_10/aaf;)Lnet/minecraft/obf/support/v1_21_10/aae;","signature":"<B:Ljava/lang/Object;V:Ljava/lang/Object;>(Lnet/minecraft/obf/support/v1_21_10/aah<TB;TV;>;Lnet/minecraft/obf/support/v1_21_10/aaf<TB;TV;>;)Lnet/minecraft/obf/support/v1_21_10/aae<TB;TV;>;"},{"access":9,"name":"a","descriptor":"(Ljava/lang/Object;)Lnet/minecraft/obf/support/v1_21_10/aae;","signature":"<B:Ljava/lang/Object;V:Ljava/lang/Object;>(TV;)Lnet/minecraft/obf/support/v1_21_10/aae<TB;TV;>;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_10/aae$a;)Lnet/minecraft/obf/support/v1_21_10/aae;","signature":"<O:Ljava/lang/Object;>(Lnet/minecraft/obf/support/v1_21_10/aae$a<TB;TV;TO;>;)Lnet/minecraft/obf/support/v1_21_10/aae<TB;TO;>;"},{"access":1,"name":"a","descriptor":"(Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/obf/support/v1_21_10/aae;","signature":"<O:Ljava/lang/Object;>(Ljava/util/function/Function<-TV;+TO;>;Ljava/util/function/Function<-TO;+TV;>;)Lnet/minecraft/obf/support/v1_21_10/aae<TB;TO;>;"},{"access":1,"name":"b","descriptor":"(Ljava/util/function/Function;)Lnet/minecraft/obf/support/v1_21_10/aae;","signature":"<O:Lio/netty/buffer/ByteBuf;>(Ljava/util/function/Function<TO;+TB;>;)Lnet/minecraft/obf/support/v1_21_10/aae<TO;TV;>;"},{"access":1,"name":"b","descriptor":"(Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/obf/support/v1_21_10/aae;","signature":"<U:Ljava/lang/Object;>(Ljava/util/function/Function<-TU;+TV;>;Ljava/util/function/Function<-TV;+Lnet/minecraft/obf/support/v1_21_10/aae<-TB;+TU;>;>;)Lnet/minecraft/obf/support/v1_21_10/aae<TB;TU;>;"},{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_10/aae;Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/obf/support/v1_21_10/aae;","signature":"<B:Ljava/lang/Object;C:Ljava/lang/Object;T1:Ljava/lang/Object;>(Lnet/minecraft/obf/support/v1_21_10/aae<-TB;TT1;>;Ljava/util/function/Function<TC;TT1;>;Ljava/util/function/Function<TT1;TC;>;)Lnet/minecraft/obf/support/v1_21_10/aae<TB;TC;>;"},{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/supporLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.21.11","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSfB","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSfB;"},{"access":9,"name":"MC_FIELDzA","descriptor":"Lnet/minecraft/obf/MC_CLASSfB;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSfB;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSfB;"},{"access":9,"name":"MC_FIELDyA","descriptor":"Lnet/minecraft/obf/MC_CLASSfB;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSfB;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSfB;"},{"access":9,"name":"MC_FIELDwA","descriptor":"Lnet/minecraft/obf/MC_CLASSfB;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSfB;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSfB;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHODvB","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_21_11/aag","superName":"java/lang/Object","interfaces":[],"fields":[],"methods":[{"access":1025,"name":"a","descriptor":"(I)Lnet/minecraft/obf/support/v1_21_11/yw;"},{"access":1025,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_11/aah;","signature":"()Lnet/minecraft/obf/support/v1_21_11/aah<+Lnet/minecraft/obf/support/v1_21_11/aag;>;"}]},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_21_11/aah","superName":"java/lang/Object","interfaces":[],"fields":[],"methods":[{"access":1025,"name":"a","descriptor":"()Lcom/mojang/serialization/MapCodec;","signature":"()Lcom/mojang/serialization/MapCodec<TT;>;"},{"access":1025,"name":"b","descriptor":"()Lnet/minecraft/obf/support/v1_21_11/aao;","signature":"()Lnet/minecraft/obf/support/v1_21_11/aao<Lnet/minecraft/obf/support/v1_21_11/xq;TT;>;"}],"signature":"<T::Lnet/minecraft/obf/support/v1_21_11/aag;>Ljava/lang/Object;"},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_21_11/aao","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_21_11/aap","net/minecraft/obf/support/v1_21_11/aaq"],"fields":[],"methods":[{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_11/aaq;Lnet/minecraft/obf/support/v1_21_11/aap;)Lnet/minecraft/obf/support/v1_21_11/aao;","signature":"<B:Ljava/lang/Object;V:Ljava/lang/Object;>(Lnet/minecraft/obf/support/v1_21_11/aaq<TB;TV;>;Lnet/minecraft/obf/support/v1_21_11/aap<TB;TV;>;)Lnet/minecraft/obf/support/v1_21_11/aao<TB;TV;>;"},{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_11/aar;Lnet/minecraft/obf/support/v1_21_11/aap;)Lnet/minecraft/obf/support/v1_21_11/aao;","signature":"<B:Ljava/lang/Object;V:Ljava/lang/Object;>(Lnet/minecraft/obf/support/v1_21_11/aar<TB;TV;>;Lnet/minecraft/obf/support/v1_21_11/aap<TB;TV;>;)Lnet/minecraft/obf/support/v1_21_11/aao<TB;TV;>;"},{"access":9,"name":"a","descriptor":"(Ljava/lang/Object;)Lnet/minecraft/obf/support/v1_21_11/aao;","signature":"<B:Ljava/lang/Object;V:Ljava/lang/Object;>(TV;)Lnet/minecraft/obf/support/v1_21_11/aao<TB;TV;>;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_11/aao$a;)Lnet/minecraft/obf/support/v1_21_11/aao;","signature":"<O:Ljava/lang/Object;>(Lnet/minecraft/obf/support/v1_21_11/aao$a<TB;TV;TO;>;)Lnet/minecraft/obf/support/v1_21_11/aao<TB;TO;>;"},{"access":1,"name":"a","descriptor":"(Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/obf/support/v1_21_11/aao;","signature":"<O:Ljava/lang/Object;>(Ljava/util/function/Function<-TV;+TO;>;Ljava/util/function/Function<-TO;+TV;>;)Lnet/minecraft/obf/support/v1_21_11/aao<TB;TO;>;"},{"access":1,"name":"b","descriptor":"(Ljava/util/function/Function;)Lnet/minecraft/obf/support/v1_21_11/aao;","signature":"<O:Lio/netty/buffer/ByteBuf;>(Ljava/util/function/Function<TO;+TB;>;)Lnet/minecraft/obf/support/v1_21_11/aao<TO;TV;>;"},{"access":1,"name":"b","descriptor":"(Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/obf/support/v1_21_11/aao;","signature":"<U:Ljava/lang/Object;>(Ljava/util/function/Function<-TU;+TV;>;Ljava/util/function/Function<-TV;+Lnet/minecraft/obf/support/v1_21_11/aao<-TB;+TU;>;>;)Lnet/minecraft/obf/support/v1_21_11/aao<TB;TU;>;"},{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.21.3","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSIC","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSIC;"},{"access":9,"name":"MC_FIELDNC","descriptor":"Lnet/minecraft/obf/MC_CLASSIC;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSIC;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSIC;"},{"access":9,"name":"MC_FIELDOC","descriptor":"Lnet/minecraft/obf/MC_CLASSIC;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSIC;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSIC;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSIC;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSIC;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHODlF","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_21_3/aa","superName":"java/lang/RuntimeException","interfaces":[],"fields":[],"methods":[{"access":1,"name":"<init>","descriptor":"(Ljava/lang/String;)V"},{"access":1,"name":"<init>","descriptor":"(Ljava/lang/String;Ljava/lang/Throwable;)V"}]},{"version":61,"access":1057,"name":"net/minecraft/obf/support/v1_21_3/aaa","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_21_3/aac"],"fields":[{"access":1,"name":"a","descriptor":"Ljava/lang/Iterable;","signature":"Ljava/lang/Iterable<Lnet/minecraft/obf/support/v1_21_3/aac<-TT;>;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Ljava/lang/Iterable;)V","signature":"(Ljava/lang/Iterable<Lnet/minecraft/obf/support/v1_21_3/aac<-TT;>;>;)V"},{"access":1,"name":"b","descriptor":"()Ljava/lang/Iterable;","signature":"()Ljava/lang/Iterable<Lnet/minecraft/obf/support/v1_21_3/aac<-TT;>;>;"},{"access":1025,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_3/aae;","signature":"()Lnet/minecraft/obf/support/v1_21_3/aae<+Lnet/minecraft/obf/support/v1_21_3/aaa<TT;>;>;"}],"signature":"<T::Lnet/minecraft/obf/support/v1_21_3/xb;>Ljava/lang/Object;Lnet/minecraft/obf/support/v1_21_3/aac<TT;>;"},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_21_3/aab","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"I"}],"methods":[{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_3/aae;Ljava/util/function/Function;Lnet/minecraft/obf/support/v1_21_3/zz;)Lnet/minecraft/obf/support/v1_21_3/aab;","signature":"<T::Lnet/minecraft/obf/support/v1_21_3/xb;P:Lnet/minecraft/obf/support/v1_21_3/aaa<-TT;>;>(Lnet/minecraft/obf/support/v1_21_3/aae<TP;>;Ljava/util/function/Function<Ljava/lang/Iterable<Lnet/minecraft/obf/support/v1_21_3/aac<-TT;>;>;TP;>;Lnet/minecraft/obf/support/v1_21_3/zz<-TT;>;)Lnet/minecraft/obf/support/v1_21_3/aab;"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_3/aac;Ljava/util/function/Consumer;)V","signature":"(Lnet/minecraft/obf/support/v1_21_3/aac<*>;Ljava/util/function/Consumer<Lnet/minecraft/obf/support/v1_21_3/aac<*>;>;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_3/aac;)Lnet/minecraft/obf/support/v1_21_3/aab$a;","signature":"(Lnet/minecraft/obf/support/v1_21_3/aac<*>;)Lnet/minecraft/obf/support/v1_21_3/aab$a;"}]},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_21_3/aab$a","superName":"java/lang/Object","interfaces":[],"fields":[],"methods":[{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_3/aac;)Lnet/minecraft/obf/support/v1_21_3/aac;","signature":"(Lnet/minecraft/obf/support/v1_21_3/aac<*>;)Lnet/minecraft/obf/support/v1_21_3/aac<*>;"}]},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_21_3/aac","superName":"java/lang/Object","interfaces":[],"fields":[],"methods":[{"access":1025,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_3/aae;","signature":"()Lnet/minecraft/obf/support/v1_21_3/aae<+Lnet/minecraft/obf/support/v1_21_3/aac<TT;>;>;"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_3/xb;)V","signature":"(TT;)V"},{"access":1,"name":"c","descriptor":"()Z"},{"access":1,"name":"d","descriptor":"()Z"},{"access":9,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_3/zw;Lnet/minecraft/obf/support/v1_21_3/zu;)Lnet/minecrafLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.21.4","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSOC","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSOC;"},{"access":9,"name":"MC_FIELDQC","descriptor":"Lnet/minecraft/obf/MC_CLASSOC;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSOC;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSOC;"},{"access":9,"name":"MC_FIELDRC","descriptor":"Lnet/minecraft/obf/MC_CLASSOC;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSOC;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSOC;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSOC;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSOC;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHOD2F","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_21_4/aa","superName":"java/lang/RuntimeException","interfaces":[],"fields":[],"methods":[{"access":1,"name":"<init>","descriptor":"(Ljava/lang/String;)V"},{"access":1,"name":"<init>","descriptor":"(Ljava/lang/String;Ljava/lang/Throwable;)V"}]},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_21_4/aaf$a","superName":"java/lang/Record","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"I"},{"access":1,"name":"b","descriptor":"Z"},{"access":1,"name":"c","descriptor":"Ljava/lang/String;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_21_4/vl;)V"},{"access":1,"name":"<init>","descriptor":"(IZLjava/lang/String;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_4/vl;)V"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"a","descriptor":"()I"},{"access":1,"name":"b","descriptor":"()Z"},{"access":1,"name":"c","descriptor":"()Ljava/lang/String;"}]},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_21_4/aag$a","superName":"java/lang/Record","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSAC;"},{"access":1,"name":"b","descriptor":"Ljava/lang/String;"},{"access":1,"name":"c","descriptor":"I"},{"access":1,"name":"d","descriptor":"I"},{"access":1,"name":"e","descriptor":"Z"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_21_4/vl;)V"},{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSAC;Ljava/lang/String;IIZ)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_4/vl;)V"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/MC_CLASSAC;"},{"access":1,"name":"b","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"c","descriptor":"()I"},{"access":1,"name":"d","descriptor":"()I"},{"access":1,"name":"e","descriptor":"()Z"}]},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_21_4/aan","superName":"java/lang/Record","interfaces":["net/minecraft/obf/support/v1_21_4/zz"],"fields":[{"access":1,"name":"c","descriptor":"J"},{"access":1,"name":"d","descriptor":"Ljava/util/List;","signature":"Ljava/util/List<Lnet/minecraft/obf/support/v1_21_4/aan$a;>;"},{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_4/zz$b;","signature":"Lnet/minecraft/obf/support/v1_21_4/zz$b<Lnet/minecraft/obf/support/v1_21_4/aan;>;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_21_4/yn;","signature":"Lnet/minecraft/obf/support/v1_21_4/yn<Lnet/minecraft/obf/support/v1_21_4/vl;Lnet/minecraft/obf/support/v1_21_4/aan;>;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(JLjava/util/List;)V","signature":"(JLjava/util/List<Lnet/minecraft/obf/support/v1_21_4/aan$a;>;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_4/zz$b;","signature":"()Lnet/minecraft/obf/support/v1_21_4/zz$b<Lnet/minecraft/obf/support/v1_21_4/aan;>;"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"hashCode","descriptor":"(Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.21.5","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASS$B","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASS$B;"},{"access":9,"name":"MC_FIELDuC","descriptor":"Lnet/minecraft/obf/MC_CLASS$B;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASS$B;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASS$B;"},{"access":9,"name":"MC_FIELDvC","descriptor":"Lnet/minecraft/obf/MC_CLASS$B;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASS$B;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASS$B;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASS$B;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASS$B;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHOD2E","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}],"innerClasses":[{"name":"net/minecraft/obf/MC_CLASS$B","outerName":"net/minecraft/obf/MC_CLASS","innerName":"B","access":1545}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_21_5/aa","superName":"java/lang/RuntimeException","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_5/p;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_21_5/p;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_5/p;"},{"access":1,"name":"getCause","descriptor":"()Ljava/lang/Throwable;"},{"access":1,"name":"getMessage","descriptor":"()Ljava/lang/String;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_21_5/aaa","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_21_5/zo"],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_5/ze;","signature":"Lnet/minecraft/obf/support/v1_21_5/ze<Lnet/minecraft/obf/support/v1_21_5/vy;Lnet/minecraft/obf/support/v1_21_5/aaa;>;"},{"access":1,"name":"b","descriptor":"J"}],"methods":[{"access":1,"name":"<init>","descriptor":"(J)V"},{"access":2,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_21_5/vy;)V"},{"access":2,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_5/vy;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_5/zq;","signature":"()Lnet/minecraft/obf/support/v1_21_5/zq<Lnet/minecraft/obf/support/v1_21_5/aaa;>;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_5/zw;)V"},{"access":1,"name":"b","descriptor":"()J"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_5/wk;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/support/v1_21_5/zo<Lnet/minecraft/obf/support/v1_21_5/zw;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_21_5/aab","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_21_5/zo"],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_5/ze;","signature":"Lnet/minecraft/obf/support/v1_21_5/ze<Lnet/minecraft/obf/support/v1_21_5/vy;Lnet/minecraft/obf/support/v1_21_5/aab;>;"},{"access":1,"name":"b","descriptor":"I"}],"methods":[{"access":1,"name":"<init>","descriptor":"(I)V"},{"access":2,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_21_5/vy;)V"},{"access":2,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_5/vy;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_5/zq;","signature":"()Lnet/minecraft/obf/support/v1_21_5/zq<Lnet/minecraft/obf/support/v1_21_5/aab;>;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_5/zw;)V"},{"access":1,"name":"b","descriptor":"()I"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_5/wk;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/support/v1_21_5/zo<Lnet/minecraft/obf/support/v1_21_5/zw;>;"},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_21_5/aac","superName":"java/lang/Record","interfaces":["net/minecraft/obf/support/v1_21_5/zo"],"fields":[{"access":1,"name":"b","descriptor":"Ljava/util/Optional;","signature":"Ljava/util/Optional<Ljava/util/UUID;>;"},{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_5/ze;","signature":"Lnet/minecraft/obf/support/v1_21_5/ze<Lnet/minecraft/obf/support/v1_21_5/vy;Lnet/minecraft/obf/support/v1_21_5/aac;>;"}],"methLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.21.8","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":1537,"name":"net/minecraft/obf/MC_CLASSMB","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSMB;"},{"access":9,"name":"MC_FIELDdB","descriptor":"Lnet/minecraft/obf/MC_CLASSMB;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSMB;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSMB;"},{"access":9,"name":"MC_FIELDeB","descriptor":"Lnet/minecraft/obf/MC_CLASSMB;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSMB;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSMB;"},{"access":9,"name":"MC_FIELDRC","descriptor":"Lnet/minecraft/obf/MC_CLASSMB;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSMB;"}],"methods":[{"access":9,"name":"of","descriptor":"(Lorg/joml/Vector3f;)Lnet/minecraft/obf/MC_CLASSMB;"},{"access":1025,"name":"rotation","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":1,"name":"MC_METHODJB","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(Lorg/joml/Vector3f;F)Lorg/joml/Quaternionf;"},{"access":10,"name":"a","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"b","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"c","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"d","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"e","descriptor":"(F)Lorg/joml/Quaternionf;"},{"access":10,"name":"f","descriptor":"(F)Lorg/joml/Quaternionf;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_21_8/aa","superName":"java/lang/RuntimeException","interfaces":[],"fields":[{"access":1,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_8/p;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/p;)V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_8/p;"},{"access":1,"name":"getCause","descriptor":"()Ljava/lang/Throwable;"},{"access":1,"name":"getMessage","descriptor":"()Ljava/lang/String;"}]},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v1_21_8/aae","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_21_8/ack"],"fields":[],"methods":[{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aaj;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aak;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aag;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aai;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aam;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aal;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aar;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aap;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aaq;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aah;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aan;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aaf;)V"},{"access":1025,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aao;)V"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_21_8/aaf","superName":"java/lang/Object","interfaces":["net/minecraft/obf/support/v1_21_8/zw"],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_8/aaf;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_21_8/zm;","signature":"Lnet/minecraft/obf/support/v1_21_8/zm<Lio/netty/buffer/ByteBuf;Lnet/minecraft/obf/support/v1_21_8/aaf;>;"}],"methods":[{"access":2,"name":"<init>","descriptor":"()V"},{"access":1,"name":"a","descriptor":"()Lnet/minecraft/obf/support/v1_21_8/zy;","signature":"()Lnet/minecraft/obf/support/v1_21_8/zy<Lnet/minecraft/obf/support/v1_21_8/aaf;>;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/aae;)V"},{"access":65,"name":"a","descriptor":"(Lnet/minecraft/obf/support/v1_21_8/ws;)V"}],"signature":"Ljava/lang/Object;Lnet/minecraft/obf/support/v1_21_8/zw<Lnet/minecraft/obf/support/v1_21_8/aae;>;"},{"version":61,"access":65569,"name":"net/minecraft/obf/support/v1_21_8/aag","superName":"java/lang/Record","interfaces":["net/minecraft/obf/support/v1_21_8/zw"],"fields":[{"access":1,"name":"c","descriptor":"Lnet/minecraft/obf/support/v1_21_8/abe;"},{"access":9,"name":"d","descriptor":"I"},{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_21_8/zm;","signature":"Lnet/minecraft/obf/support/v1_21_8/zm<Lnet/minecraft/obf/support/v1_21_8/wx;Lnet/minecraft/obf/support/v1_21_8/aag;>;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_21_8/zm;","signaLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.8.8","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":16417,"name":"net/minecraft/obf/MC_CLASSCC","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"a","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"b","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"c","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"d","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"e","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"f","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"g","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"h","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"i","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"j","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"k","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"l","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"m","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"n","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"o","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"MC_FIELD5E","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"p","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"q","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"r","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"s","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"t","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"u","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":16393,"name":"v","descriptor":"Lnet/minecraft/obf/MC_CLASSCC;"},{"access":9,"name":"w","descriptor":"Ljava/util/Map;","signature":"Ljava/util/Map<Ljava/lang/String;Lnet/minecraft/obf/MC_CLASSCC;>;"},{"access":9,"name":"x","descriptor":"Ljava/util/regex/Pattern;"},{"access":1,"name":"y","descriptor":"Ljava/lang/String;"},{"access":1,"name":"z","descriptor":"C"},{"access":1,"name":"A","descriptor":"Z"},{"access":1,"name":"B","descriptor":"Ljava/lang/String;"},{"access":1,"name":"C","descriptor":"I"},{"access":9,"name":"D","descriptor":"[Lnet/minecraft/obf/MC_CLASSCC;"}],"methods":[{"access":9,"name":"MC_METHODbG","descriptor":"()[Lnet/minecraft/obf/MC_CLASSCC;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/MC_CLASSCC;"},{"access":10,"name":"c","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CI)V","signature":"(Ljava/lang/String;CI)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZ)V","signature":"(Ljava/lang/String;CZ)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZI)V","signature":"(Ljava/lang/String;CZI)V"},{"access":1,"name":"MC_METHOD$E","descriptor":"()I"},{"access":1,"name":"c","descriptor":"()Z"},{"access":1,"name":"d","descriptor":"()Z"},{"access":1,"name":"e","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":9,"name":"a","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":9,"name":"b","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/MC_CLASSCC;"},{"access":9,"name":"a","descriptor":"(I)Lnet/minecraft/obf/MC_CLASSCC;"},{"access":9,"name":"a","descriptor":"(ZZ)Ljava/util/Collection;","signature":"(ZZ)Ljava/util/Collection<Ljava/lang/String;>;"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/MC_CLASSCC;>;"},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_8_8/aaa","superName":"net/minecraft/obf/MC_CLASSfA","interfaces":[],"fields":[{"access":1,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_8_8/ahs;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(Lnet/minecraft/obf/support/v1_8_8/ahs;)V"},{"access":1,"name":"a","descriptor":"(I)I"},{"access":1,"name":"MC_METHODdB","descriptor":"(Lnet/minecraft/obf/MC_CLASSNA;I)I"},{"access":1,"name":"e_","descriptor":"(Lnet/minecraft/obf/MC_CLASSNA;)Ljava/lang/String;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v1_8_8/aab","superName":"net/minecraft/obf/MC_CLASSDD","interfaces":[],"fields":[],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":9,"name":"a","descriptor":"(ILnet/minecraft/obf/MC_CLASSIA;)Lnet/minecraft/obf/support/v1_8_8/atg;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLASSNA;Lnet/minecraft/obf/MC_CLASSIA;)Lnet/minecraft/obf/support/v1_8_8/atg;"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLASSIA;Lnet/minecraft/obf/MC_CLASSEA;Lnet/minecraft/obf/support/v1_8_8/atg;)V"},{"access":1,"name":"a","descriptor":"(Lnet/minecraft/obf/MC_CLALine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"1.9.4","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":16417,"name":"net/minecraft/obf/support/v1_9_4/a","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"c","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"d","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"e","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"f","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"g","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"h","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"i","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"j","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"k","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"l","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"m","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"n","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"o","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"p","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"q","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"r","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"s","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"t","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"u","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":16393,"name":"v","descriptor":"Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":9,"name":"w","descriptor":"Ljava/util/Map;","signature":"Ljava/util/Map<Ljava/lang/String;Lnet/minecraft/obf/support/v1_9_4/a;>;"},{"access":9,"name":"x","descriptor":"Ljava/util/regex/Pattern;"},{"access":1,"name":"y","descriptor":"Ljava/lang/String;"},{"access":1,"name":"z","descriptor":"C"},{"access":1,"name":"A","descriptor":"Z"},{"access":1,"name":"B","descriptor":"Ljava/lang/String;"},{"access":1,"name":"C","descriptor":"I"},{"access":9,"name":"D","descriptor":"[Lnet/minecraft/obf/support/v1_9_4/a;"}],"methods":[{"access":9,"name":"values","descriptor":"()[Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":10,"name":"c","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CI)V","signature":"(Ljava/lang/String;CI)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZ)V","signature":"(Ljava/lang/String;CZ)V"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILjava/lang/String;CZI)V","signature":"(Ljava/lang/String;CZI)V"},{"access":1,"name":"b","descriptor":"()I"},{"access":1,"name":"c","descriptor":"()Z"},{"access":1,"name":"d","descriptor":"()Z"},{"access":1,"name":"e","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":9,"name":"a","descriptor":"(Ljava/lang/String;)Ljava/lang/String;"},{"access":9,"name":"b","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":9,"name":"a","descriptor":"(I)Lnet/minecraft/obf/support/v1_9_4/a;"},{"access":9,"name":"a","descriptor":"(ZZ)Ljava/util/Collection;","signature":"(ZZ)Ljava/util/Collection<Ljava/lang/String;>;"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/support/v1_9_4/a;>;"},{"version":61,"access":1057,"name":"net/minecraft/obf/support/v1_9_4/aah","superName":"net/minecraft/obf/MC_CLASSUA","interfaces":["net/minecraft/obf/support/v1_9_4/qt"],"fields":[{"access":9,"name":"a","descriptor":"Lnet/minecraft/obf/support/v1_9_4/kf;","signature":"Lnet/minecraft/obf/support/v1_9_4/kf<Ljava/lang/Integer;>;"},{"access":9,"name":"b","descriptor":"Lnet/minecraft/obf/support/v1_9_4/kf;","signature":"Lnet/minecraft/obf/support/v1_9_4/kf<Ljava/lang/Integer;>;"},{"access":9,"name":"c","descriptor":"Lnet/minecraft/obf/support/v1_9_4/kf;","signature":"Lnet/minecraft/obf/support/v1_9_4/kf<Ljava/lang/Float;>;"},{"access":9,"name":"d","descriptor":"Lnet/minecraft/obf/support/v1_9_4/kf;","signature":"Lnet/minecraft/obf/support/v1_9_4/kf<Ljava/lang/Integer;>;"},{"access":9,"name":"e","descriptor":"Lnet/minecraft/obf/support/v1_9_4/kf;","signature":"Lnet/minecraft/obf/support/v1_9_4/kf<Ljava/lang/Integer;>;"},{"access":9,"name":"f","descriptor":"Lnet/minecraft/obf/support/v1_9_4/kf;","signature":"Lnet/minecraft/obf/support/v1_9_4/kf<Ljava/lang/Boolean;>;"},{"access":1,"name":"g","descriptor"Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"26.1.2","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":65569,"name":"net/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/GLFWErrorCapture$Error","superName":"java/lang/Record","interfaces":[],"fields":[{"access":1,"name":"error","descriptor":"I"},{"access":1,"name":"description","descriptor":"Ljava/lang/String;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(ILjava/lang/String;)V"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"error","descriptor":"()I"},{"access":1,"name":"description","descriptor":"()Ljava/lang/String;"}]},{"version":61,"access":33,"name":"net/minecraft/obf/MC_CLASSPB","superName":"java/lang/RuntimeException","interfaces":[],"fields":[],"methods":[{"access":1,"name":"<init>","descriptor":"(Ljava/lang/String;)V"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/GraphicsWorkarounds","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"INTEL_GEN11_CORE","descriptor":"Ljava/util/List;","signature":"Ljava/util/List<Ljava/lang/String;>;"},{"access":9,"name":"INTEL_GEN11_ATOM","descriptor":"Ljava/util/List;","signature":"Ljava/util/List<Ljava/lang/String;>;"},{"access":9,"name":"INTEL_GEN11_CELERON","descriptor":"Ljava/util/List;","signature":"Ljava/util/List<Ljava/lang/String;>;"},{"access":9,"name":"INTEL_GEN11_PENTIUM","descriptor":"Ljava/util/List;","signature":"Ljava/util/List<Ljava/lang/String;>;"},{"access":9,"name":"instance","descriptor":"Lnet/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/GraphicsWorkarounds;"},{"access":1,"name":"gpuDevice","descriptor":"Ljava/lang/ref/WeakReference;","signature":"Ljava/lang/ref/WeakReference<Lnet/minecraft/obf/MC_CLASSnA;>;"},{"access":1,"name":"alwaysCreateFreshImmediateBuffer","descriptor":"Z"},{"access":1,"name":"isGlOnDx12","descriptor":"Z"},{"access":1,"name":"isAmd","descriptor":"Z"}],"methods":[{"access":2,"name":"<init>","descriptor":"(Lnet/minecraft/obf/MC_CLASSnA;)V"},{"access":9,"name":"get","descriptor":"(Lnet/minecraft/obf/MC_CLASSnA;)Lnet/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/GraphicsWorkarounds;"},{"access":1,"name":"alwaysCreateFreshImmediateBuffer","descriptor":"()Z"},{"access":1,"name":"isGlOnDx12","descriptor":"()Z"},{"access":1,"name":"isAmd","descriptor":"()Z"},{"access":10,"name":"isIntelGen11","descriptor":"(Lnet/minecraft/obf/MC_CLASSnA;)Z"},{"access":10,"name":"isGlOnDx12","descriptor":"(Lnet/minecraft/obf/MC_CLASSnA;)Z"},{"access":10,"name":"isAmd","descriptor":"(Lnet/minecraft/obf/MC_CLASSnA;)Z"}]},{"version":61,"access":16417,"name":"net/minecraft/obf/MC_CLASSXB","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"MC_FIELDaB","descriptor":"Lnet/minecraft/obf/MC_CLASSXB;"},{"access":16393,"name":"PERSPECTIVE","descriptor":"Lnet/minecraft/obf/MC_CLASSXB;"},{"access":16393,"name":"MC_FIELDZB","descriptor":"Lnet/minecraft/obf/MC_CLASSXB;"},{"access":16393,"name":"ORTHOGRAPHIC","descriptor":"Lnet/minecraft/obf/MC_CLASSXB;"},{"access":1,"name":"vertexSorting","descriptor":"Lnet/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/vertex/VertexSorting;"},{"access":1,"name":"layeringTransform","descriptor":"Lnet/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/ProjectionType$LayeringTransform;"},{"access":9,"name":"$VALUES","descriptor":"[Lnet/minecraft/obf/MC_CLASSXB;"}],"methods":[{"access":9,"name":"values","descriptor":"()[Lnet/minecraft/obf/MC_CLASSXB;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/MC_CLASSXB;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILnet/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/vertex/VertexSorting;Lnet/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/ProjectionType$LayeringTransform;)V","signature":"(Lnet/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/vertex/VertexSorting;Lnet/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/ProjectionType$LayeringTransform;)V"},{"access":1,"name":"vertexSorting","descriptor":"()Lnet/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/vertex/VertexSorting;"},{"access":1,"name":"applyLayeringTransform","descriptor":"(Lorg/joml/Matrix4f;F)V"},{"access":10,"name":"$values","descriptor":"()[Lnet/minecraft/obf/MC_CLASSXB;"},{"access":10,"name":"lambda$static$1","descriptor":"(Lorg/joml/Matrix4f;F)V"},{"access":10,"name":"lambda$static$0","descriptor":"(Lorg/joml/Matrix4f;F)V"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/MC_CLASSXB;>;"},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v26_1_2/com/mojang/blaze3d/ProjectionType$LayeringTransform","superName":"java/lang/Object","interfaces":[],"fields":[],"methods":[{"access":1025,"name":"apply","descriptor":"(Lorg/joml/Matrix4f;F)V"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v26_1_2/cLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"26.2","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":65569,"name":"net/minecraft/obf/support/v26_2/com/mojang/blaze3d/GLFWErrorCapture$Error","superName":"java/lang/Record","interfaces":[],"fields":[{"access":1,"name":"error","descriptor":"I"},{"access":1,"name":"description","descriptor":"Ljava/lang/String;"}],"methods":[{"access":1,"name":"<init>","descriptor":"(ILjava/lang/String;)V"},{"access":1,"name":"toString","descriptor":"()Ljava/lang/String;"},{"access":1,"name":"hashCode","descriptor":"()I"},{"access":1,"name":"equals","descriptor":"(Ljava/lang/Object;)Z"},{"access":1,"name":"error","descriptor":"()I"},{"access":1,"name":"description","descriptor":"()Ljava/lang/String;"}]},{"version":61,"access":16417,"name":"net/minecraft/obf/MC_CLASSOD","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"R8_UNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R8_SNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG8_UNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG8_SNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB8_UNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB8_SNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"MC_FIELD5B","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA8_UNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA8_SNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R16_UNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R16_SNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG16_UNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG16_SNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB16_UNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB16_SNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA16_UNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA16_SNORM","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R8_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R8_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG8_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG8_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB8_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB8_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA8_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA8_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R16_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R16_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG16_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG16_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB16_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB16_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA16_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA16_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R32_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R32_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG32_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG32_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB32_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB32_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA32_UINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA32_SINT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R16_FLOAT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG16_FLOAT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB16_FLOAT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA16_FLOAT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"R32_FLOAT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RG32_FLOAT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB32_FLOAT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGBA32_FLOAT","descriptor":"Lnet/minecraft/obf/MC_CLASSOD;"},{"access":16393,"name":"RGB10A2_UNORM","descriptoLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":"26.3","origin":"Official Minecraft client, SHA-1 verified against Mojang version manifest","classes":[{"version":61,"access":33,"name":"net/minecraft/obf/MC_CLASS3E","superName":"java/lang/Object","interfaces":[],"fields":[{"access":9,"name":"LOGGER","descriptor":"Lorg/slf4j/Logger;"}],"methods":[{"access":9,"name":"youJustLostTheGame","descriptor":"()V"},{"access":9,"name":"MC_METHOD4H","descriptor":"()D"},{"access":2,"name":"<init>","descriptor":"()V"},{"access":9,"name":"openUri","descriptor":"(Ljava/net/URI;)V"},{"access":9,"name":"openPath","descriptor":"(Ljava/nio/file/Path;)V"},{"access":10,"name":"lambda$openUri$0","descriptor":"(Ljava/net/URI;)V"}]},{"version":61,"access":16417,"name":"net/minecraft/obf/MC_CLASSyG","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"MC_FIELDkK","descriptor":"Lnet/minecraft/obf/MC_CLASSyG;"},{"access":16393,"name":"PERSPECTIVE","descriptor":"Lnet/minecraft/obf/MC_CLASSyG;"},{"access":16393,"name":"MC_FIELDIK","descriptor":"Lnet/minecraft/obf/MC_CLASSyG;"},{"access":16393,"name":"ORTHOGRAPHIC","descriptor":"Lnet/minecraft/obf/MC_CLASSyG;"},{"access":1,"name":"vertexSorting","descriptor":"Lnet/minecraft/obf/support/v26_3/com/mojang/blaze3d/vertex/VertexSorting;"},{"access":1,"name":"layeringTransform","descriptor":"Lnet/minecraft/obf/support/v26_3/com/mojang/blaze3d/ProjectionType$LayeringTransform;"},{"access":9,"name":"$VALUES","descriptor":"[Lnet/minecraft/obf/MC_CLASSyG;"}],"methods":[{"access":9,"name":"values","descriptor":"()[Lnet/minecraft/obf/MC_CLASSyG;"},{"access":9,"name":"valueOf","descriptor":"(Ljava/lang/String;)Lnet/minecraft/obf/MC_CLASSyG;"},{"access":2,"name":"<init>","descriptor":"(Ljava/lang/String;ILnet/minecraft/obf/support/v26_3/com/mojang/blaze3d/vertex/VertexSorting;Lnet/minecraft/obf/support/v26_3/com/mojang/blaze3d/ProjectionType$LayeringTransform;)V","signature":"(Lnet/minecraft/obf/support/v26_3/com/mojang/blaze3d/vertex/VertexSorting;Lnet/minecraft/obf/support/v26_3/com/mojang/blaze3d/ProjectionType$LayeringTransform;)V"},{"access":1,"name":"vertexSorting","descriptor":"()Lnet/minecraft/obf/support/v26_3/com/mojang/blaze3d/vertex/VertexSorting;"},{"access":1,"name":"applyLayeringTransform","descriptor":"(Lorg/joml/Matrix4f;F)V"},{"access":10,"name":"$values","descriptor":"()[Lnet/minecraft/obf/MC_CLASSyG;"},{"access":10,"name":"lambda$static$1","descriptor":"(Lorg/joml/Matrix4f;F)V"},{"access":10,"name":"lambda$static$0","descriptor":"(Lorg/joml/Matrix4f;F)V"}],"signature":"Ljava/lang/Enum<Lnet/minecraft/obf/MC_CLASSyG;>;"},{"version":61,"access":1537,"name":"net/minecraft/obf/support/v26_3/com/mojang/blaze3d/ProjectionType$LayeringTransform","superName":"java/lang/Object","interfaces":[],"fields":[],"methods":[{"access":1025,"name":"apply","descriptor":"(Lorg/joml/Matrix4f;F)V"}]},{"version":61,"access":33,"name":"net/minecraft/obf/support/v26_3/com/mojang/blaze3d/TracyFrameCapture","superName":"java/lang/Object","interfaces":["java/lang/AutoCloseable"],"fields":[{"access":9,"name":"MAX_WIDTH","descriptor":"I"},{"access":9,"name":"MAX_HEIGHT","descriptor":"I"},{"access":9,"name":"BYTES_PER_PIXEL","descriptor":"J"},{"access":1,"name":"targetWidth","descriptor":"I"},{"access":1,"name":"targetHeight","descriptor":"I"},{"access":1,"name":"width","descriptor":"I"},{"access":1,"name":"height","descriptor":"I"},{"access":1,"name":"frameBuffer","descriptor":"Lnet/minecraft/obf/MC_CLASSWC;"},{"access":1,"name":"frameBufferView","descriptor":"Lnet/minecraft/obf/MC_CLASSaC;"},{"access":1,"name":"pixelbuffer","descriptor":"Lnet/minecraft/obf/MC_CLASSMF;"},{"access":1,"name":"lastCaptureDelay","descriptor":"I"},{"access":1,"name":"capturedThisFrame","descriptor":"Z"},{"access":1,"name":"status","descriptor":"Lnet/minecraft/obf/support/v26_3/com/mojang/blaze3d/TracyFrameCapture$Status;"}],"methods":[{"access":1,"name":"<init>","descriptor":"()V"},{"access":2,"name":"resize","descriptor":"(II)V"},{"access":1,"name":"capture","descriptor":"(Lnet/minecraft/obf/MC_CLASSJB;)V"},{"access":1,"name":"upload","descriptor":"()V"},{"access":1,"name":"endFrame","descriptor":"()V"},{"access":1,"name":"close","descriptor":"()V"},{"access":2,"name":"lambda$capture$1","descriptor":"()V"},{"access":10,"name":"lambda$capture$0","descriptor":"()Ljava/lang/String;"},{"access":10,"name":"lambda$resize$0","descriptor":"()Ljava/lang/String;"},{"access":10,"name":"lambda$new$0","descriptor":"()Ljava/lang/String;"}]},{"version":61,"access":16417,"name":"net/minecraft/obf/support/v26_3/com/mojang/blaze3d/TracyFrameCapture$Status","superName":"java/lang/Enum","interfaces":[],"fields":[{"access":16393,"name":"WAITING_FOR_CAPTURE","descriptor":"Lnet/minecraft/obf/support/v26_3/com/mojang/blaze3d/TracyFrameCapture$Status;"},{"access":16393,"name":"WAITING_FOR_COPY","descriptor":"Lnet/minecraft/obf/support/v26_3/com/mojang/blaze3d/TracyFrameCapture$Status;"},{"access":16393,"name":"WAITING_FOR_UPLOAD","descriptor":"Lnet/minecraft/obf/supportLine truncated
|
||||
@@ -0,0 +1,173 @@
|
||||
{
|
||||
"manifest": "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json",
|
||||
"origin": "Class and member declarations extracted from SHA-1-verified official Minecraft clients; no method implementations retained.",
|
||||
"aliasSource": "Recovered version-indexed class/member mapping records from the supplied Doomsday analysis workspace. Canonical aliases preserve their two encoded characters, including $ and _.",
|
||||
"virtualAliases": "Multiple aliases of the same physical virtual method are represented as compile-only bridge declarations; only directly mapped abstract contracts introduce abstract obligations.",
|
||||
"access": "Private method access is preserved. Hook target classes, fields, and non-private methods are exposed for the existing runtime access-transformer contracts.",
|
||||
"srgCompatibility": {
|
||||
"version": "1.14.4",
|
||||
"source": "func_213300_bk()Z",
|
||||
"physical": "aio.bk()Z",
|
||||
"named": "net.minecraft.world.entity.Entity.isVisuallySwimming()Z"
|
||||
},
|
||||
"vulkanCompatibility": {
|
||||
"source": "https://raw.githubusercontent.com/xCollateral/VulkanMod/master/src/main/java/net/vulkanmod/render/engine/VkGpuTexture.java",
|
||||
"declaration": "VkGpuTexture extends com.mojang.blaze3d.opengl.GlTexture",
|
||||
"consumerVersions": [
|
||||
"1.21.11",
|
||||
"26.1.2"
|
||||
]
|
||||
},
|
||||
"versions": {
|
||||
"1.10.2": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/dc8e75ac7274ff6af462b0dcec43c307de668e40/client.jar",
|
||||
"sha1": "dc8e75ac7274ff6af462b0dcec43c307de668e40",
|
||||
"size": 8857653
|
||||
},
|
||||
"1.11.2": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/db5aa600f0b0bf508aaf579509b345c4e34087be/client.jar",
|
||||
"sha1": "db5aa600f0b0bf508aaf579509b345c4e34087be",
|
||||
"size": 9198097
|
||||
},
|
||||
"1.12.2": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/0f275bc1547d01fa5f56ba34bdc87d981ee12daf/client.jar",
|
||||
"sha1": "0f275bc1547d01fa5f56ba34bdc87d981ee12daf",
|
||||
"size": 10180113
|
||||
},
|
||||
"1.13.2": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/30bfe37a8db404db11c7edf02cb5165817afb4d9/client.jar",
|
||||
"sha1": "30bfe37a8db404db11c7edf02cb5165817afb4d9",
|
||||
"size": 16089640
|
||||
},
|
||||
"1.14.4": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/8c325a0c5bd674dd747d6ebaa4c791fd363ad8a9/client.jar",
|
||||
"sha1": "8c325a0c5bd674dd747d6ebaa4c791fd363ad8a9",
|
||||
"size": 25191691,
|
||||
"officialMappings": {
|
||||
"sha1": "6073e4ba6949217eb708c4512be2ccc1850a603f",
|
||||
"size": 4709268,
|
||||
"url": "https://piston-data.mojang.com/v1/objects/6073e4ba6949217eb708c4512be2ccc1850a603f/client.txt"
|
||||
}
|
||||
},
|
||||
"1.15.2": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/e3f78cd16f9eb9a52307ed96ebec64241cc5b32d/client.jar",
|
||||
"sha1": "e3f78cd16f9eb9a52307ed96ebec64241cc5b32d",
|
||||
"size": 15531492
|
||||
},
|
||||
"1.16.5": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/37fd3c903861eeff3bc24b71eed48f828b5269c8/client.jar",
|
||||
"sha1": "37fd3c903861eeff3bc24b71eed48f828b5269c8",
|
||||
"size": 17547153
|
||||
},
|
||||
"1.17.1": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/8d9b65467c7913fcf6f5b2e729d44a1e00fde150/client.jar",
|
||||
"sha1": "8d9b65467c7913fcf6f5b2e729d44a1e00fde150",
|
||||
"size": 19546842
|
||||
},
|
||||
"1.18.2": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/2e9a3e3107cca00d6bc9c97bf7d149cae163ef21/client.jar",
|
||||
"sha1": "2e9a3e3107cca00d6bc9c97bf7d149cae163ef21",
|
||||
"size": 20259661
|
||||
},
|
||||
"1.19.2": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/055b30d860ead928cba3849ba920c88b6950b654/client.jar",
|
||||
"sha1": "055b30d860ead928cba3849ba920c88b6950b654",
|
||||
"size": 21644740
|
||||
},
|
||||
"1.19.3": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/977727ec9ab8b4631e5c12839f064092f17663f8/client.jar",
|
||||
"sha1": "977727ec9ab8b4631e5c12839f064092f17663f8",
|
||||
"size": 22704188
|
||||
},
|
||||
"1.19.4": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/958928a560c9167687bea0cefeb7375da1e552a8/client.jar",
|
||||
"sha1": "958928a560c9167687bea0cefeb7375da1e552a8",
|
||||
"size": 23476620
|
||||
},
|
||||
"1.20.1": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/0c3ec587af28e5a785c0b4a7b8a30f9a8f78f838/client.jar",
|
||||
"sha1": "0c3ec587af28e5a785c0b4a7b8a30f9a8f78f838",
|
||||
"size": 23028853
|
||||
},
|
||||
"1.20.2": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/82d1974e75fc984c5ed4b038e764e50958ac61a0/client.jar",
|
||||
"sha1": "82d1974e75fc984c5ed4b038e764e50958ac61a0",
|
||||
"size": 23186213
|
||||
},
|
||||
"1.20.4": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/fd19469fed4a4b4c15b2d5133985f0e3e7816a8a/client.jar",
|
||||
"sha1": "fd19469fed4a4b4c15b2d5133985f0e3e7816a8a",
|
||||
"size": 24445539
|
||||
},
|
||||
"1.20.6": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/05b6f1c6b46a29d6ea82b4e0d42190e42402030f/client.jar",
|
||||
"sha1": "05b6f1c6b46a29d6ea82b4e0d42190e42402030f",
|
||||
"size": 26565641
|
||||
},
|
||||
"1.21.1": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/30c73b1c5da787909b2f73340419fdf13b9def88/client.jar",
|
||||
"sha1": "30c73b1c5da787909b2f73340419fdf13b9def88",
|
||||
"size": 26836906
|
||||
},
|
||||
"1.21.10": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/d3bdf582a7fa723ce199f3665588dcfe6bf9aca8/client.jar",
|
||||
"sha1": "d3bdf582a7fa723ce199f3665588dcfe6bf9aca8",
|
||||
"size": 30592168
|
||||
},
|
||||
"1.21.11": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/ba2df812c2d12e0219c489c4cd9a5e1f0760f5bd/client.jar",
|
||||
"sha1": "ba2df812c2d12e0219c489c4cd9a5e1f0760f5bd",
|
||||
"size": 31152600,
|
||||
"officialMappings": {
|
||||
"sha1": "031a68bebf55d824f66d6573d8c752f0e1bf232a",
|
||||
"size": 11779287,
|
||||
"url": "https://piston-data.mojang.com/v1/objects/031a68bebf55d824f66d6573d8c752f0e1bf232a/client.txt"
|
||||
}
|
||||
},
|
||||
"1.21.3": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/6f67d19b4467240639cb2c368ffd4b94ba889705/client.jar",
|
||||
"sha1": "6f67d19b4467240639cb2c368ffd4b94ba889705",
|
||||
"size": 27844259
|
||||
},
|
||||
"1.21.4": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/a7e5a6024bfd3cd614625aa05629adf760020304/client.jar",
|
||||
"sha1": "a7e5a6024bfd3cd614625aa05629adf760020304",
|
||||
"size": 28335587
|
||||
},
|
||||
"1.21.5": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/b88808bbb3da8d9f453694b5d8f74a3396f1a533/client.jar",
|
||||
"sha1": "b88808bbb3da8d9f453694b5d8f74a3396f1a533",
|
||||
"size": 28984409
|
||||
},
|
||||
"1.21.8": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/a19d9badbea944a4369fd0059e53bf7286597576/client.jar",
|
||||
"sha1": "a19d9badbea944a4369fd0059e53bf7286597576",
|
||||
"size": 29525242
|
||||
},
|
||||
"1.8.8": {
|
||||
"url": "https://launcher.mojang.com/v1/objects/0983f08be6a4e624f5d85689d1aca869ed99c738/client.jar",
|
||||
"sha1": "0983f08be6a4e624f5d85689d1aca869ed99c738",
|
||||
"size": 8465313
|
||||
},
|
||||
"1.9.4": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/4a61c873be90bb1196d68dac7b29870408c56969/client.jar",
|
||||
"sha1": "4a61c873be90bb1196d68dac7b29870408c56969",
|
||||
"size": 8736083
|
||||
},
|
||||
"26.1.2": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/4e618f09a0c649dde3fdf829df443ce0b8831e65/client.jar",
|
||||
"sha1": "4e618f09a0c649dde3fdf829df443ce0b8831e65",
|
||||
"size": 38113927
|
||||
},
|
||||
"26.2": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/2dc72797acbc1b63fc16a11c4ac393605f453754/client.jar",
|
||||
"sha1": "2dc72797acbc1b63fc16a11c4ac393605f453754",
|
||||
"size": 39193383
|
||||
},
|
||||
"26.3": {
|
||||
"url": "https://piston-data.mojang.com/v1/objects/e877b6a07acd633fb3bb475002175cec036e7b87/client.jar",
|
||||
"sha1": "e877b6a07acd633fb3bb475002175cec036e7b87",
|
||||
"size": 41483720
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
Vendored
BIN
Binary file not shown.
+8
@@ -0,0 +1,8 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionSha256Sum=bd71102213493060956ec229d946beee57158dbd89d0e62b91bca0fa2c5f3531
|
||||
@@ -0,0 +1,251 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015-2021 the original authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Gradle start up script for POSIX generated by Gradle.
|
||||
#
|
||||
# Important for running:
|
||||
#
|
||||
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||
# noncompliant, but you have some other compliant shell such as ksh or
|
||||
# bash, then to run this script, type that shell name before the whole
|
||||
# command line, like:
|
||||
#
|
||||
# ksh Gradle
|
||||
#
|
||||
# Busybox and similar reduced shells will NOT work, because this script
|
||||
# requires all of these POSIX shell features:
|
||||
# * functions;
|
||||
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||
# * compound commands having a testable exit status, especially «case»;
|
||||
# * various built-in commands including «command», «set», and «ulimit».
|
||||
#
|
||||
# Important for patching:
|
||||
#
|
||||
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||
#
|
||||
# The "traditional" practice of packing multiple parameters into a
|
||||
# space-separated string is a well documented source of bugs and security
|
||||
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||
# options in "$@", and eventually passing that to Java.
|
||||
#
|
||||
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||
# see the in-line comments for details.
|
||||
#
|
||||
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
|
||||
# Resolve links: $0 may be a link
|
||||
app_path=$0
|
||||
|
||||
# Need this for daisy-chained symlinks.
|
||||
while
|
||||
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||
[ -h "$app_path" ]
|
||||
do
|
||||
ls=$( ls -ld "$app_path" )
|
||||
link=${ls#*' -> '}
|
||||
case $link in #(
|
||||
/*) app_path=$link ;; #(
|
||||
*) app_path=$APP_HOME$link ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# This is normally unused
|
||||
# shellcheck disable=SC2034
|
||||
APP_BASE_NAME=${0##*/}
|
||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
} >&2
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
} >&2
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "$( uname )" in #(
|
||||
CYGWIN* ) cygwin=true ;; #(
|
||||
Darwin* ) darwin=true ;; #(
|
||||
MSYS* | MINGW* ) msys=true ;; #(
|
||||
NONSTOP* ) nonstop=true ;;
|
||||
esac
|
||||
|
||||
CLASSPATH="\\\"\\\""
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||
else
|
||||
JAVACMD=$JAVA_HOME/bin/java
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD=java
|
||||
if ! command -v java >/dev/null 2>&1
|
||||
then
|
||||
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||
case $MAX_FD in #(
|
||||
max*)
|
||||
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC2039,SC3045
|
||||
MAX_FD=$( ulimit -H -n ) ||
|
||||
warn "Could not query maximum file descriptor limit"
|
||||
esac
|
||||
case $MAX_FD in #(
|
||||
'' | soft) :;; #(
|
||||
*)
|
||||
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC2039,SC3045
|
||||
ulimit -n "$MAX_FD" ||
|
||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||
esac
|
||||
fi
|
||||
|
||||
# Collect all arguments for the java command, stacking in reverse order:
|
||||
# * args from the command line
|
||||
# * the main class name
|
||||
# * -classpath
|
||||
# * -D...appname settings
|
||||
# * --module-path (only if needed)
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||
|
||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||
if "$cygwin" || "$msys" ; then
|
||||
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||
|
||||
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
for arg do
|
||||
if
|
||||
case $arg in #(
|
||||
-*) false ;; # don't mess with options #(
|
||||
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||
[ -e "$t" ] ;; #(
|
||||
*) false ;;
|
||||
esac
|
||||
then
|
||||
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||
fi
|
||||
# Roll the args list around exactly as many times as the number of
|
||||
# args, so each arg winds up back in the position where it started, but
|
||||
# possibly modified.
|
||||
#
|
||||
# NB: a `for` loop captures its iteration list before it begins, so
|
||||
# changing the positional parameters here affects neither the number of
|
||||
# iterations, nor the values presented in `arg`.
|
||||
shift # remove old arg
|
||||
set -- "$@" "$arg" # push replacement arg
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Collect all arguments for the java command:
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
||||
# and any embedded shellness will be escaped.
|
||||
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
||||
# treated as '${Hostname}' itself on the command line.
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
-classpath "$CLASSPATH" \
|
||||
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
|
||||
"$@"
|
||||
|
||||
# Stop when "xargs" is not available.
|
||||
if ! command -v xargs >/dev/null 2>&1
|
||||
then
|
||||
die "xargs is not available"
|
||||
fi
|
||||
|
||||
# Use "xargs" to parse quoted args.
|
||||
#
|
||||
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||
#
|
||||
# In Bash we could simply go:
|
||||
#
|
||||
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||
# set -- "${ARGS[@]}" "$@"
|
||||
#
|
||||
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||
# character that might be a shell metacharacter, then use eval to reverse
|
||||
# that process (while maintaining the separation between arguments), and wrap
|
||||
# the whole thing up as a single "set" statement.
|
||||
#
|
||||
# This will of course break if any of these variables contains a newline or
|
||||
# an unmatched quote.
|
||||
#
|
||||
|
||||
eval "set -- $(
|
||||
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||
xargs -n1 |
|
||||
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||
tr '\n' ' '
|
||||
)" '"$@"'
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
Vendored
+94
@@ -0,0 +1,94 @@
|
||||
@rem
|
||||
@rem Copyright 2015 the original author or authors.
|
||||
@rem
|
||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@rem you may not use this file except in compliance with the License.
|
||||
@rem You may obtain a copy of the License at
|
||||
@rem
|
||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||
@rem
|
||||
@rem Unless required by applicable law or agreed to in writing, software
|
||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
@rem SPDX-License-Identifier: Apache-2.0
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%"=="" set DIRNAME=.
|
||||
@rem This is normally unused
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if %ERRORLEVEL% equ 0 goto execute
|
||||
|
||||
echo. 1>&2
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
|
||||
echo. 1>&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||
echo location of your Java installation. 1>&2
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto execute
|
||||
|
||||
echo. 1>&2
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
|
||||
echo. 1>&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||
echo location of your Java installation. 1>&2
|
||||
|
||||
goto fail
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=
|
||||
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
set EXIT_CODE=%ERRORLEVEL%
|
||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
||||
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||
exit /b %EXIT_CODE%
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
@@ -0,0 +1 @@
|
||||
rootProject.name = 'OpenDoomsday'
|
||||
@@ -0,0 +1,101 @@
|
||||
package com.doomsdayclient;
|
||||
|
||||
import com.doomsdayclient.agent.AbstractClassDumper;
|
||||
import com.doomsdayclient.agent.BootstrapClassExtractor;
|
||||
import com.doomsdayclient.bridge.NativeBridge;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.platform.probe.FileSystemProbe;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.text.ProtectedStringBuilder;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
import com.doomsdayclient.util.collections.CollectionPredicate;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.util.Iterator;
|
||||
import java.util.zip.ZipOutputStream;
|
||||
|
||||
public class AgentBootstrap extends AbstractClassDumper {
|
||||
public NativeBridge nativeBridge;
|
||||
|
||||
@Override
|
||||
public void setObject(Object nativeBridge2) {
|
||||
this.nativeBridge = (NativeBridge) nativeBridge2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setProtectedString(ProtectedString protectedString) {
|
||||
this.nativeBridge.readLong();
|
||||
BootstrapClassExtractor bootstrapClassExtractor = new BootstrapClassExtractor(protectedString);
|
||||
this.nativeBridge.findInt(bootstrapClassExtractor);
|
||||
ClientLog.setProtectedCharSeque(StringTable.STR_GET);
|
||||
Class[] types = (Class[]) this.nativeBridge.createObject();
|
||||
ClientLog.setCharSequence(String.valueOf(types.length));
|
||||
String text = StringTable.STR_0X2.readString();
|
||||
String text2 = StringTable.STR_JAVA_LANG.readString();
|
||||
|
||||
for (int typeIndex = 0; typeIndex < types.length; typeIndex++) {
|
||||
if (!types[typeIndex].isArray()
|
||||
&& !types[typeIndex].isPrimitive()
|
||||
&& !types[typeIndex].getName().contains(text)
|
||||
&& !types[typeIndex].getName().startsWith(text2)) {
|
||||
ClientLog.setCharSequence(types[typeIndex].getName());
|
||||
this.nativeBridge.getInt(new Class[] {types[typeIndex]});
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
Iterator iterator = bootstrapClassExtractor.fastHashMap.iterator();
|
||||
|
||||
while (iterator.hasNext()) {
|
||||
((ZipOutputStream) ((CollectionPredicate) iterator.next()).object2).close();
|
||||
}
|
||||
|
||||
for (CollectionPredicate collectionPredicate : bootstrapClassExtractor.fastHashMap2) {
|
||||
try {
|
||||
File file;
|
||||
(file =
|
||||
new File(
|
||||
bootstrapClassExtractor.file,
|
||||
((String) collectionPredicate.object).replace('/', '_').replace('\\', '_')
|
||||
+ ".jar"))
|
||||
.getParentFile()
|
||||
.mkdirs();
|
||||
FileOutputStream fileOutputStream = new FileOutputStream(file);
|
||||
((ByteArrayOutputStream) collectionPredicate.object2).writeTo(fileOutputStream);
|
||||
fileOutputStream.close();
|
||||
} catch (Throwable exception) {
|
||||
ClientLog.applyThrowable(exception);
|
||||
}
|
||||
}
|
||||
} catch (Throwable exception2) {
|
||||
ClientLog.applyThrowable(exception2);
|
||||
}
|
||||
|
||||
this.nativeBridge.getInt();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void applyProtectedString(ProtectedString text) {
|
||||
Class[] types = (Class[]) this.nativeBridge.createObject();
|
||||
ClientLog.setCharSequence(String.valueOf(types.length));
|
||||
String text2 = StringTable.STR_0X2.readString();
|
||||
String text3 = StringTable.STR_JAVA_LANG.readString();
|
||||
ProtectedStringBuilder builder = new ProtectedStringBuilder();
|
||||
|
||||
for (int typeIndex = 0; typeIndex < types.length; typeIndex++) {
|
||||
if (!types[typeIndex].isArray()
|
||||
&& !types[typeIndex].isPrimitive()
|
||||
&& !types[typeIndex].getName().contains(text2)
|
||||
&& !types[typeIndex].getName().startsWith(text3)) {
|
||||
ClientLog.setCharSequence(types[typeIndex].getName());
|
||||
builder.appendString(types[typeIndex].getName());
|
||||
builder.appendChar('\n');
|
||||
}
|
||||
}
|
||||
|
||||
if (text != null) {
|
||||
new FileSystemProbe(text).setByteArray(builder.getByteArray());
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,467 @@
|
||||
package com.doomsdayclient;
|
||||
|
||||
import com.doomsdayclient.gui.render.UiItemRenderer;
|
||||
import com.doomsdayclient.input.KeyCode;
|
||||
import com.doomsdayclient.input.KeyNameRegistry;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.platform.probe.FileSystemProbe;
|
||||
import com.doomsdayclient.text.NumberParser;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
import com.doomsdayclient.util.io.PacketReadBuffer;
|
||||
import com.doomsdayclient.util.memory.UnsafeMemory;
|
||||
|
||||
public class ClientConfig {
|
||||
private static int index;
|
||||
private ProtectedString protectedString;
|
||||
private static int count;
|
||||
private int size;
|
||||
private ProtectedString protectedString2;
|
||||
private int length;
|
||||
private int capacity;
|
||||
private long address;
|
||||
private ProtectedString protectedString3;
|
||||
private ProtectedString protectedString4;
|
||||
private ProtectedString protectedString5;
|
||||
private ProtectedString protectedString6;
|
||||
private boolean enabled;
|
||||
private boolean active;
|
||||
private boolean visible;
|
||||
private boolean initialized;
|
||||
public static boolean running;
|
||||
private KeyNameRegistry keyNameRegistry;
|
||||
private ProtectedString protectedString7;
|
||||
private FileSystemProbe fileSystemProbe;
|
||||
private ProtectedString protectedString8;
|
||||
private int offset;
|
||||
public ProtectedString protectedString9;
|
||||
private boolean loaded;
|
||||
private boolean ready;
|
||||
private boolean cancelled;
|
||||
private boolean dirty;
|
||||
private boolean focused = false;
|
||||
private ProtectedString protectedString10;
|
||||
private ProtectedString protectedString11;
|
||||
private ProtectedString protectedString12;
|
||||
private boolean pressed;
|
||||
private boolean hovered;
|
||||
private boolean expanded;
|
||||
private boolean dragging;
|
||||
private boolean selected;
|
||||
private boolean locked;
|
||||
private boolean supported;
|
||||
public static boolean staticMember;
|
||||
private boolean strict;
|
||||
private boolean silent;
|
||||
private boolean inverted;
|
||||
private ProtectedString protectedString13;
|
||||
public static boolean cached = true;
|
||||
public static boolean pending;
|
||||
private int delay = 2500;
|
||||
private boolean valid;
|
||||
private int ticks = -1;
|
||||
public static boolean enabled2 = false;
|
||||
public static boolean enabled3;
|
||||
public static boolean enabled4 = false;
|
||||
public static boolean enabled5 = false;
|
||||
public static boolean enabled6 = false;
|
||||
public static boolean enabled7 = false;
|
||||
public static boolean enabled8 = false;
|
||||
public static boolean enabled9;
|
||||
public static boolean enabled10 = true;
|
||||
public static boolean enabled11;
|
||||
public static boolean enabled12;
|
||||
public static PacketReadBuffer packetReadBuffer;
|
||||
|
||||
public static void initialize() {
|
||||
enabled2 = true;
|
||||
enabled3 = true;
|
||||
}
|
||||
|
||||
public ClientConfig(ProtectedString text) {
|
||||
ProtectedString protectedString14 = StringTable.STR_SERVER;
|
||||
if (text != null) {
|
||||
if (text.matchesProtectedCharSeque(StringTable.STR_0000000000000000)) {
|
||||
protectedString14 = StringTable.STR_DEFAULT;
|
||||
} else {
|
||||
ProtectedString[] protectedStringArray = text.getProtectedStringArray(' ');
|
||||
|
||||
for (int protectedStringIndex = 0;
|
||||
protectedStringIndex < protectedStringArray.length;
|
||||
protectedStringIndex++) {
|
||||
try {
|
||||
ProtectedString protectedString22;
|
||||
int intValue;
|
||||
long longValue;
|
||||
if ((longValue =
|
||||
((intValue =
|
||||
(protectedString22 = protectedStringArray[protectedStringIndex])
|
||||
.fromInt(61))
|
||||
< 0
|
||||
? protectedString22
|
||||
: protectedString22.append(0, intValue))
|
||||
.getLong())
|
||||
== 8880764069209642416L) {
|
||||
protectedString14 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue == 6220614824569413683L) {
|
||||
this.protectedString3 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue == -9191409388460451484L) {
|
||||
if (this.getProtectedString(protectedString22)
|
||||
.matchesProtectedCharSeque(StringTable.STR_A4)) {
|
||||
this.ready = true;
|
||||
}
|
||||
} else if (longValue == 5002633363831605509L) {
|
||||
this.active = true;
|
||||
} else if (longValue == -7882424651531648147L) {
|
||||
this.visible = true;
|
||||
} else if (longValue == -2976934451932476930L) {
|
||||
this.silent = true;
|
||||
} else if (longValue == 5071866685086801850L) {
|
||||
this.inverted = true;
|
||||
} else if (longValue == 1606215070378764513L) {
|
||||
enabled10 = true;
|
||||
} else if (longValue == 8906648882619841070L) {
|
||||
this.initialized = true;
|
||||
} else if (longValue == 4265463974990319579L) {
|
||||
try {
|
||||
this.keyNameRegistry =
|
||||
KeyCode.getKeyNameRegistry(
|
||||
new ProtectedString(this.getProtectedString(protectedString22)));
|
||||
} catch (Throwable exception) {
|
||||
}
|
||||
} else if (longValue == 382231345247881019L) {
|
||||
this.protectedString4 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue == -5839696211321276559L) {
|
||||
enabled2 = true;
|
||||
enabled3 = true;
|
||||
} else if (longValue == -8019593622700938642L) {
|
||||
this.protectedString5 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue == 8065931167204630152L) {
|
||||
this.protectedString6 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue == 3715179549455773877L) {
|
||||
this.protectedString7 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue == 867849939077492819L) {
|
||||
this.protectedString10 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue == -3392421270240438484L) {
|
||||
this.protectedString11 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue == -1001630585936144086L) {
|
||||
this.protectedString12 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue != 6009617386794322501L) {
|
||||
if (longValue == 1409086820435428982L) {
|
||||
this.protectedString9 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue == 2505216893592930951L) {
|
||||
this.loaded = true;
|
||||
} else if (longValue == -2651564740724232834L) {
|
||||
this.cancelled = true;
|
||||
} else if (longValue == -5761543647357079742L) {
|
||||
this.dragging = true;
|
||||
} else if (longValue == -3588707928220999651L) {
|
||||
packetReadBuffer = PacketReadBuffer.packetReadBuffer;
|
||||
} else if (longValue == 2246223504254035603L) {
|
||||
this.pressed = true;
|
||||
} else if (longValue == -2553133247026716131L) {
|
||||
this.valid = true;
|
||||
} else if (longValue != 6501216219736404589L) {
|
||||
if (longValue == 582046146552338980L) {
|
||||
ClientState.pressed = true;
|
||||
} else if (longValue == 5450385570207073621L) {
|
||||
UiItemRenderer.enabled = true;
|
||||
} else if (longValue == 6477942249374015403L) {
|
||||
this.dirty = true;
|
||||
} else if (longValue == -6869506202559825395L) {
|
||||
this.locked = true;
|
||||
} else if (longValue == 508643689297786458L) {
|
||||
this.protectedString13 = this.getProtectedString(protectedString22);
|
||||
} else if (longValue == 2796110443624821145L) {
|
||||
enabled9 = true;
|
||||
} else if (longValue == 1454272069119228023L) {
|
||||
this.selected = true;
|
||||
} else if (longValue == -9109007878421437210L) {
|
||||
this.strict = true;
|
||||
} else if (longValue != 3592353737499258299L) {
|
||||
if (longValue == -4190117007375322896L) {
|
||||
this.supported = true;
|
||||
} else if (longValue == -3227117380986426671L) {
|
||||
enabled11 = true;
|
||||
} else if (longValue == 6687800661754225249L) {
|
||||
staticMember = true;
|
||||
} else if (longValue == 2762913714681588269L) {
|
||||
cached = true;
|
||||
} else if (longValue == 3031746520081608005L) {
|
||||
enabled12 = true;
|
||||
} else if (longValue == -2285720008163335377L) {
|
||||
this.focused = true;
|
||||
} else if (longValue == -1822675458213625757L
|
||||
|| longValue == 7292663030432732963L) {
|
||||
this.expanded = true;
|
||||
} else if (longValue == 5206355500775384606L) {
|
||||
this.hovered = true;
|
||||
} else if (longValue != -1876016662982211413L
|
||||
&& longValue != -6874097578915143245L
|
||||
&& longValue != -5455101071491687007L
|
||||
&& longValue != 7456861474798411014L) {
|
||||
if (longValue == -7431146096927088725L) {
|
||||
if ((protectedString22 = this.getProtectedString(protectedString22))
|
||||
.matchesProtectedString(StringTable.STR_STD)) {
|
||||
this.size = 1;
|
||||
} else if (!protectedString22.matchesProtectedString(StringTable.STR_CONSOLE)
|
||||
&& !protectedString22.matchesProtectedString(StringTable.STR_TERMINAL2)) {
|
||||
this.size = 3;
|
||||
this.protectedString2 = protectedString22;
|
||||
} else {
|
||||
this.size = 2;
|
||||
}
|
||||
} else if (longValue == -7765489982214812645L) {
|
||||
try {
|
||||
this.length =
|
||||
NumberParser.getInt(this.getProtectedString(protectedString22));
|
||||
} catch (Exception exception2) {
|
||||
}
|
||||
} else if (longValue == 6049687644005151306L) {
|
||||
try {
|
||||
this.offset =
|
||||
NumberParser.getInt(this.getProtectedString(protectedString22));
|
||||
} catch (Exception exception3) {
|
||||
}
|
||||
} else if (longValue == -1751096444882960025L) {
|
||||
try {
|
||||
this.capacity =
|
||||
NumberParser.getInt(this.getProtectedString(protectedString22));
|
||||
} catch (Exception exception4) {
|
||||
}
|
||||
} else if (longValue == 1986338673842283060L) {
|
||||
try {
|
||||
this.address =
|
||||
NumberParser.getLong(this.getProtectedString(protectedString22));
|
||||
} catch (Exception exception5) {
|
||||
}
|
||||
} else if (longValue == 5629005160905414793L) {
|
||||
try {
|
||||
this.ticks =
|
||||
NumberParser.getInt(this.getProtectedString(protectedString22));
|
||||
} catch (Exception exception6) {
|
||||
}
|
||||
} else if (longValue == -7167314385352782780L) {
|
||||
try {
|
||||
this.delay =
|
||||
NumberParser.getInt(this.getProtectedString(protectedString22));
|
||||
} catch (Exception exception7) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Throwable exception8) {
|
||||
ClientLog.applyThrowable(exception8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.selected) {
|
||||
this.selected =
|
||||
(!(!DoomsDay.getProtectedString().matchesChar('b')
|
||||
&& !DoomsDay.getProtectedString().matchesChar('a')));
|
||||
}
|
||||
|
||||
if (protectedString14 != null) {
|
||||
this.protectedString = protectedString14;
|
||||
if (StringTable.STR_DEFAULT.checkProtectedString(protectedString14)) {
|
||||
this.enabled = true;
|
||||
index = 1;
|
||||
} else if (StringTable.STR_LOADER.checkProtectedString(protectedString14)) {
|
||||
index = 2;
|
||||
} else if (StringTable.STR_SERVER.checkProtectedString(protectedString14)) {
|
||||
index = 3;
|
||||
} else {
|
||||
index = 1;
|
||||
}
|
||||
|
||||
count = index;
|
||||
}
|
||||
}
|
||||
|
||||
public final int getOffset() {
|
||||
return this.offset;
|
||||
}
|
||||
|
||||
public final ProtectedString getProtectedString5() {
|
||||
return this.protectedString5;
|
||||
}
|
||||
|
||||
public final ProtectedString getProtectedString6() {
|
||||
return this.protectedString6;
|
||||
}
|
||||
|
||||
public final int getTicks() {
|
||||
return this.ticks;
|
||||
}
|
||||
|
||||
private ProtectedString getProtectedString(ProtectedString text) {
|
||||
int intValue = text.fromInt(61);
|
||||
return UnsafeMemory.getProtectedString(text.withInt(intValue + 1));
|
||||
}
|
||||
|
||||
public final int getLength() {
|
||||
return this.length;
|
||||
}
|
||||
|
||||
public final int getCapacity() {
|
||||
return this.capacity;
|
||||
}
|
||||
|
||||
public final ProtectedString getProtectedString3() {
|
||||
return this.protectedString3;
|
||||
}
|
||||
|
||||
public final ProtectedString getProtectedString() {
|
||||
this.update();
|
||||
return this.protectedString8;
|
||||
}
|
||||
|
||||
public final FileSystemProbe getFileSystemProbe() {
|
||||
this.update();
|
||||
return this.fileSystemProbe;
|
||||
}
|
||||
|
||||
private void update() {
|
||||
if (this.protectedString != null && isSupported()) {
|
||||
if (this.protectedString.matchesProtectedCharSeque(StringTable.STR_DEFAULT)) {
|
||||
FileSystemProbe fileSystemProbe2 =
|
||||
new FileSystemProbe(
|
||||
new FileSystemProbe(StringTable.STR_EMPTY4).getProtectedString(),
|
||||
StringTable.STR_EMPTY4);
|
||||
this.protectedString8 =
|
||||
new FileSystemProbe(fileSystemProbe2, StringTable.STR_DOOMSDAY3).getProtectedString();
|
||||
} else {
|
||||
this.protectedString8 = this.protectedString;
|
||||
}
|
||||
|
||||
this.fileSystemProbe = new FileSystemProbe(this.protectedString8);
|
||||
if (this.fileSystemProbe != null && !this.fileSystemProbe.isActive()) {
|
||||
this.fileSystemProbe.isSupported();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isActive() {
|
||||
return (count == 3);
|
||||
}
|
||||
|
||||
public final ProtectedString getProtectedString10() {
|
||||
return this.protectedString10;
|
||||
}
|
||||
|
||||
public static boolean isValid() {
|
||||
return (index == 3);
|
||||
}
|
||||
|
||||
public static boolean isReady() {
|
||||
return (index == 2);
|
||||
}
|
||||
|
||||
public static boolean isSupported() {
|
||||
return (index == 1);
|
||||
}
|
||||
|
||||
public final boolean canRun() {
|
||||
return (this.size == 3);
|
||||
}
|
||||
|
||||
public final ProtectedString getProtectedString2() {
|
||||
return this.protectedString2;
|
||||
}
|
||||
|
||||
public final boolean isActive2() {
|
||||
return (this.size == 1);
|
||||
}
|
||||
|
||||
public final boolean isActive3() {
|
||||
return (this.size == 2);
|
||||
}
|
||||
|
||||
public final boolean isVisible() {
|
||||
return this.visible;
|
||||
}
|
||||
|
||||
public final boolean isLoaded() {
|
||||
return this.loaded;
|
||||
}
|
||||
|
||||
public final boolean isCancelled() {
|
||||
return this.cancelled;
|
||||
}
|
||||
|
||||
public final KeyNameRegistry getKeyNameRegistry() {
|
||||
return this.keyNameRegistry;
|
||||
}
|
||||
|
||||
public final boolean isPressed() {
|
||||
return this.pressed;
|
||||
}
|
||||
|
||||
public final boolean isHovered() {
|
||||
return this.hovered;
|
||||
}
|
||||
|
||||
public final boolean isSelected() {
|
||||
return this.selected;
|
||||
}
|
||||
|
||||
public final boolean isLocked() {
|
||||
return this.locked;
|
||||
}
|
||||
|
||||
public final int getDelay() {
|
||||
return this.delay;
|
||||
}
|
||||
|
||||
public final ProtectedString getProtectedString11() {
|
||||
return this.protectedString11;
|
||||
}
|
||||
|
||||
public final boolean hasValid() {
|
||||
return this.valid;
|
||||
}
|
||||
|
||||
public final boolean isExpanded() {
|
||||
return this.expanded;
|
||||
}
|
||||
|
||||
public final boolean hasSupported() {
|
||||
return this.supported;
|
||||
}
|
||||
|
||||
public final boolean isStrict() {
|
||||
return this.strict;
|
||||
}
|
||||
|
||||
public final boolean isFocused() {
|
||||
return this.focused;
|
||||
}
|
||||
|
||||
public final boolean isSilent() {
|
||||
return this.silent;
|
||||
}
|
||||
|
||||
public final boolean isInverted() {
|
||||
return this.inverted;
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
return this.initialized;
|
||||
}
|
||||
|
||||
public final ProtectedString getProtectedString12() {
|
||||
return this.protectedString12;
|
||||
}
|
||||
|
||||
public final boolean isDragging() {
|
||||
return this.dragging;
|
||||
}
|
||||
|
||||
public final ProtectedString getProtectedString13() {
|
||||
return this.protectedString13;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package com.doomsdayclient;
|
||||
|
||||
public class ClientState {
|
||||
public ClassLoader classLoader;
|
||||
public boolean enabled;
|
||||
public String string;
|
||||
public boolean active;
|
||||
public MinecraftVersion minecraftVersion;
|
||||
public boolean visible;
|
||||
public boolean initialized;
|
||||
public static boolean running;
|
||||
public boolean loaded;
|
||||
public boolean ready;
|
||||
public static boolean cancelled;
|
||||
public static boolean dirty;
|
||||
public static boolean focused;
|
||||
public static boolean pressed = false;
|
||||
public static boolean hovered;
|
||||
public static boolean expanded;
|
||||
public static boolean dragging;
|
||||
public static boolean selected;
|
||||
public static boolean locked;
|
||||
public static boolean supported;
|
||||
public static boolean staticMember;
|
||||
public static boolean strict;
|
||||
public static boolean silent;
|
||||
public static boolean inverted;
|
||||
public static boolean cached;
|
||||
public static boolean pending;
|
||||
public static boolean valid;
|
||||
public static ClientState clientState;
|
||||
|
||||
public static boolean isActive() {
|
||||
return (!(!dirty && !focused));
|
||||
}
|
||||
|
||||
public ClientState() {
|
||||
clientState = this;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,42 @@
|
||||
package com.doomsdayclient;
|
||||
|
||||
import com.doomsdayclient.gui.component.picker.ItemPickerComponent;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.reflect.Reflector;
|
||||
|
||||
public abstract class MinecraftVersionEntry {
|
||||
public static MinecraftVersionEntry getMinecraftVersionEn(Object value) {
|
||||
try {
|
||||
MinecraftVersion minecraftVersion = MinecraftVersion.minecraftVersion;
|
||||
MinecraftVersionEntry minecraftVersionEn = null;
|
||||
if (minecraftVersion.matchesMinecraftVersion(
|
||||
MinecraftVersion.V1_17, MinecraftVersion.V1_21_11)) {
|
||||
minecraftVersionEn =
|
||||
(MinecraftVersionEntry) Reflector.getObject(MinecraftVersionEntry1_17.class);
|
||||
}
|
||||
|
||||
if (minecraftVersion.matchesMinecraftVersion(
|
||||
MinecraftVersion.V26_1, MinecraftVersion.V26_3)) {
|
||||
minecraftVersionEn =
|
||||
(MinecraftVersionEntry) Reflector.getObject(MinecraftVersionEntry26_1.class);
|
||||
}
|
||||
|
||||
if (minecraftVersionEn != null) {
|
||||
minecraftVersionEn.setObject(value);
|
||||
}
|
||||
|
||||
return minecraftVersionEn;
|
||||
} catch (NoClassDefFoundError noClassDefFoundError) {
|
||||
ClientLog.setClassRef(ItemPickerComponent.class);
|
||||
ClientLog.applyThrowable(noClassDefFoundError);
|
||||
} catch (Throwable exception) {
|
||||
ClientLog.applyThrowable(exception);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public abstract void setObject(Object object);
|
||||
|
||||
public abstract Object getMc_A();
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.doomsdayclient;
|
||||
|
||||
import net.minecraft.obf.MC_CLASSQE;
|
||||
import net.minecraft.obf.MC_CLASS_A;
|
||||
|
||||
public class MinecraftVersionEntry1_17 extends MinecraftVersionEntry {
|
||||
private MC_CLASS_A mc_A;
|
||||
|
||||
@Override
|
||||
public void setObject(Object object) {
|
||||
if (object instanceof MC_CLASSQE) {
|
||||
this.mc_A = new MC_CLASS_A((MC_CLASSQE) object);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getMc_A() {
|
||||
return this.mc_A;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
package com.doomsdayclient;
|
||||
|
||||
import net.minecraft.obf.MC_CLASS6C;
|
||||
import net.minecraft.obf.MC_CLASS8B;
|
||||
import net.minecraft.obf.MC_CLASSAA;
|
||||
import net.minecraft.obf.MC_CLASSII;
|
||||
import net.minecraft.obf.MC_CLASSQB;
|
||||
import net.minecraft.obf.MC_CLASSRD;
|
||||
import net.minecraft.obf.MC_CLASS_A;
|
||||
import net.minecraft.obf.MC_CLASSaB;
|
||||
import net.minecraft.obf.MC_CLASSmI;
|
||||
|
||||
public class MinecraftVersionEntry26_1 extends MinecraftVersionEntry {
|
||||
private MC_CLASS_A mc_A;
|
||||
private MC_CLASS6C mc6C;
|
||||
private static MC_CLASSAA mcAA = MC_CLASSAA.MC_METHODuA();
|
||||
private Object object;
|
||||
|
||||
@Override
|
||||
public void setObject(Object mc6C2) {
|
||||
if (mc6C2 instanceof MC_CLASS6C) {
|
||||
this.mc6C = (MC_CLASS6C) mc6C2;
|
||||
} else if (mc6C2 instanceof MC_CLASSaB) {
|
||||
this.mc6C = ((MC_CLASSaB) mc6C2).MC_METHOD8S();
|
||||
}
|
||||
|
||||
this.mc_A = null;
|
||||
}
|
||||
|
||||
public static MC_CLASS_A getMc_A(MC_CLASS6C item) {
|
||||
return item == MC_CLASSRD.MC_FIELD9C ? MC_CLASS_A.MC_FIELD4B : new MC_CLASS_A(getMc8B(item));
|
||||
}
|
||||
|
||||
private static MC_CLASS8B getMc8B(MC_CLASS6C item) {
|
||||
MC_CLASSmI dataComponentMap =
|
||||
MC_CLASSmI.MC_METHOD9S()
|
||||
.MC_METHOD0S(MC_CLASSII.MC_FIELDJK)
|
||||
.MC_METHODAT(MC_CLASSII.MC_FIELDyH, item.MC_METHOD$S().MC_METHOD_S().MC_METHOD6Q())
|
||||
.MC_METHODAT(MC_CLASSII.MC_FIELDKK, MC_CLASSQB.MC_METHODCT(item.MC_METHODBT()))
|
||||
.MC_METHODDT();
|
||||
return MC_CLASS8B.MC_METHODET(item, dataComponentMap);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getMc_A() {
|
||||
if (this.mc_A == null || this.object != mcAA.MC_FIELDiB) {
|
||||
if (mcAA.MC_FIELDiB == null) {
|
||||
this.mc_A = getMc_A(this.mc6C);
|
||||
} else {
|
||||
this.mc_A = new MC_CLASS_A(this.mc6C);
|
||||
}
|
||||
|
||||
this.object = mcAA.MC_FIELDiB;
|
||||
}
|
||||
|
||||
return this.mc_A;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.doomsdayclient;
|
||||
|
||||
import com.doomsdayclient.gui.component.picker.BlockEntryResolver;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import net.minecraft.obf.MC_CLASS_A;
|
||||
import net.minecraft.obf.MC_CLASSaB;
|
||||
|
||||
public class MinecraftVersionEntryAdapter1_17 implements BlockEntryResolver {
|
||||
public ProtectedString protectedString;
|
||||
public MC_CLASSaB mcaB;
|
||||
public boolean enabled;
|
||||
private final MinecraftVersionEntry minecraftVersionEntry;
|
||||
public int index;
|
||||
public int count;
|
||||
public int size;
|
||||
public int length;
|
||||
|
||||
public MinecraftVersionEntryAdapter1_17(MC_CLASSaB mcaB2, int index2, int count2) {
|
||||
this.minecraftVersionEntry = MinecraftVersionEntry.getMinecraftVersionEn(mcaB2);
|
||||
this.mcaB = mcaB2;
|
||||
this.index = index2;
|
||||
this.count = count2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProtectedString getProtectedString() {
|
||||
return this.protectedString;
|
||||
}
|
||||
|
||||
public float getFloat() {
|
||||
return this.index;
|
||||
}
|
||||
|
||||
public float readFloat() {
|
||||
return this.count;
|
||||
}
|
||||
|
||||
public boolean isEnabled() {
|
||||
return this.enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(boolean enabled2) {
|
||||
this.enabled = enabled2;
|
||||
}
|
||||
|
||||
public MC_CLASSaB getMcaB() {
|
||||
return this.mcaB;
|
||||
}
|
||||
|
||||
public MC_CLASS_A getMc_A() {
|
||||
return (MC_CLASS_A) this.minecraftVersionEntry.getMc_A();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package com.doomsdayclient;
|
||||
|
||||
import com.doomsdayclient.gui.component.picker.ItemEntryResolver;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import net.minecraft.obf.MC_CLASS6C;
|
||||
import net.minecraft.obf.MC_CLASS_A;
|
||||
|
||||
public class MinecraftVersionEntryHandler1_17 implements ItemEntryResolver {
|
||||
public ProtectedString protectedString;
|
||||
public boolean enabled;
|
||||
private final MinecraftVersionEntry minecraftVersionEntry;
|
||||
public int index;
|
||||
public int count;
|
||||
public int size;
|
||||
public int length;
|
||||
|
||||
public MinecraftVersionEntryHandler1_17(MC_CLASS6C item, int index2, int count2) {
|
||||
this.minecraftVersionEntry = MinecraftVersionEntry.getMinecraftVersionEn(item);
|
||||
this.index = index2;
|
||||
this.count = count2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProtectedString getProtectedString() {
|
||||
return this.protectedString;
|
||||
}
|
||||
|
||||
public float getFloat() {
|
||||
return this.index;
|
||||
}
|
||||
|
||||
public float readFloat() {
|
||||
return this.count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEnabled() {
|
||||
return this.enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(boolean enabled2) {
|
||||
this.enabled = enabled2;
|
||||
}
|
||||
|
||||
public MC_CLASS_A getMc_A() {
|
||||
return (MC_CLASS_A) this.minecraftVersionEntry.getMc_A();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package com.doomsdayclient;
|
||||
|
||||
import com.doomsdayclient.bridge.NativeBridge;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.platform.WindowsEnvironmentKeys;
|
||||
import com.doomsdayclient.render.GlMatrixHelper;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
|
||||
public class ShutdownHookThread extends Thread {
|
||||
private DoomsDay doomsDay;
|
||||
|
||||
public ShutdownHookThread(DoomsDay doomsDay2) {
|
||||
this.doomsDay = doomsDay2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
ClientLog.setProtectedCharSeque(StringTable.STR_CLOSING);
|
||||
if (GlMatrixHelper.renderSystemSettings != null) {
|
||||
try {
|
||||
;
|
||||
} catch (Throwable exception) {
|
||||
ClientLog.applyThrowable(exception);
|
||||
}
|
||||
}
|
||||
|
||||
if (this.doomsDay.moduleManager != null) {
|
||||
this.doomsDay.moduleManager.applyBoolean(true, false);
|
||||
}
|
||||
|
||||
this.doomsDay.setBoolean(false);
|
||||
if (WindowsEnvironmentKeys.isActive2() || WindowsEnvironmentKeys.canRun()) {
|
||||
NativeBridge nativeBridge = this.doomsDay.nativeBridge;
|
||||
Object[] request = new Object[1];
|
||||
long[] longValues = new long[] {219L};
|
||||
request[0] = longValues;
|
||||
nativeBridge.doomsDay.getObject(request);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.AgentBootstrap;
|
||||
import com.doomsdayclient.reflect.Reflector;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
|
||||
public class AbstractClassDumper {
|
||||
public static AbstractClassDumper createAbstractClassDumpe(
|
||||
ProtectedString text, ProtectedString text2) {
|
||||
AbstractClassDumper abstractClassDumpe = null;
|
||||
if (text != null) {
|
||||
abstractClassDumpe = (AbstractClassDumper) Reflector.getObject(JarClassDumper.class);
|
||||
}
|
||||
|
||||
if (text2 != null) {
|
||||
abstractClassDumpe = (AbstractClassDumper) Reflector.getObject(AgentBootstrap.class);
|
||||
}
|
||||
|
||||
if (abstractClassDumpe == null) {
|
||||
abstractClassDumpe = new AbstractClassDumper();
|
||||
}
|
||||
|
||||
return abstractClassDumpe;
|
||||
}
|
||||
|
||||
public void setObject(Object object) {}
|
||||
|
||||
public void setProtectedString(ProtectedString protectedString) {}
|
||||
|
||||
public void applyProtectedString(ProtectedString text) {}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.lib.asm.ClassReader;
|
||||
import com.doomsdayclient.lib.asm.ClassVisitor;
|
||||
import com.doomsdayclient.lib.asm.FieldVisitor;
|
||||
import com.doomsdayclient.lib.asm.MethodVisitor;
|
||||
import com.doomsdayclient.util.collections.FastArrayList;
|
||||
import com.doomsdayclient.util.io.ConstantPoolWriter;
|
||||
|
||||
public final class AgentClassVisitor extends ClassVisitor {
|
||||
public String string;
|
||||
public String string2;
|
||||
public String[] strings;
|
||||
public FastArrayList fastArrayList = new FastArrayList();
|
||||
public FastArrayList fastArrayList2 = new FastArrayList();
|
||||
public FastArrayList fastArrayList3 = new FastArrayList();
|
||||
public FastArrayList fastArrayList4 = new FastArrayList();
|
||||
|
||||
public AgentClassVisitor() {
|
||||
super((byte) 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final MethodVisitor createMethodVisitor(
|
||||
int intValue, String text, String text2, String text3, String[] strings2) {
|
||||
ConstantPoolWriter constantPoolWriter = new ConstantPoolWriter(this.string, text, text2);
|
||||
this.fastArrayList.matchesObject(constantPoolWriter);
|
||||
MethodVisitor methodVisitor = super.createMethodVisitor(intValue, text, text2, text3, strings2);
|
||||
return new AgentMethodVisitor(this, methodVisitor);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final FieldVisitor createFieldVisitor(
|
||||
int intValue, String text, String text2, String text3, Object value) {
|
||||
ConstantPoolWriter constantPoolWriter = new ConstantPoolWriter(this.string, text, text2);
|
||||
this.fastArrayList4.matchesObject(constantPoolWriter);
|
||||
return super.createFieldVisitor(intValue, text, text2, text3, value);
|
||||
}
|
||||
|
||||
public static AgentClassVisitor getAgentClassVisitor(ClassReader classReader) {
|
||||
AgentClassVisitor agentClassVisitor;
|
||||
(agentClassVisitor = new AgentClassVisitor()).string = classReader.getString();
|
||||
agentClassVisitor.string2 = classReader.readString();
|
||||
agentClassVisitor.strings = classReader.getStringArray();
|
||||
classReader.applyClassVisitor(agentClassVisitor, 4);
|
||||
return agentClassVisitor;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.lib.asm.Handle;
|
||||
import com.doomsdayclient.lib.asm.MethodVisitor;
|
||||
import com.doomsdayclient.util.io.ConstantPoolWriter;
|
||||
|
||||
public final class AgentMethodVisitor extends MethodVisitor {
|
||||
private AgentClassVisitor agentClassVisitor;
|
||||
|
||||
public AgentMethodVisitor(AgentClassVisitor agentClassVisitor2, MethodVisitor methodVisitor2) {
|
||||
super(methodVisitor2);
|
||||
this.agentClassVisitor = agentClassVisitor2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void applyInt(int intValue, String text, String text2, String text3) {
|
||||
ConstantPoolWriter constantPoolWriter = new ConstantPoolWriter(text, text2, text3);
|
||||
if (!this.agentClassVisitor.fastArrayList3.supportsObject(constantPoolWriter)) {
|
||||
this.agentClassVisitor.fastArrayList3.matchesObject(constantPoolWriter);
|
||||
}
|
||||
|
||||
super.applyInt(intValue, text, text2, text3);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void applyString(
|
||||
String text, String text2, Handle handle, Object[] arguments, int[] integers) {
|
||||
super.applyString(text, text2, handle, arguments, integers);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void applyInt(int intValue, String text, String text2, String text3, boolean flag) {
|
||||
ConstantPoolWriter constantPoolWriter = new ConstantPoolWriter(text, text2, text3);
|
||||
if (!this.agentClassVisitor.fastArrayList.supportsObject(constantPoolWriter)) {
|
||||
this.agentClassVisitor.fastArrayList.matchesObject(constantPoolWriter);
|
||||
}
|
||||
|
||||
super.applyInt(intValue, text, text2, text3, flag);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.BootstrapContext;
|
||||
import com.doomsdayclient.ClientState;
|
||||
import com.doomsdayclient.DoomsDay;
|
||||
import com.doomsdayclient.jvm.ClassReflectionUtil;
|
||||
import com.doomsdayclient.lib.asm.ClassReader;
|
||||
import com.doomsdayclient.lifecycle.FabricModDetector;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.util.collections.FastArrayList;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
public final class AttachAgentTask implements Callable {
|
||||
private Object[] objects;
|
||||
private ClientState clientState;
|
||||
private BootstrapContext bootstrapContext;
|
||||
private DoomsDay doomsDay;
|
||||
private BytecodePatchBuffer bytecodePatchBuffer;
|
||||
|
||||
public AttachAgentTask(Object[] objects2, DoomsDay doomsDay2) {
|
||||
this.doomsDay = doomsDay2;
|
||||
this.bootstrapContext = doomsDay2.bootstrapContext;
|
||||
this.clientState = doomsDay2.clientState;
|
||||
this.objects = objects2;
|
||||
this.bytecodePatchBuffer = new BytecodePatchBuffer();
|
||||
DoomsDay.bytecodePatchBuffer = this.bytecodePatchBuffer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final Object call() {
|
||||
byte[] bytes;
|
||||
if ((bytes = (byte[]) this.objects[2]) == null) {
|
||||
return bytes;
|
||||
} else {
|
||||
try {
|
||||
AgentClassVisitor agentClassVisitor;
|
||||
String string =
|
||||
(agentClassVisitor = AgentClassVisitor.getAgentClassVisitor(new ClassReader(bytes)))
|
||||
.string;
|
||||
this.bytecodePatchBuffer.applyString(
|
||||
agentClassVisitor.string, agentClassVisitor.string2, agentClassVisitor.strings);
|
||||
this.bootstrapContext.setString(string);
|
||||
FastArrayList fastArrayList = ClassReflectionUtil.getFastArrayList(agentClassVisitor);
|
||||
if (!this.bootstrapContext.matchesFastArrayList(fastArrayList)) {
|
||||
return bytes;
|
||||
}
|
||||
|
||||
FabricModDetector fabricModDetector;
|
||||
if ((fabricModDetector =
|
||||
this.bootstrapContext.createFabricModDetector(fastArrayList, string))
|
||||
.active) {
|
||||
int intValue =
|
||||
this.bootstrapContext.getInt(
|
||||
ClassReflectionUtil.fromAgentClassVisitor(agentClassVisitor));
|
||||
int intValue2 =
|
||||
this.bootstrapContext.findInt(
|
||||
ClassReflectionUtil.findFastArrayList(agentClassVisitor));
|
||||
if (fabricModDetector.visible || intValue > 0 || intValue2 > 0) {
|
||||
this.bootstrapContext.update();
|
||||
}
|
||||
}
|
||||
|
||||
byte[] bytes2;
|
||||
if ((bytes2 = this.doomsDay.transformerRegistry.createByteArray(string, bytes, true))
|
||||
!= null) {
|
||||
return bytes2;
|
||||
}
|
||||
} catch (Throwable exception) {
|
||||
ClientLog.applyThrowable(exception);
|
||||
}
|
||||
|
||||
return bytes;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.lib.asm.ClassReader;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.util.collections.FastHashMap;
|
||||
import com.doomsdayclient.util.collections.FastHashSet;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.File;
|
||||
import java.util.function.Function;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipOutputStream;
|
||||
|
||||
public final class BootstrapClassExtractor implements Function {
|
||||
public File file;
|
||||
public FastHashMap fastHashMap = new FastHashMap();
|
||||
public FastHashMap fastHashMap2 = new FastHashMap();
|
||||
private FastHashMap fastHashMap3 = new FastHashMap();
|
||||
private FastHashSet fastHashSet = new FastHashSet();
|
||||
private FastHashSet fastHashSet2 = new FastHashSet();
|
||||
|
||||
public BootstrapClassExtractor(ProtectedString text) {
|
||||
this.file = new File(text.readString());
|
||||
}
|
||||
|
||||
@Override
|
||||
public final Object apply(Object arguments) {
|
||||
ClassLoader classLoader = (ClassLoader) ((Object[]) arguments)[0];
|
||||
if (((Object[]) arguments)[2] == null) {
|
||||
return null;
|
||||
} else {
|
||||
byte[] bytes = (byte[]) ((Object[]) arguments)[4];
|
||||
String className = new ClassReader(bytes).getString();
|
||||
String loaderName = (String) this.fastHashMap3.getObject(classLoader);
|
||||
String text;
|
||||
if (classLoader != null) {
|
||||
if ((text = (String) this.fastHashMap3.getObject(classLoader)) == null) {
|
||||
loaderName = classLoader.getClass().getName();
|
||||
String text2 = loaderName.substring(loaderName.lastIndexOf(46) + 1);
|
||||
text2 = text2 + '@';
|
||||
String text3;
|
||||
text = text3 = text2 + classLoader.hashCode();
|
||||
|
||||
while (this.fastHashSet.matchesObject(text)) {
|
||||
text = text3 = text3 + "_0";
|
||||
}
|
||||
|
||||
this.fastHashMap3.createObject(classLoader, text);
|
||||
this.fastHashSet.supportsObject(text);
|
||||
}
|
||||
} else {
|
||||
text = "bootstrap";
|
||||
}
|
||||
|
||||
try {
|
||||
ZipOutputStream zipOutputStream;
|
||||
if ((zipOutputStream = (ZipOutputStream) this.fastHashMap.getObject(text)) == null) {
|
||||
ByteArrayOutputStream archiveBytes = new ByteArrayOutputStream();
|
||||
zipOutputStream = new ZipOutputStream(archiveBytes);
|
||||
this.fastHashMap.createObject(text, zipOutputStream);
|
||||
this.fastHashMap2.createObject(text, archiveBytes);
|
||||
}
|
||||
|
||||
String text4;
|
||||
className = text4 = text + '/' + className;
|
||||
|
||||
for (int index = 0; this.fastHashSet2.matchesObject(className + ".class"); index++) {
|
||||
className = text4 + '_' + index;
|
||||
}
|
||||
|
||||
className = className + ".class";
|
||||
this.fastHashSet2.supportsObject(className);
|
||||
ZipEntry zipEntry = new ZipEntry(className);
|
||||
zipOutputStream.putNextEntry(zipEntry);
|
||||
zipOutputStream.write(bytes);
|
||||
zipOutputStream.closeEntry();
|
||||
} catch (Exception exception) {
|
||||
exception.printStackTrace();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.util.collections.FastHashMap;
|
||||
|
||||
public class BytecodePatchBuffer {
|
||||
private FastHashMap fastHashMap = new FastHashMap();
|
||||
|
||||
public final BytecodeSliceCursor getBytecodeSliceCurso(String text) {
|
||||
return (BytecodeSliceCursor) this.fastHashMap.getObject(text);
|
||||
}
|
||||
|
||||
private BytecodeSliceCursor findBytecodeSliceCurso(String text) {
|
||||
BytecodeSliceCursor bytecodeSliceCurso;
|
||||
if ((bytecodeSliceCurso = (BytecodeSliceCursor) this.fastHashMap.getObject(text)) == null) {
|
||||
bytecodeSliceCurso = new BytecodeSliceCursor(text);
|
||||
this.fastHashMap.createObject(text, bytecodeSliceCurso);
|
||||
}
|
||||
|
||||
return bytecodeSliceCurso;
|
||||
}
|
||||
|
||||
public final void applyString(String text, String text2, String[] strings) {
|
||||
BytecodeSliceCursor bytecodeSliceCurso = this.findBytecodeSliceCurso(text);
|
||||
if (text2 != null) {
|
||||
bytecodeSliceCurso.bytecodeSliceCursor = this.findBytecodeSliceCurso(text2);
|
||||
}
|
||||
|
||||
if (strings != null && strings.length > 0 && bytecodeSliceCurso.bytecodeSliceCursors == null) {
|
||||
bytecodeSliceCurso.bytecodeSliceCursors = new BytecodeSliceCursor[strings.length];
|
||||
|
||||
for (int stringIndex = 0; stringIndex < strings.length; stringIndex++) {
|
||||
bytecodeSliceCurso.bytecodeSliceCursors[stringIndex] =
|
||||
this.findBytecodeSliceCurso(strings[stringIndex]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private boolean matchesString(String text, BytecodeSliceCursor bytecodeSliceCursor) {
|
||||
if (bytecodeSliceCursor.bytecodeSliceCursors == null) {
|
||||
return false;
|
||||
} else {
|
||||
for (int bytecodeSliceCursorIndex = 0;
|
||||
bytecodeSliceCursorIndex < bytecodeSliceCursor.bytecodeSliceCursors.length;
|
||||
bytecodeSliceCursorIndex++) {
|
||||
if (text.equals(
|
||||
bytecodeSliceCursor.bytecodeSliceCursors[bytecodeSliceCursorIndex].string)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (this.matchesString(
|
||||
text, bytecodeSliceCursor.bytecodeSliceCursors[bytecodeSliceCursorIndex])) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean matchesString(String text, String text2) {
|
||||
BytecodeSliceCursor bytecodeSliceCurso = this.getBytecodeSliceCurso(text2);
|
||||
for (BytecodeSliceCursor index = bytecodeSliceCurso;
|
||||
index != null;
|
||||
index = index.bytecodeSliceCursor) {
|
||||
if (text.equals(index.string)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
for (BytecodeSliceCursor index2 = bytecodeSliceCurso;
|
||||
index2 != null;
|
||||
index2 = index2.bytecodeSliceCursor) {
|
||||
if (this.matchesString(text, index2)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
public final class BytecodeSliceCursor {
|
||||
public final String string;
|
||||
public BytecodeSliceCursor bytecodeSliceCursor;
|
||||
public BytecodeSliceCursor[] bytecodeSliceCursors;
|
||||
|
||||
public BytecodeSliceCursor(String string2) {
|
||||
this.string = string2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
public final class ClassBatchQueue {}
|
||||
@@ -0,0 +1,319 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.BootstrapContext;
|
||||
import com.doomsdayclient.ClientState;
|
||||
import com.doomsdayclient.DoomsDay;
|
||||
import com.doomsdayclient.hook.processor.ClassProcessor;
|
||||
import com.doomsdayclient.jvm.AgentReloadLock;
|
||||
import com.doomsdayclient.jvm.ClassReflectionUtil;
|
||||
import com.doomsdayclient.lib.asm.ClassReader;
|
||||
import com.doomsdayclient.lifecycle.FabricModDetector;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.platform.WindowsEnvironmentKeys;
|
||||
import com.doomsdayclient.text.CharSink;
|
||||
import com.doomsdayclient.text.ProtectedAppendable;
|
||||
import com.doomsdayclient.text.ProtectedStringBuilder;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
import com.doomsdayclient.util.collections.ClassLoaderMap;
|
||||
import com.doomsdayclient.util.collections.CollectionPredicate;
|
||||
import com.doomsdayclient.util.collections.CompactArrayList;
|
||||
import com.doomsdayclient.util.collections.FastArrayList;
|
||||
import com.doomsdayclient.util.collections.FastHashMap;
|
||||
|
||||
public class ClassLoaderHookInstaller {
|
||||
public FastArrayList fastArrayList;
|
||||
public ClientState clientState;
|
||||
public BootstrapContext bootstrapContext;
|
||||
public DoomsDay doomsDay;
|
||||
public boolean enabled = true;
|
||||
public AgentReloadLock agentReloadLock = new AgentReloadLock();
|
||||
public ClassLoaderThreadLocal classLoaderThreadLocal = new ClassLoaderThreadLocal();
|
||||
public BytecodePatchBuffer bytecodePatchBuffer;
|
||||
public byte[] bytes;
|
||||
public volatile boolean active;
|
||||
private static CharSink charSink = new ProtectedAppendable();
|
||||
public FastHashMap fastHashMap = new ClassLoaderMap();
|
||||
public FastHashMap fastHashMap2;
|
||||
public final CompactArrayList compactArrayList = new CompactArrayList();
|
||||
public static long address;
|
||||
public static long handle;
|
||||
|
||||
public ClassLoaderHookInstaller(DoomsDay doomsDay2) {
|
||||
this.doomsDay = doomsDay2;
|
||||
this.bootstrapContext = doomsDay2.bootstrapContext;
|
||||
this.clientState = doomsDay2.clientState;
|
||||
if (doomsDay2.ticks == DoomsDay.count
|
||||
|| doomsDay2.ticks == DoomsDay.size
|
||||
|| doomsDay2.ticks == DoomsDay.index) {
|
||||
this.bytecodePatchBuffer = new BytecodePatchBuffer();
|
||||
DoomsDay.bytecodePatchBuffer = this.bytecodePatchBuffer;
|
||||
}
|
||||
}
|
||||
|
||||
private static boolean matchesByteArray(byte[] bytes2, byte[] bytes3) {
|
||||
if (bytes2 == bytes3) {
|
||||
return true;
|
||||
} else if (bytes2 != null && bytes3 != null) {
|
||||
int count = bytes2.length;
|
||||
if (bytes3.length != count) {
|
||||
return false;
|
||||
} else {
|
||||
for (int byteIndex = 0; byteIndex < count; byteIndex++) {
|
||||
if (bytes2[byteIndex] != bytes3[byteIndex]) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public Object getObject(Object input) {
|
||||
Object[] args = (Object[]) input;
|
||||
boolean[] flags = (boolean[]) this.classLoaderThreadLocal.get();
|
||||
ClassLoader classLoader = (ClassLoader) args[0];
|
||||
String string = (String) args[1];
|
||||
Object value = args[2];
|
||||
byte[] classBytes = (byte[]) args[4];
|
||||
if (value != null) {
|
||||
if (this.fastHashMap2 != null && this.fastHashMap2.getObject(value) != null) {
|
||||
this.fastHashMap2.createObject(value, classBytes.clone());
|
||||
}
|
||||
|
||||
if (this.active) {
|
||||
byte[] bytes2;
|
||||
if ((bytes2 = (byte[]) this.fastHashMap.getObject(value)) != null
|
||||
&& !matchesByteArray(bytes2, classBytes)) {
|
||||
return bytes2;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
if (flags[0]) {
|
||||
return null;
|
||||
} else {
|
||||
if ((this.doomsDay.ticks == DoomsDay.offset || this.doomsDay.ticks == DoomsDay.size)
|
||||
&& string != null
|
||||
&& !this.clientState.enabled
|
||||
&& StringTable.STR_CPW_MODS_MODLAUNCHER_TRANSFORMINGC.checkString(string)) {
|
||||
this.clientState.enabled = true;
|
||||
this.clientState.string = string.replace('/', '.');
|
||||
ClientLog.setProtectedCharSeque(StringTable.STR_TRANSFORM_CLASS_LOADER_FOUND);
|
||||
}
|
||||
|
||||
flags[0] = true;
|
||||
long longValue = this.doomsDay.createLong();
|
||||
|
||||
try {
|
||||
if (classLoader == this.doomsDay.getClass().getClassLoader()) {
|
||||
return null;
|
||||
} else {
|
||||
if (string != null) {
|
||||
if (string.startsWith("java/")) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (string.startsWith("jdk/")) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
ClassReader classReader = new ClassReader(classBytes);
|
||||
long longValue2 = this.doomsDay.createLong();
|
||||
AgentClassVisitor agentClassVisitor =
|
||||
AgentClassVisitor.getAgentClassVisitor(classReader);
|
||||
long longValue3 = this.doomsDay.createLong();
|
||||
handle += longValue3 - longValue2;
|
||||
string = agentClassVisitor.string;
|
||||
if (this.bytecodePatchBuffer != null) {
|
||||
this.bytecodePatchBuffer.applyString(
|
||||
agentClassVisitor.string, agentClassVisitor.string2, agentClassVisitor.strings);
|
||||
}
|
||||
|
||||
this.bootstrapContext.setString(string);
|
||||
FastArrayList fastArrayList2 = ClassReflectionUtil.getFastArrayList(agentClassVisitor);
|
||||
if (!this.bootstrapContext.matchesFastArrayList(fastArrayList2)) {
|
||||
return null;
|
||||
} else {
|
||||
if ((this.doomsDay.ticks == DoomsDay.offset || this.doomsDay.ticks == DoomsDay.size)
|
||||
&& this.clientState.enabled) {
|
||||
if (this.clientState.classLoader != null
|
||||
&& classLoader != this.clientState.classLoader) {
|
||||
ClientLog.onProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_SKIP_LOADER_1)
|
||||
.withObject(classLoader)
|
||||
.appendChar(' ')
|
||||
.withObject(this.clientState.classLoader));
|
||||
return null;
|
||||
}
|
||||
|
||||
if (this.clientState.string != null
|
||||
&& classLoader != null
|
||||
&& !classLoader.getClass().getName().equals(this.clientState.string)) {
|
||||
ClientLog.onProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_SKIP_LOADER_2)
|
||||
.withObject(classLoader));
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
FabricModDetector fabricModDetector;
|
||||
if ((fabricModDetector =
|
||||
this.bootstrapContext.createFabricModDetector(fastArrayList2, string))
|
||||
.active) {
|
||||
int intValue =
|
||||
this.bootstrapContext.getInt(
|
||||
ClassReflectionUtil.fromAgentClassVisitor(agentClassVisitor));
|
||||
int intValue2 =
|
||||
this.bootstrapContext.findInt(
|
||||
ClassReflectionUtil.findFastArrayList(agentClassVisitor));
|
||||
if (fabricModDetector.enabled) {
|
||||
if (this.clientState.classLoader == null) {
|
||||
this.clientState.classLoader = classLoader;
|
||||
this.doomsDay.applyClassLoader(classLoader, string);
|
||||
} else if (this.clientState.classLoader != classLoader) {
|
||||
this.clientState.active = true;
|
||||
ClientLog.onProtectedCharSeque(
|
||||
new ProtectedStringBuilder(
|
||||
StringTable.STR_WTF_DIFFERENT_MINECRAFT_LOADER_CLA2)
|
||||
.appendString(string));
|
||||
ClientLog.onProtectedCharSeque(
|
||||
new ProtectedStringBuilder()
|
||||
.withObject(this.clientState.classLoader)
|
||||
.appendProtectedCharSeque(StringTable.STR_SPACE)
|
||||
.withObject(classLoader)
|
||||
.appendChar(' ')
|
||||
.appendClassRef(classLoader.getClass()));
|
||||
}
|
||||
}
|
||||
|
||||
ClassProcessor classProcessor = this.doomsDay.classProcessor;
|
||||
if ((this.doomsDay.classProcessor == null || !classProcessor.isEnabled())
|
||||
&& (fabricModDetector.visible || intValue > 0 || intValue2 > 0)) {
|
||||
this.bootstrapContext.update();
|
||||
}
|
||||
}
|
||||
|
||||
if (value != null
|
||||
&& this.fastHashMap2 != null
|
||||
&& this.fastHashMap2.getObject(value) != null) {
|
||||
return null;
|
||||
} else if (this.doomsDay.transformerRegistry == null) {
|
||||
return null;
|
||||
} else {
|
||||
boolean enabled2 = this.enabled;
|
||||
byte[] bytes3 =
|
||||
this.doomsDay.transformerRegistry.createByteArray(string, classBytes, enabled2);
|
||||
if (this.doomsDay.clientConfig.isInitialized()
|
||||
|| this.doomsDay.clientConfig.isInverted()
|
||||
|| WindowsEnvironmentKeys.isSupported()
|
||||
&& (this.doomsDay.ticks == DoomsDay.index
|
||||
|| this.doomsDay.ticks == DoomsDay.offset)) {
|
||||
return bytes3;
|
||||
} else if (bytes3 == null) {
|
||||
return null;
|
||||
} else {
|
||||
CollectionPredicate collectionPredicate =
|
||||
new CollectionPredicate(classLoader, string);
|
||||
DirectClassRedefiner directClassRedefiner =
|
||||
new DirectClassRedefiner(
|
||||
this, string, classLoader, bytes3, collectionPredicate, classBytes);
|
||||
if (this.compactArrayList.getInt(collectionPredicate) < 3) {
|
||||
directClassRedefiner.tick();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Throwable exception) {
|
||||
ClientLog.applyThrowable(exception);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
address = address + (this.doomsDay.createLong() - longValue);
|
||||
flags[0] = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object enabled2) {
|
||||
if (enabled2 != null && enabled2.getClass() == Boolean.class) {
|
||||
this.enabled = (Boolean) enabled2;
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public String getString(byte[] bytes2) {
|
||||
int[] intValues;
|
||||
(intValues = new int[21])[3] = 4;
|
||||
intValues[4] = 4;
|
||||
intValues[5] = 8;
|
||||
intValues[6] = 8;
|
||||
intValues[7] = 2;
|
||||
intValues[8] = 2;
|
||||
intValues[9] = 4;
|
||||
intValues[10] = 4;
|
||||
intValues[11] = 4;
|
||||
intValues[12] = 4;
|
||||
intValues[15] = 3;
|
||||
intValues[16] = 2;
|
||||
intValues[17] = 4;
|
||||
intValues[18] = 4;
|
||||
intValues[19] = 2;
|
||||
intValues[20] = 2;
|
||||
int count = createInt(bytes2, 8);
|
||||
int byteIndex = 10;
|
||||
int[] integers = (int[]) this.agentReloadLock.get();
|
||||
|
||||
for (int integerIndex = 1; integerIndex < count; integerIndex++) {
|
||||
int index = bytes2[byteIndex];
|
||||
byteIndex++;
|
||||
if (index == 1) {
|
||||
integers[integerIndex] = byteIndex;
|
||||
index = createInt(bytes2, byteIndex);
|
||||
byteIndex += 2;
|
||||
byteIndex += index;
|
||||
} else {
|
||||
if (index == 7) {
|
||||
integers[integerIndex] = byteIndex;
|
||||
} else if (index == 6 || index == 5) {
|
||||
byteIndex += intValues[index];
|
||||
integerIndex++;
|
||||
continue;
|
||||
}
|
||||
|
||||
byteIndex += intValues[index];
|
||||
}
|
||||
}
|
||||
|
||||
byteIndex += 2;
|
||||
int integerIndex2 = createInt(bytes2, byteIndex);
|
||||
int integerIndex3 = integers[integerIndex2];
|
||||
integerIndex3 = createInt(bytes2, integerIndex3);
|
||||
byteIndex = integers[integerIndex3];
|
||||
int intValue = createInt(bytes2, byteIndex);
|
||||
byteIndex += 2;
|
||||
return new String(bytes2, byteIndex, intValue);
|
||||
}
|
||||
|
||||
private static int createInt(byte[] bytes2, int byteIndex) {
|
||||
int intValue = bytes2[byteIndex] & 255;
|
||||
int intValue2 = bytes2[byteIndex + 1] & 255;
|
||||
return (intValue << 8) + intValue2;
|
||||
}
|
||||
|
||||
public static CharSink getCharSink() {
|
||||
return charSink;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
public class ClassLoaderThreadLocal extends ThreadLocal {
|
||||
@Override
|
||||
public Object initialValue() {
|
||||
return new boolean[1];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
public class ClassTransformCallback {
|
||||
public static final byte KIND = 1;
|
||||
public static final byte TAG = 2;
|
||||
public static final byte OPCODE = 4;
|
||||
public static final byte FLAGS = 8;
|
||||
public byte kind;
|
||||
public RedefineClassSpec redefineClassSpec;
|
||||
public LoadedClassEntry loadedClassEntry;
|
||||
public boolean enabled;
|
||||
public byte[] bytes;
|
||||
|
||||
public ClassTransformCallback(
|
||||
RedefineClassSpec redefineClassSpec2,
|
||||
LoadedClassEntry loadedClassEntry2,
|
||||
boolean enabled2,
|
||||
RedefineClassSpec redefineClassSpec3,
|
||||
byte[] bytes2,
|
||||
RedefineClassSpec redefineClassSpec4) {
|
||||
this.redefineClassSpec = redefineClassSpec2;
|
||||
this.loadedClassEntry = loadedClassEntry2;
|
||||
this.enabled = enabled2;
|
||||
this.bytes = bytes2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.ClientConfig;
|
||||
import com.doomsdayclient.jvm.HotSpotVmStructs;
|
||||
import com.doomsdayclient.jvm.classfile.AnnotationAttributeWriter;
|
||||
import com.doomsdayclient.jvm.classfile.MethodResetAction;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.text.ProtectedStringBuilder;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
import com.doomsdayclient.util.collections.CollectionPredicate;
|
||||
import com.doomsdayclient.util.memory.UnsafeMemory;
|
||||
import com.doomsdayclient.util.thread.ClientWorkerThread;
|
||||
|
||||
public final class DirectClassRedefiner extends ClientWorkerThread {
|
||||
private final ClassLoaderHookInstaller classLoaderHookInstaller;
|
||||
private final String string;
|
||||
private final ClassLoader classLoader;
|
||||
private final byte[] bytes;
|
||||
private final CollectionPredicate collectionPredicate;
|
||||
private final byte[] bytes2;
|
||||
|
||||
public DirectClassRedefiner(
|
||||
ClassLoaderHookInstaller classLoaderHookInstaller2,
|
||||
String string2,
|
||||
ClassLoader classLoader2,
|
||||
byte[] bytes3,
|
||||
CollectionPredicate collectionPredicate2,
|
||||
byte[] bytes22) {
|
||||
super();
|
||||
this.classLoaderHookInstaller = classLoaderHookInstaller2;
|
||||
this.string = string2;
|
||||
this.classLoader = classLoader2;
|
||||
this.bytes = bytes3;
|
||||
this.collectionPredicate = collectionPredicate2;
|
||||
this.bytes2 = bytes22;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void execute() {
|
||||
synchronized (ClassLoaderHookInstaller.getCharSink()) {
|
||||
this.classLoaderHookInstaller.active = true;
|
||||
ProtectedStringBuilder builder;
|
||||
(builder = new ProtectedStringBuilder(StringTable.STR_DIRECT)).appendString(this.string);
|
||||
builder.appendProtectedCharSeque(StringTable.STR_COLON_SPACE);
|
||||
|
||||
try {
|
||||
Class type = this.classLoader.loadClass(this.string.replace('/', '.'));
|
||||
this.classLoaderHookInstaller.fastHashMap.createObject(type, this.bytes);
|
||||
HotSpotVmStructs hotSpotVmStructs;
|
||||
if (this.classLoaderHookInstaller.enabled
|
||||
&& ClientConfig.cached
|
||||
&& (hotSpotVmStructs = this.classLoaderHookInstaller.doomsDay.getHotSpotVmStructs())
|
||||
!= null
|
||||
&& this.classLoaderHookInstaller.doomsDay.getInt(type) > 0) {
|
||||
MethodResetAction methodResetAction;
|
||||
AnnotationAttributeWriter annotationAttribut;
|
||||
if ((methodResetAction =
|
||||
(annotationAttribut =
|
||||
hotSpotVmStructs.getClassFileReconstru(type).getAnnotationAttribut())
|
||||
.readMethodResetAction())
|
||||
!= null) {
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_RESET_CACHED_FOR)
|
||||
.withObject(annotationAttribut.readClassDumpWriter()));
|
||||
annotationAttribut.tick();
|
||||
methodResetAction.readValue();
|
||||
}
|
||||
|
||||
if (annotationAttribut.readAnnotationAttribut() != null) {
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_RESET_PREVIOUS_FOR)
|
||||
.withObject(annotationAttribut.readClassDumpWriter()));
|
||||
annotationAttribut.execute();
|
||||
}
|
||||
}
|
||||
|
||||
int intValue =
|
||||
this.classLoaderHookInstaller.doomsDay.nativeBridge.computeInt(
|
||||
new Object[] {type}, new Object[] {this.bytes});
|
||||
builder.appendInt(intValue);
|
||||
ClientLog.setProtectedCharSeque(builder);
|
||||
this.classLoaderHookInstaller.fastHashMap.findObject(type);
|
||||
} catch (Throwable exception) {
|
||||
this.classLoaderHookInstaller.compactArrayList.matchesObject(this.collectionPredicate);
|
||||
ClientLog.setProtectedCharSeque(builder);
|
||||
ClientLog.applyThrowable(exception);
|
||||
}
|
||||
|
||||
UnsafeMemory.setByteArray(this.bytes2);
|
||||
UnsafeMemory.setByteArray(this.bytes);
|
||||
this.classLoaderHookInstaller.active = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.jvm.HotSpotVmStructs;
|
||||
import com.doomsdayclient.jvm.classfile.AnnotationAttributeWriter;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.text.ProtectedStringBuilder;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
import com.doomsdayclient.util.collections.CollectionPredicate;
|
||||
import com.doomsdayclient.util.collections.FastHashMap;
|
||||
import com.doomsdayclient.util.collections.FastHashSet;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.util.Iterator;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipOutputStream;
|
||||
|
||||
public class JarClassDumper extends AbstractClassDumper {
|
||||
public HotSpotVmStructs hotSpotVmStructs;
|
||||
|
||||
@Override
|
||||
public void setObject(Object hotSpotVmStructs2) {
|
||||
this.hotSpotVmStructs = (HotSpotVmStructs) hotSpotVmStructs2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setProtectedString(ProtectedString protectedString) {
|
||||
File file;
|
||||
(file = new File(protectedString.readString())).mkdirs();
|
||||
Object[] arguments = (Object[]) this.hotSpotVmStructs.getObject();
|
||||
FastHashMap fastHashMap = new FastHashMap();
|
||||
FastHashMap fastHashMap2 = new FastHashMap();
|
||||
FastHashMap fastHashMap3 = new FastHashMap();
|
||||
FastHashSet fastHashSet = new FastHashSet();
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_DUMP_CLASSES).appendInt(arguments.length));
|
||||
FastHashSet fastHashSet2 = new FastHashSet();
|
||||
|
||||
for (int argumentIndex = 0; argumentIndex < arguments.length; argumentIndex++) {
|
||||
Class type;
|
||||
if (!(type = (Class) arguments[argumentIndex]).isArray()) {
|
||||
AnnotationAttributeWriter annotationAttributeWriter =
|
||||
new AnnotationAttributeWriter(type, this.hotSpotVmStructs);
|
||||
ClientLog.applyProtectedStringBui(
|
||||
new ProtectedStringBuilder(StringTable.STR_DUMP).appendString(type.getName()));
|
||||
byte[] bytes = annotationAttributeWriter.readByteArray();
|
||||
ClassLoader classLoader =
|
||||
(ClassLoader) annotationAttributeWriter.readJarEntryClassSourc().readObject();
|
||||
String loaderName = (String) fastHashMap3.getObject(classLoader);
|
||||
String text;
|
||||
if (classLoader != null) {
|
||||
if ((text = (String) fastHashMap3.getObject(classLoader)) == null) {
|
||||
loaderName = classLoader.getClass().getName();
|
||||
String text2 = loaderName.substring(loaderName.lastIndexOf(46) + 1);
|
||||
text2 = text2 + '@';
|
||||
String text3;
|
||||
text = text3 = text2 + classLoader.hashCode();
|
||||
|
||||
while (fastHashSet.matchesObject(text)) {
|
||||
text = text3 = text3 + "_0";
|
||||
}
|
||||
|
||||
fastHashMap3.createObject(classLoader, text);
|
||||
fastHashSet.supportsObject(text);
|
||||
}
|
||||
} else {
|
||||
text = "bootstrap";
|
||||
}
|
||||
|
||||
try {
|
||||
ZipOutputStream zipOutputStream;
|
||||
if ((zipOutputStream = (ZipOutputStream) fastHashMap.getObject(text)) == null) {
|
||||
ByteArrayOutputStream output = new ByteArrayOutputStream();
|
||||
zipOutputStream = new ZipOutputStream(output);
|
||||
fastHashMap.createObject(text, zipOutputStream);
|
||||
fastHashMap2.createObject(text, output);
|
||||
}
|
||||
|
||||
String text4;
|
||||
String text5 =
|
||||
text4 = text + '/' + annotationAttributeWriter.readClassDumpWriter().toString();
|
||||
|
||||
for (int index = 0; fastHashSet2.matchesObject(text5 + ".class"); index++) {
|
||||
text5 = text4 + '_' + index;
|
||||
}
|
||||
|
||||
String text6 = text5 + ".class";
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_SYMBOL_5B1).appendString(text6));
|
||||
fastHashSet2.supportsObject(text6);
|
||||
ZipEntry zipEntry = new ZipEntry(text6);
|
||||
zipOutputStream.putNextEntry(zipEntry);
|
||||
zipOutputStream.write(bytes);
|
||||
zipOutputStream.closeEntry();
|
||||
} catch (Exception exception) {
|
||||
exception.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
Iterator iterator = fastHashMap.iterator();
|
||||
|
||||
while (iterator.hasNext()) {
|
||||
((ZipOutputStream) ((CollectionPredicate) iterator.next()).object2).close();
|
||||
}
|
||||
|
||||
for (CollectionPredicate collectionPredicate : fastHashMap2) {
|
||||
try {
|
||||
File file2;
|
||||
(file2 =
|
||||
new File(
|
||||
file,
|
||||
((String) collectionPredicate.object).replace('/', '_').replace('\\', '_')
|
||||
+ ".jar"))
|
||||
.getParentFile()
|
||||
.mkdirs();
|
||||
FileOutputStream fileOutputStream = new FileOutputStream(file2);
|
||||
((ByteArrayOutputStream) collectionPredicate.object2).writeTo(fileOutputStream);
|
||||
fileOutputStream.close();
|
||||
} catch (Throwable exception2) {
|
||||
ClientLog.applyThrowable(exception2);
|
||||
}
|
||||
}
|
||||
} catch (Throwable exception3) {
|
||||
ClientLog.applyThrowable(exception3);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void applyProtectedString(ProtectedString text) {
|
||||
Object[] arguments = (Object[]) this.hotSpotVmStructs.getObject();
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_DUMP_CLASSES).appendInt(arguments.length));
|
||||
|
||||
for (int argumentIndex = 0; argumentIndex < arguments.length; argumentIndex++) {
|
||||
Class type;
|
||||
if (!(type = (Class) arguments[argumentIndex]).isArray()
|
||||
&& !type.getName().startsWith("java")) {
|
||||
ClientLog.applyProtectedStringBui(
|
||||
new ProtectedStringBuilder(StringTable.STR_DUMP)
|
||||
.appendString(type.getName())
|
||||
.appendChar('\n'));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.BootstrapContext;
|
||||
import com.doomsdayclient.ClientState;
|
||||
import com.doomsdayclient.DoomsDay;
|
||||
import com.doomsdayclient.hook.processor.ClassProcessor;
|
||||
import com.doomsdayclient.jvm.ClassReflectionUtil;
|
||||
import com.doomsdayclient.lib.asm.ClassReader;
|
||||
import com.doomsdayclient.lifecycle.FabricModDetector;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.text.ProtectedStringBuilder;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
import com.doomsdayclient.util.collections.FastArrayList;
|
||||
import com.doomsdayclient.util.memory.UnsafeMemory;
|
||||
import java.lang.instrument.ClassFileTransformer;
|
||||
import java.security.ProtectionDomain;
|
||||
|
||||
public class JvmtiTransformerAdapter implements ClassFileTransformer {
|
||||
private ClientState clientState;
|
||||
private BootstrapContext bootstrapContext;
|
||||
private DoomsDay doomsDay;
|
||||
private boolean enabled = true;
|
||||
private BytecodePatchBuffer bytecodePatchBuffer;
|
||||
|
||||
public JvmtiTransformerAdapter(DoomsDay doomsDay2) {
|
||||
this.doomsDay = doomsDay2;
|
||||
this.bootstrapContext = doomsDay2.bootstrapContext;
|
||||
this.clientState = doomsDay2.clientState;
|
||||
this.bytecodePatchBuffer = new BytecodePatchBuffer();
|
||||
if (doomsDay2.ticks == DoomsDay.count
|
||||
|| doomsDay2.ticks == DoomsDay.size
|
||||
|| doomsDay2.ticks == DoomsDay.index) {
|
||||
this.bytecodePatchBuffer = new BytecodePatchBuffer();
|
||||
DoomsDay.bytecodePatchBuffer = this.bytecodePatchBuffer;
|
||||
}
|
||||
|
||||
AgentClassVisitor agentClassVisitor =
|
||||
AgentClassVisitor.getAgentClassVisitor(
|
||||
new ClassReader(UnsafeMemory.getByteArray(String.class)));
|
||||
this.bootstrapContext.getInt(ClassReflectionUtil.fromAgentClassVisitor(agentClassVisitor));
|
||||
this.bootstrapContext.findInt(ClassReflectionUtil.findFastArrayList(agentClassVisitor));
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized byte[] transform(
|
||||
ClassLoader classLoader,
|
||||
String string,
|
||||
Class type,
|
||||
ProtectionDomain protectionDomain,
|
||||
byte[] bytes) {
|
||||
try {
|
||||
if (classLoader == this.doomsDay.getClass().getClassLoader()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
AgentClassVisitor agentClassVisitor;
|
||||
string =
|
||||
(agentClassVisitor = AgentClassVisitor.getAgentClassVisitor(new ClassReader(bytes)))
|
||||
.string;
|
||||
if (this.bytecodePatchBuffer != null) {
|
||||
this.bytecodePatchBuffer.applyString(
|
||||
agentClassVisitor.string, agentClassVisitor.string2, agentClassVisitor.strings);
|
||||
}
|
||||
|
||||
this.bootstrapContext.setString(string);
|
||||
FastArrayList fastArrayList = ClassReflectionUtil.getFastArrayList(agentClassVisitor);
|
||||
if (!this.bootstrapContext.matchesFastArrayList(fastArrayList)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
FabricModDetector fabricModDetector;
|
||||
if ((fabricModDetector = this.bootstrapContext.createFabricModDetector(fastArrayList, string))
|
||||
.active) {
|
||||
DoomsDay.buildLong();
|
||||
int intValue =
|
||||
this.bootstrapContext.getInt(
|
||||
ClassReflectionUtil.fromAgentClassVisitor(agentClassVisitor));
|
||||
int intValue2 =
|
||||
this.bootstrapContext.findInt(ClassReflectionUtil.findFastArrayList(agentClassVisitor));
|
||||
DoomsDay.buildLong();
|
||||
if (fabricModDetector.enabled) {
|
||||
if (ClientState.staticMember) {
|
||||
;
|
||||
}
|
||||
|
||||
if (this.clientState.classLoader == null) {
|
||||
this.clientState.classLoader = classLoader;
|
||||
this.doomsDay.applyClassLoader(classLoader, string);
|
||||
} else if (this.clientState.classLoader != classLoader) {
|
||||
this.clientState.active = true;
|
||||
ClientLog.onProtectedCharSeque(StringTable.STR_WTF_DIFFERENT_MINECRAFT_LOADER_CLA);
|
||||
ClientLog.onProtectedCharSeque(
|
||||
new ProtectedStringBuilder()
|
||||
.withObject(this.clientState.classLoader)
|
||||
.appendProtectedCharSeque(StringTable.STR_SPACE)
|
||||
.withObject(classLoader));
|
||||
}
|
||||
}
|
||||
|
||||
ClassProcessor classProcessor = this.doomsDay.classProcessor;
|
||||
if ((this.doomsDay.classProcessor == null || !classProcessor.isEnabled())
|
||||
&& (fabricModDetector.visible || intValue > 0 || intValue2 > 0)) {
|
||||
this.bootstrapContext.update();
|
||||
}
|
||||
}
|
||||
|
||||
if (this.doomsDay.transformerRegistry != null) {
|
||||
boolean enabled2 = this.enabled;
|
||||
return this.doomsDay.transformerRegistry.createByteArray(string, bytes, enabled2);
|
||||
}
|
||||
} catch (Throwable exception) {
|
||||
ClientLog.applyThrowable(exception);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object enabled2) {
|
||||
if (enabled2 != null && enabled2.getClass() == Boolean.class) {
|
||||
this.enabled = (Boolean) enabled2;
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.util.memory.UnsafeMemory;
|
||||
|
||||
public class LoadedClassEntry {
|
||||
public ProtectedString protectedString;
|
||||
public ProtectedString protectedString2;
|
||||
|
||||
public LoadedClassEntry(Object arguments) {
|
||||
Object[] arguments2;
|
||||
byte[] bytes = (byte[]) (arguments2 = (Object[]) arguments)[0];
|
||||
byte[] bytes2 = (byte[]) arguments2[1];
|
||||
this.protectedString = UnsafeMemory.getProtectedString(bytes);
|
||||
this.protectedString2 = UnsafeMemory.getProtectedString(bytes2);
|
||||
UnsafeMemory.setByteArray(bytes);
|
||||
UnsafeMemory.setByteArray(bytes2);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.doomsdayclient.agent;
|
||||
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.util.memory.UnsafeMemory;
|
||||
|
||||
public class RedefineClassSpec {
|
||||
public ProtectedString protectedString;
|
||||
public ProtectedString protectedString2;
|
||||
public ProtectedString protectedString3;
|
||||
|
||||
public RedefineClassSpec(Object arguments) {
|
||||
Object[] arguments2;
|
||||
byte[] bytes = (byte[]) (arguments2 = (Object[]) arguments)[0];
|
||||
byte[] bytes2 = (byte[]) arguments2[1];
|
||||
byte[] bytes3 = (byte[]) arguments2[2];
|
||||
this.protectedString = UnsafeMemory.getProtectedString(bytes);
|
||||
this.protectedString2 = UnsafeMemory.getProtectedString(bytes2);
|
||||
this.protectedString3 = UnsafeMemory.getProtectedString(bytes3);
|
||||
UnsafeMemory.setByteArray(bytes);
|
||||
UnsafeMemory.setByteArray(bytes2);
|
||||
UnsafeMemory.setByteArray(bytes3);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.protectedString3.readString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.doomsdayclient.bridge;
|
||||
|
||||
import com.doomsdayclient.cloud.CloudInboundPacket;
|
||||
import com.doomsdayclient.cloud.CloudResponseHandler;
|
||||
import com.doomsdayclient.cloud.packet.ConfigListPacket;
|
||||
|
||||
public final class AsyncFlagSpec extends CloudResponseHandler {
|
||||
private final BridgeMemorySyncTask bridgeMemorySyncTask;
|
||||
|
||||
public AsyncFlagSpec(BridgeMemorySyncTask bridgeMemorySyncTask2) {
|
||||
super();
|
||||
this.bridgeMemorySyncTask = bridgeMemorySyncTask2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void applyCloudInboundPacket(CloudInboundPacket configListPacket, Object value) {
|
||||
if (configListPacket instanceof ConfigListPacket) {
|
||||
ConfigListPacket configListPacket2 = (ConfigListPacket) configListPacket;
|
||||
BridgeMemorySyncTask.getDoomsDay(this.bridgeMemorySyncTask).ints2 = configListPacket2.ints;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public final int getInt() {
|
||||
return 10000;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.doomsdayclient.bridge;
|
||||
|
||||
import com.doomsdayclient.util.collections.PooledListThreadLocal;
|
||||
|
||||
public final class BridgeLockObject extends PooledListThreadLocal {
|
||||
private int index;
|
||||
private int count;
|
||||
|
||||
public BridgeLockObject(int index2, int count2) {
|
||||
this.index = index2;
|
||||
this.count = count2;
|
||||
this.remove();
|
||||
}
|
||||
|
||||
public final Object[] getObjectArray() {
|
||||
Object[] objectArray;
|
||||
if ((objectArray = (Object[]) super.get())[0] == null) {
|
||||
objectArray[0] = new long[] {this.count};
|
||||
} else {
|
||||
((long[]) objectArray[0])[0] = this.count;
|
||||
}
|
||||
|
||||
return objectArray;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object[] getObject() {
|
||||
return new Object[this.index];
|
||||
}
|
||||
|
||||
@Override
|
||||
public final Object get() {
|
||||
return this.getObjectArray();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
package com.doomsdayclient.bridge;
|
||||
|
||||
import com.doomsdayclient.ClientConfig;
|
||||
import com.doomsdayclient.DoomsDay;
|
||||
import com.doomsdayclient.cloud.CloudClient;
|
||||
import com.doomsdayclient.cloud.packet.MemorySyncDataPacket;
|
||||
import com.doomsdayclient.cloud.packet.MemorySyncEndPacket;
|
||||
import com.doomsdayclient.cloud.packet.MemorySyncStartPacket;
|
||||
import com.doomsdayclient.jvm.ClientDiagnosticsRunner;
|
||||
import com.doomsdayclient.jvm.HotSpotVmStructs;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.platform.WindowsEnvironmentKeys;
|
||||
import com.doomsdayclient.text.HexCodec;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.text.ProtectedStringBuilder;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
import com.doomsdayclient.util.collections.FastArrayList;
|
||||
import com.doomsdayclient.util.memory.UnsafeMemory;
|
||||
import com.doomsdayclient.util.thread.BridgeWorkerTask;
|
||||
|
||||
public final class BridgeMemorySyncTask extends BridgeWorkerTask {
|
||||
private DoomsDay doomsDay;
|
||||
|
||||
public BridgeMemorySyncTask(DoomsDay doomsDay2) {
|
||||
this.doomsDay = doomsDay2;
|
||||
this.execute2();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void execute() {
|
||||
ClientDiagnosticsRunner.clientDiagnosticsRunner.reset4();
|
||||
NativeBridge nativeBridge = this.doomsDay.nativeBridge;
|
||||
this.doomsDay.nativeBridge.sleep(100L);
|
||||
if (this.doomsDay.isValid()) {
|
||||
ClientDiagnosticsRunner.clientDiagnosticsRunner.applyInt(
|
||||
this.doomsDay.color, this.doomsDay.width);
|
||||
CloudClient cloudClient = this.doomsDay.cloudClient;
|
||||
ClientConfig clientConfig = this.doomsDay.clientConfig;
|
||||
long address = this.doomsDay.address;
|
||||
FastArrayList fastArrayList = new FastArrayList();
|
||||
if (WindowsEnvironmentKeys.isSupported()) {
|
||||
cloudClient.applyCloudPacketEncoder(
|
||||
new MemorySyncStartPacket(cloudClient),
|
||||
new RenderFlagSpec(this, clientConfig, address, nativeBridge));
|
||||
nativeBridge.sleep(2000L);
|
||||
cloudClient.applyCloudPacketEncoder(
|
||||
new MemorySyncDataPacket(cloudClient), new KeyboardFlagSpec(this));
|
||||
}
|
||||
|
||||
cloudClient.updateCloudPacketEncoder(
|
||||
new MemorySyncEndPacket(cloudClient), new AsyncFlagSpec(this));
|
||||
nativeBridge.sleep(1000L);
|
||||
int intValue = 0;
|
||||
|
||||
try {
|
||||
if (WindowsEnvironmentKeys.isSupported() && this.doomsDay.protectedStrings != null) {
|
||||
for (int protectedStringIndex = 0;
|
||||
protectedStringIndex < this.doomsDay.protectedStrings.length;
|
||||
protectedStringIndex++) {
|
||||
ProtectedString text;
|
||||
if ((text = this.doomsDay.protectedStrings[protectedStringIndex])
|
||||
.supportsProtectedString(StringTable.STR_SYMBOL_468)) {
|
||||
intValue = HexCodec.getInt(text.withInt(2));
|
||||
}
|
||||
|
||||
if (text.getInt() <= 0 || text.getChar(0) != '#' && text.getChar(0) != '/') {
|
||||
try {
|
||||
int count = 0;
|
||||
byte[] byteValues = new byte[text.getInt() / 2];
|
||||
|
||||
for (int index = 0; index < text.getInt(); index += 2) {
|
||||
byteValues[count++] = HexCodec.createByte(text, index, index + 2);
|
||||
}
|
||||
|
||||
fastArrayList.matchesObject(byteValues);
|
||||
} catch (Throwable exception) {
|
||||
ClientLog.applyThrowable(exception);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Throwable exception2) {
|
||||
ClientLog.applyThrowable(exception2);
|
||||
}
|
||||
|
||||
nativeBridge.sleep(13000L);
|
||||
int[] ints2 = this.doomsDay.ints2;
|
||||
if (this.doomsDay.ints2 != null) {
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_CCC).appendInt(ints2.length));
|
||||
ClientDiagnosticsRunner.clientDiagnosticsRunner.setIntArray(ints2);
|
||||
ClientLog.setProtectedCharSeque(StringTable.STR_CCC_DONE);
|
||||
UnsafeMemory.setIntArray(ints2);
|
||||
}
|
||||
|
||||
if (WindowsEnvironmentKeys.isSupported()) {
|
||||
nativeBridge.sleep(5000L);
|
||||
if (fastArrayList.getIndex() > 0 && this.doomsDay.getHotSpotVmStructs() != null) {
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_JJJ).appendInt(fastArrayList.getIndex()));
|
||||
HotSpotVmStructs hotSpotVmStructs;
|
||||
HotSpotVmStructs hotSpotVmStructs3 =
|
||||
hotSpotVmStructs = this.doomsDay.getHotSpotVmStructs();
|
||||
FastArrayList fastArrayList2 = fastArrayList;
|
||||
|
||||
byte[] bytes = hotSpotVmStructs3.readByteArray();
|
||||
long id = hotSpotVmStructs3.getId();
|
||||
int count2 = 0;
|
||||
|
||||
for (int index2 = 0; index2 < fastArrayList2.getIndex(); index2++) {
|
||||
byte[] target = (byte[]) fastArrayList2.getObject(index2);
|
||||
int intValue2;
|
||||
if ((intValue2 = UnsafeMemory.createInt(bytes, target)) >= 0) {
|
||||
for (int targetIndex = 0; targetIndex < target.length; targetIndex++) {
|
||||
bytes[intValue2 + targetIndex] = 0;
|
||||
hotSpotVmStructs3.writeLong(id + intValue2 + targetIndex, (byte) 0);
|
||||
}
|
||||
|
||||
count2++;
|
||||
}
|
||||
}
|
||||
|
||||
if (intValue != 0
|
||||
&& WindowsEnvironmentKeys.isSupported()
|
||||
&& WindowsEnvironmentKeys.isReady()) {
|
||||
if ((count2 = hotSpotVmStructs.findInt(this.doomsDay.nativeBridge.readLong())) == 0) {
|
||||
nativeBridge.sleep(3000L);
|
||||
count2 = hotSpotVmStructs.findInt(this.doomsDay.nativeBridge.readLong());
|
||||
}
|
||||
|
||||
if (count2 > 0) {
|
||||
long id2 = hotSpotVmStructs.getId();
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_IG)
|
||||
.withLong(id2)
|
||||
.appendProtectedCharSeque(StringTable.STR_SYMBOL_7F46)
|
||||
.appendInt(count2));
|
||||
if (id2 != 0L) {
|
||||
long sum = id2 + count2 + intValue;
|
||||
byte byteValue = HotSpotVmStructs.UNSAFE.getByte(sum);
|
||||
hotSpotVmStructs.writeLong(id2 + count2 + intValue, (byte) 0);
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_GI)
|
||||
.appendInt(byteValue)
|
||||
.appendProtectedCharSeque(StringTable.STR_0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_JJJ_DONE).appendInt(count2));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static DoomsDay getDoomsDay(BridgeMemorySyncTask bridgeMemorySyncTask) {
|
||||
return bridgeMemorySyncTask.doomsDay;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.doomsdayclient.bridge;
|
||||
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.text.ProtectedStringBuilder;
|
||||
|
||||
public interface CallMarker {
|
||||
ProtectedString getProtectedString();
|
||||
|
||||
void setProtectedStringBui(ProtectedStringBuilder protectedStringBui);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package com.doomsdayclient.bridge;
|
||||
|
||||
public class EventMarker {}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.doomsdayclient.bridge;
|
||||
|
||||
import com.doomsdayclient.cloud.CloudInboundPacket;
|
||||
import com.doomsdayclient.cloud.CloudResponseHandler;
|
||||
import com.doomsdayclient.cloud.packet.ModuleEntitlementPacket;
|
||||
|
||||
public final class KeyboardFlagSpec extends CloudResponseHandler {
|
||||
private final BridgeMemorySyncTask bridgeMemorySyncTask;
|
||||
|
||||
public KeyboardFlagSpec(BridgeMemorySyncTask bridgeMemorySyncTask2) {
|
||||
super();
|
||||
this.bridgeMemorySyncTask = bridgeMemorySyncTask2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void applyCloudInboundPacket(
|
||||
CloudInboundPacket moduleEntitlementPacket, Object value) {
|
||||
if (moduleEntitlementPacket instanceof ModuleEntitlementPacket) {
|
||||
ModuleEntitlementPacket moduleEntitlementPacket2 =
|
||||
(ModuleEntitlementPacket) moduleEntitlementPacket;
|
||||
BridgeMemorySyncTask.getDoomsDay(this.bridgeMemorySyncTask).protectedStrings =
|
||||
moduleEntitlementPacket2.protectedStrings;
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,160 @@
|
||||
package com.doomsdayclient.bridge;
|
||||
|
||||
import com.doomsdayclient.exception.ClientNoSuchElementException;
|
||||
|
||||
public final class NativeBridgeCharCodec {
|
||||
private int index;
|
||||
private int count;
|
||||
private int size;
|
||||
private String string;
|
||||
private String string2;
|
||||
private boolean enabled;
|
||||
private boolean active;
|
||||
private int length;
|
||||
private boolean visible = false;
|
||||
private int[] ints;
|
||||
|
||||
private NativeBridgeCharCodec(String string3, String string22) {
|
||||
this.index = 0;
|
||||
this.count = -1;
|
||||
this.active = false;
|
||||
this.string = string3;
|
||||
this.size = string3.length();
|
||||
this.string2 = string22;
|
||||
this.enabled = false;
|
||||
NativeBridgeCharCodec nativeBridgeCharCodec = this;
|
||||
if (this.string2 == null) {
|
||||
this.length = 0;
|
||||
} else {
|
||||
int length2 = 0;
|
||||
int length3 = 0;
|
||||
int string2Index = 0;
|
||||
|
||||
while (string2Index < nativeBridgeCharCodec.string2.length()) {
|
||||
int intValue;
|
||||
if ((intValue = nativeBridgeCharCodec.string2.charAt(string2Index)) >= 55296
|
||||
&& intValue <= 57343) {
|
||||
intValue = nativeBridgeCharCodec.string2.codePointAt(string2Index);
|
||||
nativeBridgeCharCodec.visible = true;
|
||||
}
|
||||
|
||||
if (length2 < intValue) {
|
||||
length2 = intValue;
|
||||
}
|
||||
|
||||
length3++;
|
||||
string2Index += Character.charCount(intValue);
|
||||
}
|
||||
|
||||
nativeBridgeCharCodec.length = length2;
|
||||
if (nativeBridgeCharCodec.visible) {
|
||||
nativeBridgeCharCodec.ints = new int[length3];
|
||||
string2Index = 0;
|
||||
int total = 0;
|
||||
|
||||
while (string2Index < length3) {
|
||||
int intValue2 = nativeBridgeCharCodec.string2.codePointAt(total);
|
||||
nativeBridgeCharCodec.ints[string2Index] = intValue2;
|
||||
string2Index++;
|
||||
total += Character.charCount(intValue2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public NativeBridgeCharCodec(String input) {
|
||||
this(input, " \t\n\r\f");
|
||||
}
|
||||
|
||||
private int getInt(int total) {
|
||||
if (this.string2 == null) {
|
||||
throw new NullPointerException();
|
||||
} else {
|
||||
while (total < this.size) {
|
||||
if (!this.visible) {
|
||||
char character;
|
||||
if ((character = this.string.charAt(total)) > this.length
|
||||
|| this.string2.indexOf(character) < 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
total++;
|
||||
} else {
|
||||
int intValue;
|
||||
if ((intValue = this.string.codePointAt(total)) > this.length
|
||||
|| !this.matchesInt(intValue)) {
|
||||
break;
|
||||
}
|
||||
|
||||
total += Character.charCount(intValue);
|
||||
}
|
||||
}
|
||||
|
||||
return total;
|
||||
}
|
||||
}
|
||||
|
||||
private int findInt(int total) {
|
||||
while (total < this.size) {
|
||||
if (!this.visible) {
|
||||
char character;
|
||||
if ((character = this.string.charAt(total)) > this.length
|
||||
|| this.string2.indexOf(character) < 0) {
|
||||
total++;
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
int intValue;
|
||||
if ((intValue = this.string.codePointAt(total)) > this.length
|
||||
|| !this.matchesInt(intValue)) {
|
||||
total += Character.charCount(intValue);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return total;
|
||||
}
|
||||
|
||||
private boolean matchesInt(int intValue) {
|
||||
for (int intIndex = 0; intIndex < this.ints.length; intIndex++) {
|
||||
if (this.ints[intIndex] == intValue) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public final boolean isActive() {
|
||||
this.count = this.getInt(this.index);
|
||||
return (this.count < this.size);
|
||||
}
|
||||
|
||||
public final String getString() {
|
||||
this.index = this.count >= 0 ? this.count : this.getInt(this.index);
|
||||
this.active = false;
|
||||
this.count = -1;
|
||||
if (this.index >= this.size) {
|
||||
throw new ClientNoSuchElementException();
|
||||
} else {
|
||||
int index2 = this.index;
|
||||
this.index = this.findInt(this.index);
|
||||
return this.string.substring(index2, this.index);
|
||||
}
|
||||
}
|
||||
|
||||
public final int getInt() {
|
||||
int count2 = 0;
|
||||
|
||||
int index2;
|
||||
for (index2 = this.index;
|
||||
index2 < this.size && (index2 = this.getInt(index2)) < this.size;
|
||||
count2++) {
|
||||
index2 = this.findInt(index2);
|
||||
}
|
||||
|
||||
return count2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,940 @@
|
||||
package com.doomsdayclient.bridge;
|
||||
|
||||
import com.doomsdayclient.DoomsDay;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.lang.management.ManagementFactory;
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Executable;
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Method;
|
||||
import java.net.DatagramPacket;
|
||||
import java.net.DatagramSocket;
|
||||
import java.net.InetAddress;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.Socket;
|
||||
import java.net.UnknownHostException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
import sun.misc.Unsafe;
|
||||
|
||||
/**
|
||||
* Pure-Java replacement for the legacy native bridge syscall dispatcher (opcodes 0-225). Eliminates
|
||||
* all JNI native methods while preserving JVM memory, reflection, socket, platform, and
|
||||
* class-loading operations in standard Java.
|
||||
*/
|
||||
public final class NativeBridgeDispatcher {
|
||||
|
||||
private static final Unsafe UNSAFE = acquireUnsafe();
|
||||
|
||||
private static final AtomicLong NEXT_MEMBER_ID = new AtomicLong(1L);
|
||||
private static final ConcurrentHashMap<Long, Field> FIELD_TABLE = new ConcurrentHashMap<>();
|
||||
private static final ConcurrentHashMap<Field, Long> FIELD_IDS = new ConcurrentHashMap<>();
|
||||
private static final ConcurrentHashMap<Long, Executable> EXEC_TABLE = new ConcurrentHashMap<>();
|
||||
private static final ConcurrentHashMap<Executable, Long> EXEC_IDS = new ConcurrentHashMap<>();
|
||||
|
||||
private static final AtomicInteger NEXT_FD = new AtomicInteger(100);
|
||||
private static final ConcurrentHashMap<Integer, Object> SOCKET_TABLE = new ConcurrentHashMap<>();
|
||||
private static final ConcurrentHashMap<Integer, InputStream> FILE_TABLE =
|
||||
new ConcurrentHashMap<>();
|
||||
private static final ConcurrentHashMap<Class<?>, byte[]> REDEFINED_BYTES =
|
||||
new ConcurrentHashMap<>();
|
||||
|
||||
private NativeBridgeDispatcher() {}
|
||||
|
||||
private static Unsafe acquireUnsafe() {
|
||||
try {
|
||||
Field f = Unsafe.class.getDeclaredField("theUnsafe");
|
||||
f.setAccessible(true);
|
||||
return (Unsafe) f.get(null);
|
||||
} catch (ReflectiveOperationException e) {
|
||||
throw new ExceptionInInitializerError(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static Object dispatch(DoomsDay doomsDay, long opcode, Object[] args) {
|
||||
try {
|
||||
return switch ((int) opcode) {
|
||||
case 0,
|
||||
1,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
11,
|
||||
12,
|
||||
15,
|
||||
16,
|
||||
18,
|
||||
19,
|
||||
20,
|
||||
23,
|
||||
24,
|
||||
25,
|
||||
29,
|
||||
41,
|
||||
43,
|
||||
71,
|
||||
77,
|
||||
79,
|
||||
87,
|
||||
97,
|
||||
98,
|
||||
100,
|
||||
101,
|
||||
104,
|
||||
106,
|
||||
107,
|
||||
125,
|
||||
126,
|
||||
137,
|
||||
139,
|
||||
140,
|
||||
143,
|
||||
191,
|
||||
197,
|
||||
218,
|
||||
219 -> {
|
||||
setStatus(args, 0L);
|
||||
yield null;
|
||||
}
|
||||
case 13 -> null;
|
||||
case 14 -> readClassBytes(args);
|
||||
case 21 -> new Class<?>[0];
|
||||
case 40 -> writeNativeByte(args);
|
||||
case 68 -> allocateNativeMemory(args);
|
||||
case 69 -> freeNativeMemory(args);
|
||||
case 110 -> openReadOnlyFile(args);
|
||||
case 127 -> openSocket(args);
|
||||
case 128 -> closeSocket(args);
|
||||
case 129 -> socketSend(args);
|
||||
case 130 -> socketRecv(args);
|
||||
case 131 -> socketSetTimeout(args);
|
||||
case 132 -> null;
|
||||
case 133 -> listProcesses(args);
|
||||
case 134 -> processCommandLine(args);
|
||||
case 138 -> copyWholeByteArrayToNative(args);
|
||||
case 141 -> null;
|
||||
case 142 -> readOpenFile(args);
|
||||
case 144 -> currentPid(args);
|
||||
case 151 -> classSignature(args);
|
||||
case 152 -> declaredFieldIds(args);
|
||||
case 153 -> declaredMethodIds(args);
|
||||
case 155 -> fieldMetaBytes(args);
|
||||
case 156 -> methodMetaBytes(args);
|
||||
case 157 -> classStatus(args);
|
||||
case 158 -> currentProcessHandle(args);
|
||||
case 159 -> launchProcess(args);
|
||||
case 160 -> processorCount(args);
|
||||
case 161 -> hostName();
|
||||
case 162 -> getFieldId(args);
|
||||
case 163 -> getMethodId(args);
|
||||
case 164 -> setObjectField(args);
|
||||
case 165 -> getObjectField(args);
|
||||
case 166 -> setLongField(args);
|
||||
case 167 -> getLongField(args);
|
||||
case 168 -> setIntField(args);
|
||||
case 169 -> getIntField(args);
|
||||
case 170 -> setShortField(args);
|
||||
case 171 -> getShortField(args);
|
||||
case 172 -> setByteField(args);
|
||||
case 173 -> getByteField(args);
|
||||
case 174 -> setBooleanField(args);
|
||||
case 175 -> getBooleanField(args);
|
||||
case 176 -> setCharField(args);
|
||||
case 177 -> getCharField(args);
|
||||
case 178 -> setDoubleField(args);
|
||||
case 179 -> getDoubleField(args);
|
||||
case 180 -> setFloatField(args);
|
||||
case 181 -> getFloatField(args);
|
||||
case 182 -> invokeMethod(args);
|
||||
case 183 -> invokeConstructor(args);
|
||||
case 184 -> fieldModifiers(args);
|
||||
case 185 -> methodModifiers(args);
|
||||
case 186 -> allocateInstance(args);
|
||||
case 187 -> invokeSingleArgConstructor(args);
|
||||
case 192 -> copyBytesToNative(args);
|
||||
case 194 -> fillNativeMemory(args);
|
||||
case 198, 202, 210 -> listLoadedClasses(args);
|
||||
case 200 -> null;
|
||||
case 201 -> currentTicks(args);
|
||||
case 203 -> environmentOrProperties(args);
|
||||
case 204 -> mapPut(args);
|
||||
case 205 -> mapRemove(args);
|
||||
case 206 -> mapGet(args);
|
||||
case 207 -> jvmStartTime(args);
|
||||
case 208 -> addShutdownHook(args);
|
||||
case 209 -> removeShutdownHook(args);
|
||||
case 211, 212 -> defineClassCompat(args);
|
||||
case 213 -> clearMatchingNativeStrings(args);
|
||||
case 216, 225 -> new long[] {0L, 0L};
|
||||
case 220 -> openFileOutputStream(args);
|
||||
case 221 -> findClass(args);
|
||||
case 222 -> Boolean.TRUE;
|
||||
default -> {
|
||||
setStatus(args, 0L);
|
||||
yield null;
|
||||
}
|
||||
};
|
||||
} catch (RuntimeException e) {
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException("Pure-Java bridge dispatch failed for opcode " + opcode, e);
|
||||
}
|
||||
}
|
||||
|
||||
private static void setStatus(Object[] args, long value) {
|
||||
if (args != null && args.length > 0 && args[0] instanceof long[] status && status.length > 0) {
|
||||
status[0] = value;
|
||||
}
|
||||
}
|
||||
|
||||
private static long longArg(Object[] args, int idx) {
|
||||
return ((long[]) args[idx])[0];
|
||||
}
|
||||
|
||||
private static String cString(byte[] bytes) {
|
||||
if (bytes == null) return "";
|
||||
int len = bytes.length;
|
||||
while (len > 0 && bytes[len - 1] == 0) {
|
||||
len--;
|
||||
}
|
||||
return new String(bytes, 0, len, StandardCharsets.UTF_8);
|
||||
}
|
||||
|
||||
private static byte[] readClassBytes(Object[] args) {
|
||||
if (args.length < 2 || !(args[1] instanceof Class<?> cls)) return null;
|
||||
byte[] cached = REDEFINED_BYTES.get(cls);
|
||||
if (cached != null) return cached.clone();
|
||||
String res = cls.getName().replace('.', '/') + ".class";
|
||||
ClassLoader cl = cls.getClassLoader();
|
||||
try (InputStream in =
|
||||
cl != null ? cl.getResourceAsStream(res) : ClassLoader.getSystemResourceAsStream(res)) {
|
||||
return in != null ? in.readAllBytes() : null;
|
||||
} catch (IOException e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private static Object writeNativeByte(Object[] args) {
|
||||
UNSAFE.putByte(longArg(args, 1), (byte) longArg(args, 2));
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object allocateNativeMemory(Object[] args) {
|
||||
long size = Math.max(1L, longArg(args, 1));
|
||||
long addr = UNSAFE.allocateMemory(size);
|
||||
UNSAFE.setMemory(addr, size, (byte) 0);
|
||||
setStatus(args, addr);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object freeNativeMemory(Object[] args) {
|
||||
long addr = longArg(args, 1);
|
||||
if (addr != 0L) {
|
||||
UNSAFE.freeMemory(addr);
|
||||
}
|
||||
setStatus(args, 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object copyWholeByteArrayToNative(Object[] args) {
|
||||
long dst = longArg(args, 1);
|
||||
byte[] src = (byte[]) args[2];
|
||||
UNSAFE.copyMemory(src, UNSAFE.arrayBaseOffset(byte[].class), null, dst, src.length);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object copyBytesToNative(Object[] args) {
|
||||
long dst = longArg(args, 1);
|
||||
byte[] src = (byte[]) args[2];
|
||||
int off = (int) longArg(args, 3);
|
||||
int len = (int) longArg(args, 4);
|
||||
if (off < 0 || len < 0 || off > src.length - len) {
|
||||
throw new ArrayIndexOutOfBoundsException();
|
||||
}
|
||||
UNSAFE.copyMemory(src, (long) UNSAFE.arrayBaseOffset(byte[].class) + off, null, dst, len);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object fillNativeMemory(Object[] args) {
|
||||
long dst = longArg(args, 1);
|
||||
byte val = (byte) longArg(args, 2);
|
||||
int len = (int) longArg(args, 3);
|
||||
UNSAFE.setMemory(dst, len, val);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object clearMatchingNativeStrings(Object[] args) {
|
||||
long base = longArg(args, 1);
|
||||
int len = (int) longArg(args, 2);
|
||||
int[] hashes = (int[]) args[3];
|
||||
int runLen = 0;
|
||||
int hash = 0;
|
||||
for (int i = 0; i < len; i++) {
|
||||
byte b = UNSAFE.getByte(base + i);
|
||||
if (b != 0) {
|
||||
hash = hash * 31 + b;
|
||||
runLen++;
|
||||
} else if (runLen != 0) {
|
||||
for (int h : hashes) {
|
||||
if (h == hash) {
|
||||
UNSAFE.setMemory(base + i - runLen, runLen, (byte) 0);
|
||||
}
|
||||
}
|
||||
runLen = 0;
|
||||
hash = 0;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object openReadOnlyFile(Object[] args) {
|
||||
String path = cString((byte[]) args[1]);
|
||||
try {
|
||||
FileInputStream fis = new FileInputStream(path);
|
||||
int fd = NEXT_FD.getAndIncrement();
|
||||
FILE_TABLE.put(fd, fis);
|
||||
setStatus(args, fd);
|
||||
} catch (IOException e) {
|
||||
setStatus(args, -1L);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object readOpenFile(Object[] args) {
|
||||
int fd = (int) longArg(args, 1);
|
||||
byte[] buf = (byte[]) args[2];
|
||||
int off = (int) longArg(args, 3);
|
||||
int len = (int) longArg(args, 4);
|
||||
InputStream in = FILE_TABLE.get(fd);
|
||||
if (in == null) {
|
||||
setStatus(args, 0L);
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
int n = in.read(buf, off, len);
|
||||
if (n <= 0) {
|
||||
FILE_TABLE.remove(fd);
|
||||
in.close();
|
||||
setStatus(args, 0L);
|
||||
} else {
|
||||
setStatus(args, n);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
setStatus(args, 0L);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object openSocket(Object[] args) {
|
||||
byte[] addrBytes = (byte[]) args[1];
|
||||
int port = (int) longArg(args, 2);
|
||||
int type = (int) longArg(args, 3);
|
||||
int timeoutMs = (int) longArg(args, 4);
|
||||
int[] errOut = args.length > 5 && args[5] instanceof int[] a ? a : null;
|
||||
try {
|
||||
InetAddress addr =
|
||||
addrBytes != null && (addrBytes.length == 4 || addrBytes.length == 16)
|
||||
? InetAddress.getByAddress(addrBytes)
|
||||
: InetAddress.getByName(cString(addrBytes));
|
||||
int fd = NEXT_FD.getAndIncrement();
|
||||
if (type == 2) {
|
||||
DatagramSocket ds = new DatagramSocket();
|
||||
ds.connect(new InetSocketAddress(addr, port));
|
||||
if (timeoutMs > 0) ds.setSoTimeout(timeoutMs);
|
||||
SOCKET_TABLE.put(fd, ds);
|
||||
} else {
|
||||
Socket s = new Socket();
|
||||
s.connect(new InetSocketAddress(addr, port), timeoutMs > 0 ? timeoutMs : 5000);
|
||||
SOCKET_TABLE.put(fd, s);
|
||||
}
|
||||
setStatus(args, fd);
|
||||
} catch (IOException e) {
|
||||
if (errOut != null && errOut.length > 0) errOut[0] = -1;
|
||||
setStatus(args, -1L);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object closeSocket(Object[] args) {
|
||||
int fd = (int) longArg(args, 1);
|
||||
Object sock = SOCKET_TABLE.remove(fd);
|
||||
try {
|
||||
if (sock instanceof Socket s) s.close();
|
||||
else if (sock instanceof DatagramSocket ds) ds.close();
|
||||
setStatus(args, 0L);
|
||||
} catch (IOException e) {
|
||||
setStatus(args, -1L);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object socketSend(Object[] args) {
|
||||
int fd = (int) longArg(args, 1);
|
||||
byte[] buf = (byte[]) args[2];
|
||||
int off = (int) longArg(args, 3);
|
||||
int len = (int) longArg(args, 4);
|
||||
int[] errOut = args.length > 6 && args[6] instanceof int[] a ? a : null;
|
||||
Object sock = SOCKET_TABLE.get(fd);
|
||||
try {
|
||||
if (sock instanceof Socket s) {
|
||||
s.getOutputStream().write(buf, off, len);
|
||||
s.getOutputStream().flush();
|
||||
setStatus(args, len);
|
||||
} else if (sock instanceof DatagramSocket ds) {
|
||||
ds.send(new DatagramPacket(buf, off, len));
|
||||
setStatus(args, len);
|
||||
} else {
|
||||
if (errOut != null && errOut.length > 0) errOut[0] = -1;
|
||||
setStatus(args, -1L);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
if (errOut != null && errOut.length > 0) errOut[0] = -1;
|
||||
setStatus(args, -1L);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object socketRecv(Object[] args) {
|
||||
int fd = (int) longArg(args, 1);
|
||||
byte[] buf = (byte[]) args[2];
|
||||
int off = (int) longArg(args, 3);
|
||||
int len = (int) longArg(args, 4);
|
||||
int[] errOut = args.length > 6 && args[6] instanceof int[] a ? a : null;
|
||||
Object sock = SOCKET_TABLE.get(fd);
|
||||
try {
|
||||
if (sock instanceof Socket s) {
|
||||
int n = s.getInputStream().read(buf, off, len);
|
||||
setStatus(args, Math.max(0, n));
|
||||
} else if (sock instanceof DatagramSocket ds) {
|
||||
DatagramPacket pkt = new DatagramPacket(buf, off, len);
|
||||
ds.receive(pkt);
|
||||
setStatus(args, pkt.getLength());
|
||||
} else {
|
||||
if (errOut != null && errOut.length > 0) errOut[0] = -1;
|
||||
setStatus(args, -1L);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
if (errOut != null && errOut.length > 0) errOut[0] = -1;
|
||||
setStatus(args, -1L);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object socketSetTimeout(Object[] args) {
|
||||
int fd = (int) longArg(args, 1);
|
||||
int ms = (int) longArg(args, 2);
|
||||
Object sock = SOCKET_TABLE.get(fd);
|
||||
try {
|
||||
if (sock instanceof Socket s) s.setSoTimeout(ms);
|
||||
else if (sock instanceof DatagramSocket ds) ds.setSoTimeout(ms);
|
||||
setStatus(args, 0L);
|
||||
} catch (IOException e) {
|
||||
setStatus(args, -1L);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private static Object listProcesses(Object[] args) {
|
||||
if (args.length > 1 && args[1] instanceof List list) {
|
||||
ProcessHandle.allProcesses().forEach(ph -> list.add((int) ph.pid()));
|
||||
setStatus(args, list.size());
|
||||
} else {
|
||||
setStatus(args, 0L);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object processCommandLine(Object[] args) {
|
||||
long pid = longArg(args, 1);
|
||||
return ProcessHandle.of(pid)
|
||||
.flatMap(ph -> ph.info().commandLine())
|
||||
.map(String::toCharArray)
|
||||
.orElse(new char[0]);
|
||||
}
|
||||
|
||||
private static Object currentPid(Object[] args) {
|
||||
setStatus(args, ProcessHandle.current().pid());
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object currentProcessHandle(Object[] args) {
|
||||
setStatus(args, ProcessHandle.current().pid());
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object classSignature(Object[] args) {
|
||||
if (args.length < 2 || !(args[1] instanceof Class<?> cls)) return null;
|
||||
String desc = cls.descriptorString();
|
||||
return desc.getBytes(StandardCharsets.UTF_8);
|
||||
}
|
||||
|
||||
private static long registerField(Field f) {
|
||||
return FIELD_IDS.computeIfAbsent(
|
||||
f,
|
||||
k -> {
|
||||
long id = NEXT_MEMBER_ID.getAndIncrement();
|
||||
FIELD_TABLE.put(id, k);
|
||||
return id;
|
||||
});
|
||||
}
|
||||
|
||||
private static long registerExecutable(Executable ex) {
|
||||
return EXEC_IDS.computeIfAbsent(
|
||||
ex,
|
||||
k -> {
|
||||
long id = NEXT_MEMBER_ID.getAndIncrement();
|
||||
EXEC_TABLE.put(id, k);
|
||||
return id;
|
||||
});
|
||||
}
|
||||
|
||||
private static Object declaredFieldIds(Object[] args) {
|
||||
if (args.length < 2 || !(args[1] instanceof Class<?> cls)) return new long[0];
|
||||
Field[] fields = cls.getDeclaredFields();
|
||||
long[] ids = new long[fields.length];
|
||||
for (int i = 0; i < fields.length; i++) {
|
||||
ids[i] = registerField(fields[i]);
|
||||
}
|
||||
return ids;
|
||||
}
|
||||
|
||||
private static Object declaredMethodIds(Object[] args) {
|
||||
if (args.length < 2 || !(args[1] instanceof Class<?> cls)) return new long[0];
|
||||
Constructor<?>[] ctors = cls.getDeclaredConstructors();
|
||||
Method[] methods = cls.getDeclaredMethods();
|
||||
long[] ids = new long[ctors.length + methods.length];
|
||||
int k = 0;
|
||||
for (Constructor<?> c : ctors) ids[k++] = registerExecutable(c);
|
||||
for (Method m : methods) ids[k++] = registerExecutable(m);
|
||||
return ids;
|
||||
}
|
||||
|
||||
private static Object fieldMetaBytes(Object[] args) {
|
||||
long id = longArg(args, 2);
|
||||
Field f = FIELD_TABLE.get(id);
|
||||
if (f == null) return null;
|
||||
return new byte[][] {
|
||||
f.getName().getBytes(StandardCharsets.UTF_8),
|
||||
f.getType().descriptorString().getBytes(StandardCharsets.UTF_8)
|
||||
};
|
||||
}
|
||||
|
||||
private static String methodDescriptor(Executable ex) {
|
||||
StringBuilder sb = new StringBuilder("(");
|
||||
for (Class<?> p : ex.getParameterTypes()) {
|
||||
sb.append(p.descriptorString());
|
||||
}
|
||||
sb.append(')');
|
||||
if (ex instanceof Method m) {
|
||||
sb.append(m.getReturnType().descriptorString());
|
||||
} else {
|
||||
sb.append('V');
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
private static Object methodMetaBytes(Object[] args) {
|
||||
long id = longArg(args, 1);
|
||||
Executable ex = EXEC_TABLE.get(id);
|
||||
if (ex == null) return null;
|
||||
String name = ex instanceof Constructor<?> ? "<init>" : ex.getName();
|
||||
return new byte[][] {
|
||||
name.getBytes(StandardCharsets.UTF_8), methodDescriptor(ex).getBytes(StandardCharsets.UTF_8)
|
||||
};
|
||||
}
|
||||
|
||||
private static Object classStatus(Object[] args) {
|
||||
setStatus(args, 7L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object launchProcess(Object[] args) throws IOException {
|
||||
Process p = Runtime.getRuntime().exec((String[]) args[1], (String[]) args[2], (File) args[3]);
|
||||
return new Object[] {p, p.getInputStream()};
|
||||
}
|
||||
|
||||
private static Object processorCount(Object[] args) {
|
||||
setStatus(args, Runtime.getRuntime().availableProcessors());
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object hostName() throws UnknownHostException {
|
||||
return InetAddress.getLocalHost().getHostName();
|
||||
}
|
||||
|
||||
private static Object getFieldId(Object[] args) {
|
||||
Class<?> cls = args[1] instanceof Class<?> c ? c : args[1].getClass();
|
||||
String name = cString((byte[]) args[2]);
|
||||
String desc = cString((byte[]) args[3]);
|
||||
for (Class<?> cur = cls; cur != null; cur = cur.getSuperclass()) {
|
||||
for (Field f : cur.getDeclaredFields()) {
|
||||
if (f.getName().equals(name)
|
||||
&& (desc.isEmpty() || f.getType().descriptorString().equals(desc))) {
|
||||
setStatus(args, registerField(f));
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
setStatus(args, 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object getMethodId(Object[] args) {
|
||||
Class<?> cls = args[1] instanceof Class<?> c ? c : args[1].getClass();
|
||||
String name = cString((byte[]) args[2]);
|
||||
String desc = cString((byte[]) args[3]);
|
||||
if ("<init>".equals(name)) {
|
||||
for (Constructor<?> c : cls.getDeclaredConstructors()) {
|
||||
if (desc.isEmpty() || methodDescriptor(c).equals(desc)) {
|
||||
setStatus(args, registerExecutable(c));
|
||||
return null;
|
||||
}
|
||||
}
|
||||
setStatus(args, 0L);
|
||||
return null;
|
||||
}
|
||||
Executable found = findMethodInHierarchy(cls, name, desc);
|
||||
setStatus(args, found != null ? registerExecutable(found) : 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Method findMethodInHierarchy(Class<?> cls, String name, String desc) {
|
||||
for (Class<?> cur = cls; cur != null; cur = cur.getSuperclass()) {
|
||||
for (Method m : cur.getDeclaredMethods()) {
|
||||
if (m.getName().equals(name) && (desc.isEmpty() || methodDescriptor(m).equals(desc))) {
|
||||
return m;
|
||||
}
|
||||
}
|
||||
for (Class<?> itf : cur.getInterfaces()) {
|
||||
Method m = findMethodInHierarchy(itf, name, desc);
|
||||
if (m != null) return m;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Field resolveAccessibleField(Object[] args) {
|
||||
Field f = FIELD_TABLE.get(longArg(args, 2));
|
||||
if (f != null) {
|
||||
f.setAccessible(true);
|
||||
}
|
||||
return f;
|
||||
}
|
||||
|
||||
private static Object fieldTarget(Object[] args, int staticSlot) {
|
||||
boolean isStatic = args.length > staticSlot && longArg(args, staticSlot) != 0L;
|
||||
return isStatic ? null : args[1];
|
||||
}
|
||||
|
||||
private static Object setObjectField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
if (f != null) f.set(fieldTarget(args, 4), args[3]);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object getObjectField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
return f != null ? f.get(fieldTarget(args, 3)) : null;
|
||||
}
|
||||
|
||||
private static Object setLongField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
if (f != null) f.setLong(fieldTarget(args, 4), longArg(args, 3));
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object getLongField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
setStatus(args, f != null ? f.getLong(fieldTarget(args, 3)) : 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object setIntField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
if (f != null) f.setInt(fieldTarget(args, 4), (int) longArg(args, 3));
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object getIntField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
setStatus(args, f != null ? f.getInt(fieldTarget(args, 3)) : 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object setShortField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
if (f != null) f.setShort(fieldTarget(args, 4), (short) longArg(args, 3));
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object getShortField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
setStatus(args, f != null ? f.getShort(fieldTarget(args, 3)) : 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object setByteField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
if (f != null) f.setByte(fieldTarget(args, 4), (byte) longArg(args, 3));
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object getByteField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
setStatus(args, f != null ? f.getByte(fieldTarget(args, 3)) : 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object setBooleanField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
if (f != null) f.setBoolean(fieldTarget(args, 4), longArg(args, 3) != 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object getBooleanField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
setStatus(args, f != null && f.getBoolean(fieldTarget(args, 3)) ? 1L : 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object setCharField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
if (f != null) f.setChar(fieldTarget(args, 4), (char) longArg(args, 3));
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object getCharField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
setStatus(args, f != null ? f.getChar(fieldTarget(args, 3)) : 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object setDoubleField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
if (f != null) f.setDouble(fieldTarget(args, 4), ((double[]) args[3])[0]);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object getDoubleField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
((double[]) args[4])[0] = f != null ? f.getDouble(fieldTarget(args, 3)) : 0.0;
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object setFloatField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
if (f != null) f.setFloat(fieldTarget(args, 4), ((float[]) args[3])[0]);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object getFloatField(Object[] args) throws IllegalAccessException {
|
||||
Field f = resolveAccessibleField(args);
|
||||
((float[]) args[4])[0] = f != null ? f.getFloat(fieldTarget(args, 3)) : 0.0f;
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object unwrapTypedArg(Object raw, byte sort) {
|
||||
return switch (sort) {
|
||||
case 1 -> ((boolean[]) raw)[0];
|
||||
case 2 -> ((char[]) raw)[0];
|
||||
case 3 -> ((byte[]) raw)[0];
|
||||
case 4 -> ((short[]) raw)[0];
|
||||
case 5 -> ((int[]) raw)[0];
|
||||
case 6 -> ((float[]) raw)[0];
|
||||
case 7 -> ((long[]) raw)[0];
|
||||
case 8 -> ((double[]) raw)[0];
|
||||
default -> raw;
|
||||
};
|
||||
}
|
||||
|
||||
private static Object invokeMethod(Object[] args) throws Exception {
|
||||
Executable ex = EXEC_TABLE.get(longArg(args, 2));
|
||||
if (!(ex instanceof Method m)) return null;
|
||||
m.setAccessible(true);
|
||||
boolean isStatic = longArg(args, 3) != 0L;
|
||||
byte[] types = (byte[]) args[4];
|
||||
int argc = types[0] & 0xFF;
|
||||
Object[] callArgs = new Object[argc];
|
||||
for (int i = 0; i < argc; i++) {
|
||||
callArgs[i] = unwrapTypedArg(args[5 + i], types[2 + i]);
|
||||
}
|
||||
Object result = m.invoke(isStatic ? null : args[1], callArgs);
|
||||
return switch (types[1]) {
|
||||
case 1 -> new boolean[] {(Boolean) result};
|
||||
case 2 -> new char[] {(Character) result};
|
||||
case 3 -> new byte[] {(Byte) result};
|
||||
case 4 -> new short[] {(Short) result};
|
||||
case 5 -> new int[] {(Integer) result};
|
||||
case 6 -> new float[] {(Float) result};
|
||||
case 7 -> new long[] {(Long) result};
|
||||
case 8 -> new double[] {(Double) result};
|
||||
default -> result;
|
||||
};
|
||||
}
|
||||
|
||||
private static Object invokeConstructor(Object[] args) throws Exception {
|
||||
Executable ex = EXEC_TABLE.get(longArg(args, 2));
|
||||
if (!(ex instanceof Constructor<?> c)) return null;
|
||||
c.setAccessible(true);
|
||||
byte[] types = (byte[]) args[3];
|
||||
int argc = types[0] & 0xFF;
|
||||
Object[] callArgs = new Object[argc];
|
||||
for (int i = 0; i < argc; i++) {
|
||||
callArgs[i] = unwrapTypedArg(args[4 + i], types[1 + i]);
|
||||
}
|
||||
return c.newInstance(callArgs);
|
||||
}
|
||||
|
||||
private static Object fieldModifiers(Object[] args) {
|
||||
Field f = FIELD_TABLE.get(longArg(args, 2));
|
||||
setStatus(args, f != null ? f.getModifiers() : 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object methodModifiers(Object[] args) {
|
||||
Executable ex = EXEC_TABLE.get(longArg(args, 1));
|
||||
setStatus(args, ex != null ? ex.getModifiers() : 0L);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object allocateInstance(Object[] args) throws Exception {
|
||||
Executable ex = EXEC_TABLE.get(longArg(args, 2));
|
||||
if (ex instanceof Constructor<?> c) {
|
||||
c.setAccessible(true);
|
||||
return c.newInstance();
|
||||
}
|
||||
if (args[1] instanceof Class<?> cls) {
|
||||
return UNSAFE.allocateInstance(cls);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object invokeSingleArgConstructor(Object[] args) throws Exception {
|
||||
Executable ex = EXEC_TABLE.get(longArg(args, 2));
|
||||
if (ex instanceof Constructor<?> c) {
|
||||
c.setAccessible(true);
|
||||
return c.newInstance(args[3]);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object listLoadedClasses(Object[] args) {
|
||||
if (args.length > 2 && args[2] instanceof Class<?>[] out) {
|
||||
setStatus(args, 0L);
|
||||
return out;
|
||||
}
|
||||
setStatus(args, 0L);
|
||||
return new Class<?>[0];
|
||||
}
|
||||
|
||||
private static Object currentTicks(Object[] args) {
|
||||
setStatus(args, System.currentTimeMillis());
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object environmentOrProperties(Object[] args) {
|
||||
Map<?, ?> map = longArg(args, 1) == 0L ? System.getenv() : System.getProperties();
|
||||
Object[] keys = new Object[map.size()];
|
||||
Object[] vals = new Object[map.size()];
|
||||
int i = 0;
|
||||
for (Map.Entry<?, ?> e : map.entrySet()) {
|
||||
keys[i] = e.getKey();
|
||||
vals[i] = e.getValue();
|
||||
i++;
|
||||
}
|
||||
return new Object[] {keys, vals};
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private static Object mapPut(Object[] args) {
|
||||
return ((Map<Object, Object>) args[1]).put(args[2], args[3]);
|
||||
}
|
||||
|
||||
private static Object mapRemove(Object[] args) {
|
||||
return ((Map<?, ?>) args[1]).remove(args[2]);
|
||||
}
|
||||
|
||||
private static Object mapGet(Object[] args) {
|
||||
return ((Map<?, ?>) args[1]).get(args[2]);
|
||||
}
|
||||
|
||||
private static Object jvmStartTime(Object[] args) {
|
||||
setStatus(args, ManagementFactory.getRuntimeMXBean().getStartTime());
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object addShutdownHook(Object[] args) {
|
||||
Runtime.getRuntime().addShutdownHook((Thread) args[1]);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object removeShutdownHook(Object[] args) {
|
||||
Runtime.getRuntime().removeShutdownHook((Thread) args[1]);
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Object defineClassCompat(Object[] args) {
|
||||
byte[] bytes =
|
||||
args.length >= 4 && args[3] instanceof byte[] b
|
||||
? b
|
||||
: (args.length >= 3 && args[2] instanceof byte[] b ? b : null);
|
||||
if (bytes == null) return null;
|
||||
String binaryName = args.length >= 3 && args[2] instanceof String s ? s : null;
|
||||
ClassLoader parent =
|
||||
args[1] instanceof Class<?> c
|
||||
? c.getClassLoader()
|
||||
: (args[1] instanceof ClassLoader cl
|
||||
? cl
|
||||
: NativeBridgeDispatcher.class.getClassLoader());
|
||||
ClassLoader temp =
|
||||
new ClassLoader(parent) {
|
||||
Class<?> define() {
|
||||
return defineClass(binaryName, bytes, 0, bytes.length);
|
||||
}
|
||||
};
|
||||
try {
|
||||
Method m = temp.getClass().getDeclaredMethod("define");
|
||||
m.setAccessible(true);
|
||||
return m.invoke(temp);
|
||||
} catch (Exception e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private static Object openFileOutputStream(Object[] args) throws IOException {
|
||||
String path = (String) args[1];
|
||||
if (path == null) return null;
|
||||
File file = new File(path);
|
||||
File parent = file.getParentFile();
|
||||
if (parent == null) return null;
|
||||
parent.mkdirs();
|
||||
return new FileOutputStream(file);
|
||||
}
|
||||
|
||||
private static Object findClass(Object[] args) {
|
||||
String raw = cString((byte[]) args[1]).replace('/', '.');
|
||||
ClassLoader loader =
|
||||
args.length > 2 && args[2] instanceof ClassLoader cl
|
||||
? cl
|
||||
: NativeBridgeDispatcher.class.getClassLoader();
|
||||
try {
|
||||
return Class.forName(raw, false, loader);
|
||||
} catch (Throwable ignored) {
|
||||
try {
|
||||
return Class.forName(raw);
|
||||
} catch (Throwable ignored2) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
package com.doomsdayclient.bridge;
|
||||
|
||||
import com.doomsdayclient.ClientConfig;
|
||||
import com.doomsdayclient.cloud.CloudInboundPacket;
|
||||
import com.doomsdayclient.cloud.CloudResponseHandler;
|
||||
import com.doomsdayclient.cloud.packet.ServerAnnouncementPacket;
|
||||
import com.doomsdayclient.gui.atlas.GlyphAtlas;
|
||||
import com.doomsdayclient.gui.render.UiItemRenderer;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.text.NumberParser;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
import com.doomsdayclient.util.io.PacketReadBuffer;
|
||||
|
||||
public final class RenderFlagSpec extends CloudResponseHandler {
|
||||
private final BridgeMemorySyncTask bridgeMemorySyncTask;
|
||||
private final ClientConfig clientConfig;
|
||||
private final long handle;
|
||||
private final NativeBridge nativeBridge;
|
||||
|
||||
public RenderFlagSpec(
|
||||
BridgeMemorySyncTask bridgeMemorySyncTask2,
|
||||
ClientConfig clientConfig2,
|
||||
long handle2,
|
||||
NativeBridge nativeBridge2) {
|
||||
super();
|
||||
this.bridgeMemorySyncTask = bridgeMemorySyncTask2;
|
||||
this.clientConfig = clientConfig2;
|
||||
this.handle = handle2;
|
||||
this.nativeBridge = nativeBridge2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void applyCloudInboundPacket(
|
||||
CloudInboundPacket serverAnnouncementPacket, Object value) {
|
||||
if (serverAnnouncementPacket instanceof ServerAnnouncementPacket) {
|
||||
ProtectedString[] protectedStrings =
|
||||
((ServerAnnouncementPacket) serverAnnouncementPacket).protectedStrings;
|
||||
|
||||
for (int protectedStringIndex = 0;
|
||||
protectedStringIndex < protectedStrings.length;
|
||||
protectedStringIndex++) {
|
||||
ProtectedString text;
|
||||
if ((text = protectedStrings[protectedStringIndex])
|
||||
.matchesProtectedCharSeque(StringTable.STR_ALLOW_DCOMLAUNCH)) {
|
||||
if (this.clientConfig.getProtectedString3() != null
|
||||
&& this.handle >= 10L
|
||||
&& this.nativeBridge.isActive()) {
|
||||
ClientConfig.enabled4 = true;
|
||||
ClientLog.setProtectedCharSeque(StringTable.STR_ALLOW_DCOM);
|
||||
}
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_ALLOW_DIAGTRACK)) {
|
||||
if (this.clientConfig.getProtectedString3() != null
|
||||
&& this.handle >= 10L
|
||||
&& this.nativeBridge.isActive()) {
|
||||
ClientConfig.enabled6 = true;
|
||||
ClientLog.setProtectedCharSeque(StringTable.STR_ALLOW_DIAGTRACK2);
|
||||
}
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_ALLOW_PCASVC)) {
|
||||
if (this.clientConfig.getProtectedString3() != null
|
||||
&& this.handle >= 10L
|
||||
&& this.nativeBridge.isActive()) {
|
||||
ClientConfig.enabled5 = true;
|
||||
ClientLog.setProtectedCharSeque(StringTable.STR_ALLOW_PCASVC2);
|
||||
}
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_ALLOW_WINMGMT)) {
|
||||
if (this.clientConfig.getProtectedString3() != null
|
||||
&& this.handle >= 10L
|
||||
&& this.nativeBridge.isActive()) {
|
||||
ClientConfig.enabled7 = true;
|
||||
ClientLog.setProtectedCharSeque(StringTable.STR_ALLOW_WINMGMT2);
|
||||
}
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_OFF_REDRST)) {
|
||||
ClientConfig.cached = false;
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_ALLOW_RM)) {
|
||||
ClientConfig.pending = true;
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_COMPRESS_TRUE)) {
|
||||
GlyphAtlas.visible = true;
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_COMPRESS_FALSE)) {
|
||||
GlyphAtlas.visible = false;
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_READPIXELS_TRUE)) {
|
||||
UiItemRenderer.enabled = true;
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_READPIXELS_FALSE)) {
|
||||
UiItemRenderer.enabled = false;
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_FASTCLEAR_TRUE)) {
|
||||
GlyphAtlas.initialized = true;
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_FASTCLEAR_FALSE)) {
|
||||
GlyphAtlas.initialized = false;
|
||||
} else if (text.matchesProtectedCharSeque(StringTable.STR_NOKEYBOARDHOOK)) {
|
||||
ClientConfig.enabled8 = true;
|
||||
} else if (text.supportsProtectedString(StringTable.STR_ASYNC)) {
|
||||
try {
|
||||
int intValue = NumberParser.getInt(text.withInt(6));
|
||||
BridgeMemorySyncTask.getDoomsDay(this.bridgeMemorySyncTask)
|
||||
.guiFontResourceCoordinator
|
||||
.setInt(intValue);
|
||||
} catch (Throwable exception) {
|
||||
ClientLog.resetState();
|
||||
}
|
||||
} else if (text.supportsProtectedString(StringTable.STR_PREUPDATE_TRUE)) {
|
||||
ClientConfig.packetReadBuffer = PacketReadBuffer.packetReadBuffer;
|
||||
} else if (text.supportsProtectedString(StringTable.STR_PREUPDATE_FALSE)) {
|
||||
ClientConfig.packetReadBuffer = PacketReadBuffer.packetReadBuffer2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
public class AbstractCloudSocket {}
|
||||
@@ -0,0 +1,566 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
import com.doomsdayclient.DoomsDay;
|
||||
import com.doomsdayclient.cloud.packet.DisconnectNoticePacket;
|
||||
import com.doomsdayclient.crypto.SessionNonceHelper;
|
||||
import com.doomsdayclient.exception.ClientRuntimeException;
|
||||
import com.doomsdayclient.jvm.CloudReconnectDelayHelper;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.mc.chat.ChatLineFilter;
|
||||
import com.doomsdayclient.net.AbstractSocketStream;
|
||||
import com.doomsdayclient.text.ProtectedAppendable;
|
||||
import com.doomsdayclient.text.ProtectedStringBuilder;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
import com.doomsdayclient.util.collections.FastArrayList;
|
||||
import com.doomsdayclient.util.collections.FastHashMap;
|
||||
import com.doomsdayclient.util.io.ByteBufferWriter;
|
||||
import com.doomsdayclient.util.io.VarIntCodec;
|
||||
import com.doomsdayclient.util.memory.UnsafeMemory;
|
||||
|
||||
public class CloudClient {
|
||||
public DoomsDay doomsDay;
|
||||
public boolean enabled = true;
|
||||
public volatile CloudSocketChannel cloudSocketChannel;
|
||||
private final ProtectedAppendable protectedAppendable = new ProtectedAppendable();
|
||||
private CloudTimeoutMonitor cloudTimeoutMonitor;
|
||||
private CloudReceiveThread cloudReceiveThread;
|
||||
public final FastHashMap fastHashMap = new FastHashMap();
|
||||
private SessionNonceHelper sessionNonceHelper = new SessionNonceHelper();
|
||||
private volatile CloudHttpEndpoint cloudHttpEndpoint;
|
||||
public int index = 11000;
|
||||
public long address;
|
||||
private final CloudDirectEndpoint cloudDirectEndpoint;
|
||||
private final CloudHttpEndpoint cloudHttpEndpoint2;
|
||||
private final FastArrayList fastArrayList;
|
||||
private int count;
|
||||
public final FastArrayList fastArrayList2;
|
||||
private boolean active;
|
||||
|
||||
public CloudClient(DoomsDay doomsDay2) {
|
||||
this.cloudDirectEndpoint =
|
||||
new CloudDirectEndpoint(StringTable.STR_DOOMSDAYCLIENT_XYZ, CloudHttpEndpoint.count);
|
||||
this.cloudHttpEndpoint2 = null;
|
||||
this.fastArrayList2 = new FastArrayList();
|
||||
this.doomsDay = doomsDay2;
|
||||
this.fastArrayList = new FastArrayList();
|
||||
this.fastArrayList.matchesObject(this.cloudDirectEndpoint);
|
||||
this.fastArrayList.matchesObject(
|
||||
new CloudHttpEndpoint(StringTable.STR_165_22_196_0, CloudHttpEndpoint.count)
|
||||
.appendInt(1000));
|
||||
this.fastArrayList.matchesObject(
|
||||
new CloudDirectEndpoint(StringTable.STR_DOOMSDAYCLIENT_COM, CloudHttpEndpoint.index)
|
||||
.appendInt(225));
|
||||
this.fastArrayList.matchesObject(
|
||||
new CloudHttpEndpoint(StringTable.STR_165_22_196_0, CloudHttpEndpoint.index)
|
||||
.appendInt(300));
|
||||
this.fastArrayList.matchesObject(
|
||||
new CloudHttpEndpoint(StringTable.STR_2A03_B0C0_2_D0_142C_E001, CloudHttpEndpoint.count)
|
||||
.appendInt(400));
|
||||
}
|
||||
|
||||
private boolean matchesCloudHttpEndpoint(CloudHttpEndpoint cloudHttpEndpoint3) {
|
||||
if ((cloudHttpEndpoint3.endpointSelector.count >= 2
|
||||
&& cloudHttpEndpoint3.endpointSelector.size == 0
|
||||
|| cloudHttpEndpoint3.endpointSelector.count > 5)
|
||||
&& cloudHttpEndpoint3.endpointSelector.size < 2) {
|
||||
return true;
|
||||
} else {
|
||||
if (cloudHttpEndpoint3 == this.cloudHttpEndpoint2) {
|
||||
if (cloudHttpEndpoint3.endpointSelector.count >= 8
|
||||
&& cloudHttpEndpoint3.endpointSelector.isActive()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (cloudHttpEndpoint3.endpointSelector.count >= 7
|
||||
&& cloudHttpEndpoint3.endpointSelector.isActive()
|
||||
&& cloudHttpEndpoint3.endpointSelector.isValid()) {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
if (cloudHttpEndpoint3.endpointSelector.count >= 3
|
||||
&& cloudHttpEndpoint3.endpointSelector.isActive()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (cloudHttpEndpoint3.endpointSelector.count >= 2
|
||||
&& cloudHttpEndpoint3.endpointSelector.isActive()
|
||||
&& cloudHttpEndpoint3.endpointSelector.isValid()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
private void update() {
|
||||
if (this.count > 3) {
|
||||
ClientLog.applyProtectedCharSeque(StringTable.STR_SKIP_CONNECTADDRESS_STATS_3);
|
||||
CloudClient cloudClient = this;
|
||||
long longValue = this.doomsDay.readLong();
|
||||
|
||||
for (int index2 = 0; index2 < cloudClient.fastArrayList.getIndex(); index2++) {
|
||||
if (cloudClient.fastArrayList.getObject(index2) instanceof CloudDirectEndpoint) {
|
||||
CloudDirectEndpoint cloudDirectEndpoint2 =
|
||||
(CloudDirectEndpoint) cloudClient.fastArrayList.getObject(index2);
|
||||
short shortValue = 30000;
|
||||
if (!cloudDirectEndpoint2.isActive()) {
|
||||
shortValue = 20000;
|
||||
}
|
||||
|
||||
if (longValue - cloudDirectEndpoint2.getAddress() > shortValue) {
|
||||
cloudDirectEndpoint2.getFastArrayList().update();
|
||||
ClientLog.applyProtectedCharSeque(StringTable.STR_CLEAR_RESOLVE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.active) {
|
||||
FastArrayList fastArrayList3 = new FastArrayList();
|
||||
|
||||
for (int index3 = 0; index3 < this.fastArrayList.getIndex(); index3++) {
|
||||
CloudEndpoint cloudHttpEndpoint3;
|
||||
if ((cloudHttpEndpoint3 = (CloudEndpoint) this.fastArrayList.getObject(index3))
|
||||
instanceof CloudHttpEndpoint) {
|
||||
CloudHttpEndpoint cloudHttpEndpoint4 = (CloudHttpEndpoint) cloudHttpEndpoint3;
|
||||
if (!this.matchesCloudHttpEndpoint(cloudHttpEndpoint4) || this.count >= 4) {
|
||||
fastArrayList3.matchesObject(cloudHttpEndpoint4);
|
||||
}
|
||||
} else if (cloudHttpEndpoint3 instanceof CloudDirectEndpoint) {
|
||||
FastArrayList fastArrayList4 =
|
||||
((CloudDirectEndpoint) cloudHttpEndpoint3).getFastArrayList();
|
||||
|
||||
for (int index4 = 0; index4 < fastArrayList4.getIndex(); index4++) {
|
||||
CloudHttpEndpoint cloudHttpEndpoint5 =
|
||||
(CloudHttpEndpoint) fastArrayList4.getObject(index4);
|
||||
|
||||
if (!this.matchesCloudHttpEndpoint(cloudHttpEndpoint5) || this.count >= 4) {
|
||||
fastArrayList3.matchesObject(cloudHttpEndpoint5);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ClientLog.applyProtectedCharSeque(StringTable.STR_CONNECT_TO_ALL);
|
||||
ProtectedAppendable protectedAppendable2 = new ProtectedAppendable();
|
||||
SessionNonceHelper sessionNonceHelper2 = new SessionNonceHelper(fastArrayList3.getIndex());
|
||||
|
||||
for (int index5 = 0; index5 < fastArrayList3.getIndex(); index5++) {
|
||||
CloudHttpEndpoint cloudHttpEndpoint6;
|
||||
AbstractSocketStream abstractSocketStre =
|
||||
(cloudHttpEndpoint6 = (CloudHttpEndpoint) fastArrayList3.getObject(index5))
|
||||
.getAbstractSocketStre(this.doomsDay.nativeBridge);
|
||||
CloudConnectWorker cloudConnectWorker =
|
||||
new CloudConnectWorker(
|
||||
protectedAppendable2,
|
||||
sessionNonceHelper2,
|
||||
cloudHttpEndpoint6,
|
||||
abstractSocketStre,
|
||||
this);
|
||||
synchronized (this.fastArrayList2) {
|
||||
this.fastArrayList2.matchesObject(cloudConnectWorker);
|
||||
}
|
||||
|
||||
cloudConnectWorker.tick();
|
||||
}
|
||||
|
||||
protectedAppendable2.setInt(10000);
|
||||
if (this.cloudSocketChannel != null) {
|
||||
this.cloudHttpEndpoint = this.cloudSocketChannel.getCloudHttpEndpoint();
|
||||
this.count = 0;
|
||||
} else {
|
||||
this.count++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private CloudSocketChannel getCloudSocketChannel() {
|
||||
try {
|
||||
if (this.active) {
|
||||
return null;
|
||||
} else if (this.cloudSocketChannel != null) {
|
||||
ClientLog.applyProtectedCharSeque(StringTable.STR_ALREADY_CONNECTED_SKIP_CONNECT);
|
||||
return this.cloudSocketChannel;
|
||||
} else {
|
||||
byte byteValue = 0;
|
||||
if (this.cloudHttpEndpoint != null
|
||||
&& !this.matchesCloudHttpEndpoint(this.cloudHttpEndpoint)) {
|
||||
try {
|
||||
this.cloudSocketChannel =
|
||||
new CloudSocketChannel(
|
||||
this.cloudHttpEndpoint.getAbstractSocketStre(this.doomsDay.nativeBridge),
|
||||
this.index);
|
||||
this.cloudSocketChannel.getInt(this.cloudHttpEndpoint);
|
||||
byteValue = 1;
|
||||
} catch (Throwable exception) {
|
||||
if (this.cloudSocketChannel != null) {
|
||||
this.cloudSocketChannel.execute();
|
||||
this.cloudSocketChannel = null;
|
||||
}
|
||||
|
||||
this.cloudHttpEndpoint = null;
|
||||
ClientLog.setThrowable(exception);
|
||||
}
|
||||
} else {
|
||||
CloudDirectEndpoint cloudDirectEndpoint2 = this.cloudDirectEndpoint;
|
||||
|
||||
try {
|
||||
if (cloudDirectEndpoint2 instanceof CloudDirectEndpoint) {
|
||||
FastArrayList fastArrayList3 = cloudDirectEndpoint2.getFastArrayList();
|
||||
|
||||
for (int index2 = 0; index2 < fastArrayList3.getIndex(); index2++) {
|
||||
CloudHttpEndpoint cloudHttpEndpoint3 =
|
||||
(CloudHttpEndpoint) fastArrayList3.getObject(index2);
|
||||
if (!this.matchesCloudHttpEndpoint(cloudHttpEndpoint3)) {
|
||||
this.cloudSocketChannel =
|
||||
new CloudSocketChannel(
|
||||
cloudHttpEndpoint3.getAbstractSocketStre(this.doomsDay.nativeBridge),
|
||||
this.index);
|
||||
this.cloudSocketChannel.getInt(cloudHttpEndpoint3);
|
||||
byteValue = 1;
|
||||
this.cloudHttpEndpoint = cloudHttpEndpoint3;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Throwable exception2) {
|
||||
if (this.cloudSocketChannel != null) {
|
||||
this.cloudSocketChannel.execute();
|
||||
this.cloudSocketChannel = null;
|
||||
}
|
||||
|
||||
ClientLog.applyThrowable(exception2);
|
||||
ClientLog.setThrowable(exception2);
|
||||
}
|
||||
}
|
||||
|
||||
if (byteValue == 0) {
|
||||
this.update();
|
||||
}
|
||||
|
||||
if (this.cloudSocketChannel != null) {
|
||||
this.address = this.doomsDay.readLong();
|
||||
if (this.cloudHttpEndpoint.getProtectedString2() != null) {
|
||||
ClientLog.applyProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_CONNECTED_TO)
|
||||
.appendCallMarker(this.cloudHttpEndpoint.getIpAddressParser())
|
||||
.appendProtectedCharSeque(StringTable.STR_COLON)
|
||||
.appendInt(this.cloudHttpEndpoint.capacity)
|
||||
.appendProtectedCharSeque(StringTable.STR_DOUBLE_SPACE)
|
||||
.appendProtectedCharSeque(this.cloudHttpEndpoint.getProtectedString2()));
|
||||
} else {
|
||||
ClientLog.applyProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_CONNECTED_TO)
|
||||
.appendCallMarker(this.cloudHttpEndpoint.getIpAddressParser())
|
||||
.appendProtectedCharSeque(StringTable.STR_COLON)
|
||||
.appendInt(this.cloudHttpEndpoint.capacity));
|
||||
}
|
||||
|
||||
int size = this.cloudSocketChannel.size;
|
||||
this.enabled = (this.cloudSocketChannel.getInt() != 0);
|
||||
if (9 < size) {
|
||||
UnsafeMemory.setByteArray(this.cloudSocketChannel.getByteArray(size - 9));
|
||||
}
|
||||
|
||||
this.cloudTimeoutMonitor = new CloudTimeoutMonitor(this);
|
||||
this.cloudTimeoutMonitor.tick();
|
||||
this.cloudReceiveThread = new CloudReceiveThread(this);
|
||||
this.cloudReceiveThread.tick();
|
||||
return this.cloudSocketChannel;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
} catch (Throwable exception3) {
|
||||
ClientLog.applyThrowable(exception3);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private ByteBufferWriter getByteBufferWriter(CloudPacket cloudPacket) {
|
||||
ByteBufferWriter byteBufferWriter;
|
||||
int intValue = (byteBufferWriter = new ByteBufferWriter()).buildInt();
|
||||
byteBufferWriter.setLong(0L);
|
||||
cloudPacket.setByteBufferWriter(byteBufferWriter);
|
||||
int intValue2 = byteBufferWriter.buildInt();
|
||||
byteBufferWriter.applyInt(intValue, cloudPacket.getInt());
|
||||
byteBufferWriter.applyInt(
|
||||
intValue + 2, CloudReconnectDelayHelper.createInt(byteBufferWriter, intValue2));
|
||||
byteBufferWriter.updateInt(intValue + 4, intValue2 - 8);
|
||||
return byteBufferWriter;
|
||||
}
|
||||
|
||||
public final void setCloudPacket(CloudPacket cloudPacket) {
|
||||
synchronized (this.protectedAppendable) {
|
||||
if (this.cloudSocketChannel == null) {
|
||||
if (cloudPacket instanceof DisconnectNoticePacket) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.getCloudSocketChannel();
|
||||
}
|
||||
|
||||
if (this.cloudSocketChannel != null) {
|
||||
try {
|
||||
this.cloudSocketChannel.setByteBufferWriter(this.getByteBufferWriter(cloudPacket));
|
||||
} catch (Throwable exception) {
|
||||
this.applyThrowable(exception, this.cloudSocketChannel);
|
||||
}
|
||||
|
||||
if (!(cloudPacket instanceof DisconnectNoticePacket)) {
|
||||
if (!this.enabled) {
|
||||
this.execute();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void applyCloudPacketEncoder(
|
||||
CloudPacketEncoder cloudPacketEncoder, CloudResponseHandler cloudResponseHandler) {
|
||||
synchronized (this.protectedAppendable) {
|
||||
if (this.cloudSocketChannel == null) {
|
||||
this.getCloudSocketChannel();
|
||||
}
|
||||
|
||||
if (this.cloudSocketChannel == null) {
|
||||
if (cloudResponseHandler != null) {
|
||||
cloudResponseHandler.applyCloudInboundPacket(
|
||||
null, new ClientRuntimeException(StringTable.STR_NOT_CONNECTED));
|
||||
cloudResponseHandler.enabled = true;
|
||||
}
|
||||
} else {
|
||||
ByteBufferWriter byteBufferWriter = this.getByteBufferWriter(cloudPacketEncoder);
|
||||
if (cloudResponseHandler != null) {
|
||||
synchronized (this.fastHashMap) {
|
||||
this.fastHashMap.createObject(
|
||||
new VarIntCodec(cloudPacketEncoder.index), cloudResponseHandler);
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
this.cloudSocketChannel.setByteBufferWriter(byteBufferWriter);
|
||||
} catch (Throwable exception) {
|
||||
this.applyThrowable(exception, this.cloudSocketChannel);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void updateCloudPacketEncoder(
|
||||
CloudPacketEncoder cloudPacketEncoder, CloudResponseHandler cloudResponseHandler) {
|
||||
synchronized (this.protectedAppendable) {
|
||||
if (this.cloudSocketChannel == null) {
|
||||
this.getCloudSocketChannel();
|
||||
}
|
||||
|
||||
if (this.cloudSocketChannel == null) {
|
||||
cloudResponseHandler.applyCloudInboundPacket(
|
||||
null, new ClientRuntimeException(StringTable.STR_NOT_CONNECTED));
|
||||
cloudResponseHandler.enabled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
ByteBufferWriter byteBufferWriter = this.getByteBufferWriter(cloudPacketEncoder);
|
||||
synchronized (this.fastHashMap) {
|
||||
this.fastHashMap.createObject(
|
||||
new VarIntCodec(cloudPacketEncoder.index), cloudResponseHandler);
|
||||
}
|
||||
|
||||
try {
|
||||
this.cloudSocketChannel.setByteBufferWriter(byteBufferWriter);
|
||||
} catch (Throwable exception) {
|
||||
this.applyThrowable(exception, this.cloudSocketChannel);
|
||||
}
|
||||
}
|
||||
|
||||
synchronized (cloudResponseHandler) {
|
||||
try {
|
||||
if (cloudResponseHandler.enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
cloudResponseHandler.wait(cloudResponseHandler.getInt() + 500);
|
||||
} catch (Throwable exception2) {
|
||||
ClientLog.applyThrowable(exception2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void setThrowable(Throwable throwable) {
|
||||
try {
|
||||
synchronized (this.fastHashMap) {
|
||||
if (this.fastHashMap.getInt() > 0) {
|
||||
ChatLineFilter chatLineFilter = this.fastHashMap.getChatLineFilter();
|
||||
|
||||
while (chatLineFilter.isActive()) {
|
||||
CloudResponseHandler object2 =
|
||||
(CloudResponseHandler) chatLineFilter.getCollectionPredicat().object2;
|
||||
|
||||
try {
|
||||
object2.applyCloudInboundPacket(null, throwable);
|
||||
} catch (Exception exception) {
|
||||
ClientLog.applyThrowable(exception);
|
||||
}
|
||||
|
||||
synchronized (object2) {
|
||||
object2.enabled = true;
|
||||
|
||||
try {
|
||||
object2.notifyAll();
|
||||
} catch (Throwable exception2) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.fastHashMap.execute();
|
||||
}
|
||||
}
|
||||
} catch (Throwable exception3) {
|
||||
ClientLog.applyThrowable(exception3);
|
||||
}
|
||||
}
|
||||
|
||||
public final void applyThrowable(Throwable exception, CloudSocketChannel cloudSocketChannel2) {
|
||||
synchronized (this.protectedAppendable) {
|
||||
try {
|
||||
if (this.cloudSocketChannel == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.cloudSocketChannel != cloudSocketChannel2) {
|
||||
cloudSocketChannel2.execute();
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
if (this.cloudTimeoutMonitor != null) {
|
||||
this.cloudTimeoutMonitor.update();
|
||||
}
|
||||
} catch (Throwable exception2) {
|
||||
ClientLog.applyThrowable(exception2);
|
||||
}
|
||||
|
||||
try {
|
||||
if (this.cloudReceiveThread != null) {
|
||||
this.cloudReceiveThread.update();
|
||||
}
|
||||
} catch (Throwable exception3) {
|
||||
ClientLog.applyThrowable(exception3);
|
||||
}
|
||||
|
||||
try {
|
||||
this.setThrowable(exception);
|
||||
} catch (Throwable exception4) {
|
||||
ClientLog.applyThrowable(exception4);
|
||||
}
|
||||
|
||||
try {
|
||||
ClientLog.setThrowable(exception);
|
||||
ClientLog.applyThrowable(exception);
|
||||
} catch (Throwable exception5) {
|
||||
ClientLog.applyThrowable(exception5);
|
||||
}
|
||||
|
||||
if (this.cloudSocketChannel != null) {
|
||||
this.cloudSocketChannel.execute();
|
||||
}
|
||||
} catch (Throwable exception6) {
|
||||
ClientLog.applyThrowable(exception6);
|
||||
}
|
||||
|
||||
this.cloudSocketChannel = null;
|
||||
}
|
||||
}
|
||||
|
||||
public final void refresh() {
|
||||
this.active = true;
|
||||
}
|
||||
|
||||
public final void execute() {
|
||||
synchronized (this.protectedAppendable) {
|
||||
if (this.cloudSocketChannel != null) {
|
||||
if (this.cloudReceiveThread != null && this.cloudReceiveThread.isReady()) {
|
||||
new CloudKeepAliveTask(this).tick();
|
||||
} else {
|
||||
this.clearState();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void clearState() {
|
||||
synchronized (this.protectedAppendable) {
|
||||
if (this.cloudSocketChannel != null) {
|
||||
try {
|
||||
this.cloudSocketChannel.setByteBufferWriter(
|
||||
this.getByteBufferWriter(new DisconnectNoticePacket()));
|
||||
} catch (Throwable exception) {
|
||||
this.applyThrowable(exception, this.cloudSocketChannel);
|
||||
}
|
||||
|
||||
this.cloudSocketChannel.execute();
|
||||
this.cloudSocketChannel = null;
|
||||
}
|
||||
|
||||
try {
|
||||
if (this.cloudTimeoutMonitor != null) {
|
||||
this.cloudTimeoutMonitor.update();
|
||||
}
|
||||
} catch (Throwable exception2) {
|
||||
ClientLog.applyThrowable(exception2);
|
||||
}
|
||||
|
||||
try {
|
||||
if (this.cloudReceiveThread != null) {
|
||||
this.cloudReceiveThread.update();
|
||||
}
|
||||
} catch (Throwable exception3) {
|
||||
ClientLog.applyThrowable(exception3);
|
||||
}
|
||||
|
||||
try {
|
||||
this.setThrowable(new CloudException(StringTable.STR_DISCONNECT));
|
||||
} catch (Throwable exception4) {
|
||||
ClientLog.applyThrowable(exception4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void tick() {
|
||||
try {
|
||||
if (this.cloudTimeoutMonitor != null && this.cloudTimeoutMonitor.isActive()) {
|
||||
this.cloudTimeoutMonitor.dispatch();
|
||||
}
|
||||
|
||||
for (int index2 = 0; index2 < 30; index2++) {
|
||||
synchronized (this.fastArrayList2) {
|
||||
if (this.fastArrayList2.getIndex() == 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
ClientLog.setProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_NOT_ZERO_COUNT).appendInt(index2));
|
||||
}
|
||||
|
||||
this.doomsDay.nativeBridge.sleep(600L);
|
||||
}
|
||||
|
||||
if (this.cloudReceiveThread.isActive()) {
|
||||
this.cloudReceiveThread.onUpdate();
|
||||
return;
|
||||
}
|
||||
} catch (Throwable exception) {
|
||||
ClientLog.applyThrowable(exception);
|
||||
}
|
||||
}
|
||||
|
||||
public final int getInt() {
|
||||
return this.sessionNonceHelper.getInt();
|
||||
}
|
||||
|
||||
public static void setCloudClient(CloudClient cloudClient) {
|
||||
cloudClient.clearState();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
import com.doomsdayclient.crypto.SessionNonceHelper;
|
||||
import com.doomsdayclient.logging.ClientLog;
|
||||
import com.doomsdayclient.net.AbstractSocketStream;
|
||||
import com.doomsdayclient.platform.probe.ProbeUtil;
|
||||
import com.doomsdayclient.text.ProtectedAppendable;
|
||||
import com.doomsdayclient.text.ProtectedStringBuilder;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
import com.doomsdayclient.util.thread.BridgeWorkerTask;
|
||||
|
||||
public final class CloudConnectWorker extends BridgeWorkerTask {
|
||||
private ProtectedAppendable protectedAppendable;
|
||||
private SessionNonceHelper sessionNonceHelper;
|
||||
private CloudHttpEndpoint cloudHttpEndpoint;
|
||||
private CloudClient cloudClient;
|
||||
private AbstractSocketStream abstractSocketStream;
|
||||
private CloudSocketChannel cloudSocketChannel;
|
||||
|
||||
public CloudConnectWorker(
|
||||
ProtectedAppendable protectedAppendable2,
|
||||
SessionNonceHelper sessionNonceHelper2,
|
||||
CloudHttpEndpoint cloudHttpEndpoint2,
|
||||
AbstractSocketStream abstractSocketStream2,
|
||||
CloudClient cloudClient2) {
|
||||
this.protectedAppendable = protectedAppendable2;
|
||||
this.sessionNonceHelper = sessionNonceHelper2;
|
||||
this.cloudHttpEndpoint = cloudHttpEndpoint2;
|
||||
this.abstractSocketStream = abstractSocketStream2;
|
||||
this.cloudClient = cloudClient2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void execute() {
|
||||
new ProbeUtil().getInt();
|
||||
|
||||
try {
|
||||
if (this.cloudHttpEndpoint.getOffset() > 0) {
|
||||
ClientLog.applyProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_SLEEP)
|
||||
.appendInt(this.cloudHttpEndpoint.getOffset())
|
||||
.appendChar(' ')
|
||||
.appendCallMarker(this.cloudHttpEndpoint));
|
||||
this.cloudClient.doomsDay.nativeBridge.sleep(this.cloudHttpEndpoint.getOffset());
|
||||
}
|
||||
|
||||
synchronized (this.cloudClient) {
|
||||
if (this.cloudClient.cloudSocketChannel != null) {
|
||||
ClientLog.applyProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_SKIP_TRY_CONNECT_TO)
|
||||
.appendCallMarker(this.cloudHttpEndpoint));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.cloudSocketChannel =
|
||||
new CloudSocketChannel(this.abstractSocketStream, this.cloudClient.index);
|
||||
ClientLog.applyProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_TRY_TO)
|
||||
.appendCallMarker(this.cloudHttpEndpoint));
|
||||
this.cloudSocketChannel.getInt(this.cloudHttpEndpoint);
|
||||
byte byteValue = 0;
|
||||
synchronized (this.cloudClient) {
|
||||
if (this.cloudClient.cloudSocketChannel == null) {
|
||||
ClientLog.applyProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_CONNECTED_AND_SET_TO)
|
||||
.appendCallMarker(this.cloudHttpEndpoint));
|
||||
this.cloudClient.cloudSocketChannel = this.cloudSocketChannel;
|
||||
byteValue = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (byteValue != 0) {
|
||||
this.protectedAppendable.execute();
|
||||
} else {
|
||||
ClientLog.applyProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_CONNECTED_AND_CLOSE)
|
||||
.appendCallMarker(this.cloudHttpEndpoint));
|
||||
if (this.cloudSocketChannel != null) {
|
||||
this.cloudSocketChannel.execute();
|
||||
}
|
||||
}
|
||||
} catch (Throwable exception) {
|
||||
ClientLog.applyProtectedCharSeque(
|
||||
new ProtectedStringBuilder(StringTable.STR_NOT_CONNECTED_TO)
|
||||
.appendCallMarker(this.cloudHttpEndpoint));
|
||||
if (this.cloudSocketChannel != null) {
|
||||
this.cloudSocketChannel.execute();
|
||||
}
|
||||
} finally {
|
||||
try {
|
||||
synchronized (this.cloudClient.fastArrayList2) {
|
||||
this.cloudClient.fastArrayList2.containsObject(this);
|
||||
}
|
||||
} catch (Throwable exception2) {
|
||||
}
|
||||
|
||||
if (this.sessionNonceHelper.readInt() == 0) {
|
||||
this.protectedAppendable.execute();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
import com.doomsdayclient.DoomsDay;
|
||||
import com.doomsdayclient.net.DnsResolver;
|
||||
import com.doomsdayclient.net.DnsResponseParser;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.util.collections.FastArrayList;
|
||||
|
||||
public final class CloudDirectEndpoint extends CloudEndpoint {
|
||||
private FastArrayList fastArrayList;
|
||||
private long address;
|
||||
|
||||
public CloudDirectEndpoint(ProtectedString text, int intValue) {
|
||||
super(text, intValue);
|
||||
}
|
||||
|
||||
public final FastArrayList getFastArrayList() {
|
||||
if (this.fastArrayList == null) {
|
||||
this.fastArrayList = new FastArrayList();
|
||||
}
|
||||
|
||||
int total = this.getOffset();
|
||||
if (this.fastArrayList.getIndex() == 0) {
|
||||
this.address = DoomsDay.getLong();
|
||||
DnsResponseParser dnsResponseParser;
|
||||
if ((dnsResponseParser = DnsResolver.getDnsResponseParser(super.protectedString)) != null) {
|
||||
for (int index2 = 0; index2 < dnsResponseParser.fastArrayList.getIndex(); index2++) {
|
||||
IpAddressParser ipAddressParser =
|
||||
new IpAddressParser(dnsResponseParser.getByteArray(index2));
|
||||
CloudHttpEndpoint cloudHttpEndpoint;
|
||||
(cloudHttpEndpoint =
|
||||
new CloudHttpEndpoint(
|
||||
super.protectedString, ipAddressParser, super.length, super.capacity))
|
||||
.appendInt(total);
|
||||
this.fastArrayList.matchesObject(cloudHttpEndpoint);
|
||||
total += 100;
|
||||
}
|
||||
}
|
||||
|
||||
DnsResponseParser dnsResponseParser2;
|
||||
if ((dnsResponseParser2 = DnsResolver.findDnsResponseParser(super.protectedString)) != null) {
|
||||
for (int index3 = 0; index3 < dnsResponseParser2.fastArrayList.getIndex(); index3++) {
|
||||
IpAddressParser ipAddressParser2 =
|
||||
new IpAddressParser(dnsResponseParser2.getByteArray(index3));
|
||||
CloudHttpEndpoint cloudHttpEndpoint2;
|
||||
(cloudHttpEndpoint2 =
|
||||
new CloudHttpEndpoint(
|
||||
super.protectedString, ipAddressParser2, super.length, super.capacity))
|
||||
.appendInt(total);
|
||||
this.fastArrayList.matchesObject(cloudHttpEndpoint2);
|
||||
total += 100;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return this.fastArrayList;
|
||||
}
|
||||
|
||||
public final long getAddress() {
|
||||
return this.address;
|
||||
}
|
||||
|
||||
public final boolean isActive() {
|
||||
return (this.fastArrayList != null && this.fastArrayList.getIndex() > 0);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
import com.doomsdayclient.exception.ClientRuntimeException;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
|
||||
public class CloudEndpoint {
|
||||
public static int index = 0;
|
||||
public static int count = 1;
|
||||
public static int size = 2;
|
||||
public final ProtectedString protectedString;
|
||||
public final int length;
|
||||
public final int capacity;
|
||||
private int offset;
|
||||
|
||||
public CloudEndpoint(ProtectedString protectedString2, int length2) {
|
||||
this.protectedString = protectedString2;
|
||||
this.length = length2;
|
||||
if (length2 == 0) {
|
||||
this.capacity = 443;
|
||||
} else if (length2 == count) {
|
||||
this.capacity = 80;
|
||||
} else {
|
||||
throw new ClientRuntimeException(StringTable.STR_NO_PORT);
|
||||
}
|
||||
}
|
||||
|
||||
public final CloudEndpoint appendInt(int offset2) {
|
||||
this.offset = offset2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public final int getOffset() {
|
||||
return this.offset;
|
||||
}
|
||||
|
||||
public CloudEndpoint(ProtectedString protectedString2, int length2, int capacity2) {
|
||||
this.protectedString = protectedString2;
|
||||
this.length = length2;
|
||||
this.capacity = capacity2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
import com.doomsdayclient.exception.ClientRuntimeException;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
|
||||
public final class CloudException extends ClientRuntimeException {
|
||||
public CloudException() {}
|
||||
|
||||
public CloudException(ProtectedString text) {
|
||||
super(text);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
import com.doomsdayclient.bridge.CallMarker;
|
||||
import com.doomsdayclient.bridge.NativeBridge;
|
||||
import com.doomsdayclient.net.AbstractSocketStream;
|
||||
import com.doomsdayclient.net.BufferedSocketChannel;
|
||||
import com.doomsdayclient.net.ChunkedHttpStream;
|
||||
import com.doomsdayclient.text.ProtectedString;
|
||||
import com.doomsdayclient.text.ProtectedStringBuilder;
|
||||
import com.doomsdayclient.text.StringTable;
|
||||
|
||||
public final class CloudHttpEndpoint extends CloudEndpoint implements CallMarker {
|
||||
private final IpAddressParser ipAddressParser;
|
||||
public final EndpointSelector endpointSelector = new EndpointSelector();
|
||||
private ProtectedString protectedString2;
|
||||
|
||||
public CloudHttpEndpoint(ProtectedString text, int intValue) {
|
||||
super(text, intValue);
|
||||
this.ipAddressParser = IpAddressParser.getIpAddressParser(text);
|
||||
}
|
||||
|
||||
public CloudHttpEndpoint(
|
||||
ProtectedString text, IpAddressParser ipAddressParser2, int intValue, int intValue2) {
|
||||
super(text, intValue, intValue2);
|
||||
this.ipAddressParser = ipAddressParser2;
|
||||
}
|
||||
|
||||
public final IpAddressParser getIpAddressParser() {
|
||||
return this.ipAddressParser;
|
||||
}
|
||||
|
||||
public final ProtectedString getProtectedString2() {
|
||||
return this.protectedString2;
|
||||
}
|
||||
|
||||
public final AbstractSocketStream getAbstractSocketStre(NativeBridge nativeBridge) {
|
||||
if (super.length == count) {
|
||||
ProtectedString protectedString3 = super.protectedString;
|
||||
return new ChunkedHttpStream(
|
||||
new BufferedSocketChannel(nativeBridge),
|
||||
protectedString3,
|
||||
StringTable.STR_FONT_ARIAL_3_128_2_PNG);
|
||||
} else {
|
||||
return new BufferedSocketChannel(nativeBridge);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public final ProtectedString getProtectedString() {
|
||||
ProtectedStringBuilder builder;
|
||||
(builder = new ProtectedStringBuilder()).appendCallMarker(this.ipAddressParser);
|
||||
builder.appendChar(' ');
|
||||
builder.appendInt(super.capacity);
|
||||
builder.appendChar(' ');
|
||||
if (super.length == 0) {
|
||||
builder.appendProtectedCharSeque(StringTable.STR_PAST_TLS);
|
||||
} else if (super.length == count) {
|
||||
builder.appendProtectedCharSeque(StringTable.STR_OVER_HTTP);
|
||||
} else if (super.length == size) {
|
||||
builder.appendProtectedCharSeque(StringTable.STR_CUSTOM_PORT);
|
||||
}
|
||||
|
||||
return builder.getProtectedString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void setProtectedStringBui(ProtectedStringBuilder protectedStringBui) {
|
||||
protectedStringBui.appendProtectedCharSeque(this.getProtectedString());
|
||||
}
|
||||
|
||||
@Override
|
||||
public final boolean equals(Object other2) {
|
||||
if (this == other2) {
|
||||
return true;
|
||||
} else if (other2 == null) {
|
||||
return false;
|
||||
} else if (this.getClass() != other2.getClass()) {
|
||||
return false;
|
||||
} else {
|
||||
CloudHttpEndpoint other = (CloudHttpEndpoint) other2;
|
||||
if (this.ipAddressParser == null) {
|
||||
if (other.ipAddressParser != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!this.ipAddressParser.equals(other.ipAddressParser)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (super.length != other.length) {
|
||||
return false;
|
||||
} else {
|
||||
return (!(super.capacity != other.capacity));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
public abstract class CloudInboundPacket extends CloudPacket {
|
||||
public int index;
|
||||
|
||||
public final int getIndex() {
|
||||
return this.index;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
import com.doomsdayclient.util.thread.BridgeWorkerTask;
|
||||
|
||||
public final class CloudKeepAliveTask extends BridgeWorkerTask {
|
||||
private final CloudClient cloudClient;
|
||||
|
||||
public CloudKeepAliveTask(CloudClient cloudClient2) {
|
||||
super();
|
||||
this.cloudClient = cloudClient2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void execute() {
|
||||
CloudClient.setCloudClient(this.cloudClient);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
import com.doomsdayclient.util.io.ByteBufferWriter;
|
||||
|
||||
public abstract class CloudPacket {
|
||||
public abstract void setCloudClient(CloudClient cloudClient);
|
||||
|
||||
public abstract void setByteBufferWriter(ByteBufferWriter byteBufferWriter);
|
||||
|
||||
public abstract void applyByteBufferWriter(ByteBufferWriter byteBufferWriter);
|
||||
|
||||
public abstract int getInt();
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.doomsdayclient.cloud;
|
||||
|
||||
public abstract class CloudPacketEncoder extends CloudPacket {
|
||||
public final CloudClient cloudClient;
|
||||
public final int index;
|
||||
|
||||
public CloudPacketEncoder(CloudClient cloudClient2) {
|
||||
this.cloudClient = cloudClient2;
|
||||
this.index = cloudClient2.getInt();
|
||||
}
|
||||
|
||||
public final void execute() {
|
||||
this.cloudClient.setCloudPacket(this);
|
||||
}
|
||||
|
||||
public final void setInt(int intValue) {
|
||||
new PacketEncodeTask(this, intValue).tick();
|
||||
}
|
||||
}
|
||||
Loaded 100 of 2839 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user