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

Method getDisplayModeNames

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

Source from the content-addressed store, hash-verified

1156 }
1157
1158 public static String[] getDisplayModeNames() {
1159 DisplayMode[] adisplaymode = getDisplayModes();
1160 String[] astring = new String[adisplaymode.length];
1161
1162 for (int i = 0; i < adisplaymode.length; ++i) {
1163 DisplayMode displaymode = adisplaymode[i];
1164 String s = "" + displaymode.getWidth() + "x" + displaymode.getHeight();
1165 astring[i] = s;
1166 }
1167
1168 return astring;
1169 }
1170
1171 public static DisplayMode getDisplayMode(Dimension p_getDisplayMode_0_) throws LWJGLException {
1172 DisplayMode[] adisplaymode = getDisplayModes();

Callers 2

setOptionFloatValueOFMethod · 0.95
getOptionFloatValueOFMethod · 0.95

Calls 3

getDisplayModesMethod · 0.95
getWidthMethod · 0.45
getHeightMethod · 0.45

Tested by

no test coverage detected