MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / getBuild

Method getBuild

src/main/java/net/minecraft/src/Config.java:203–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201 }
202
203 public static String getBuild() {
204 if (build == null) {
205 try {
206 InputStream inputstream = Config.class.getResourceAsStream("/buildof.txt");
207
208 if (inputstream == null) {
209 return null;
210 }
211
212 build = readLines(inputstream)[0];
213 } catch (Exception exception) {
214 warn("" + exception.getClass().getName() + ": " + exception.getMessage());
215 build = "";
216 }
217 }
218
219 return build;
220 }
221
222 public static boolean isFancyFogAvailable() {
223 return fancyFogAvailable;

Callers 2

extendCrashReportMethod · 0.95
checkOpenGlCapsMethod · 0.95

Calls 5

readLinesMethod · 0.95
warnMethod · 0.95
getResourceAsStreamMethod · 0.65
getNameMethod · 0.65
getMessageMethod · 0.45

Tested by

no test coverage detected