MCPcopy Create free account
hub / github.com/demoth/jake2 / WriteBindings

Method WriteBindings

client/src/main/java/jake2/client/Key.java:979–985  ·  view source on GitHub ↗
(RandomAccessFile f)

Source from the content-addressed store, hash-verified

977 }
978
979 static void WriteBindings(RandomAccessFile f) {
980 for (int i = 0; i < 256; i++)
981 if (ClientGlobals.keybindings[i] != null && ClientGlobals.keybindings[i].length() > 0)
982 try {
983 f.writeBytes("bind " + KeynumToString(i) + " \"" + ClientGlobals.keybindings[i] + "\"\n");
984 } catch (IOException e) {}
985 }
986
987}

Callers 1

WriteConfigurationMethod · 0.95

Calls 2

KeynumToStringMethod · 0.95
writeBytesMethod · 0.80

Tested by

no test coverage detected