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

Class Config

src/main/java/net/minecraft/src/Config.java:79–1990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77import org.lwjgl.opengl.PixelFormat;
78
79public class Config {
80 public static final String OF_NAME = "OptiFine";
81 public static final String MC_VERSION = "1.8.9";
82 public static final String OF_EDITION = "HD_U";
83 public static final String OF_RELEASE = "L5";
84 public static final String VERSION = "OptiFine_1.8.9_HD_U_L5";
85 private static String build = null;
86 private static String newRelease = null;
87 private static boolean notify64BitJava = false;
88 public static String openGlVersion = null;
89 public static String openGlRenderer = null;
90 public static String openGlVendor = null;
91 public static String[] openGlExtensions = null;
92 public static GlVersion glVersion = null;
93 public static GlVersion glslVersion = null;
94 public static int minecraftVersionInt = -1;
95 public static boolean fancyFogAvailable = false;
96 public static boolean occlusionAvailable = false;
97 private static GameSettings gameSettings = null;
98 private static Minecraft minecraft = Minecraft.getMinecraft();
99 private static boolean initialized = false;
100 private static Thread minecraftThread = null;
101 private static DisplayMode desktopDisplayMode = null;
102 private static DisplayMode[] displayModes = null;
103 private static int antialiasingLevel = 0;
104 private static int availableProcessors = 0;
105 public static boolean zoomMode = false;
106 private static int texturePackClouds = 0;
107 public static boolean waterOpacityChanged = false;
108 private static boolean fullscreenModeChecked = false;
109 private static boolean desktopModeChecked = false;
110 private static DefaultResourcePack defaultResourcePackLazy = null;
111 public static final Float DEF_ALPHA_FUNC_LEVEL = 0.1F;
112 private static final Logger LOGGER = LogManager.getLogger();
113 public static final boolean logDetail = System.getProperty("log.detail", "false").equals("true");
114 private static String mcDebugLast = null;
115 private static int fpsMinLast = 0;
116 public static float renderPartialTicks;
117
118 public static String getVersion() {
119 return "OptiFine_1.8.9_HD_U_L5";
120 }
121
122 public static String getVersionDebug() {
123 StringBuffer stringbuffer = new StringBuffer(32);
124
125 if (isDynamicLights()) {
126 stringbuffer.append("DL: ");
127 stringbuffer.append(DynamicLights.getCount());
128 stringbuffer.append(", ");
129 }
130
131 stringbuffer.append("OptiFine_1.8.9_HD_U_L5");
132 String s = Shaders.getShaderPackName();
133
134 if (s != null) {
135 stringbuffer.append(", ");
136 stringbuffer.append(s);

Callers

nothing calls this directly

Calls 4

getMinecraftMethod · 0.95
getLoggerMethod · 0.45
equalsMethod · 0.45
getPropertyMethod · 0.45

Tested by

no test coverage detected