Initial commit
build-and-test / build (push) Waiting to run
Java-Compatibility / build (17) (push) Waiting to run
Java-Compatibility / build (21) (push) Waiting to run
Release Workflow / build-and-release (push) Waiting to run

This commit is contained in:
2026-09-20 01:56:07 +01:00
commit 82192a4802
943 changed files with 92762 additions and 0 deletions
@@ -0,0 +1,35 @@
package net.minecraft.server;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
public class AchievementMap {
public static AchievementMap a = new AchievementMap();
private Map b = new HashMap();
private AchievementMap() {
try {
BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(AchievementMap.class.getResourceAsStream("/achievement/map.txt")));
String s;
while ((s = bufferedreader.readLine()) != null) {
String[] astring = s.split(",");
int i = Integer.parseInt(astring[0]);
this.b.put(Integer.valueOf(i), astring[1]);
}
bufferedreader.close();
} catch (Exception exception) {
exception.printStackTrace();
}
}
public static String a(int i) {
return (String) a.b.get(Integer.valueOf(i));
}
}