MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / getHotbarKeys

Method getHotbarKeys

Minecraft-Utils/1.10/src/Variables.java:992–1000  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

990 }
991
992 @Override
993 public String[] getHotbarKeys() {
994 String[] result = new String[9];
995 bcu[] hotbarBindings = getGameSettings().an;
996 for (int i = 0; i < Math.min(result.length, hotbarBindings.length); i++) {
997 result[i] = getKeyDisplayStringShort(hotbarBindings[i].j());
998 }
999 return result;
1000 }
1001
1002 @Override
1003 public String getKeyDisplayStringShort(int key) {

Callers

nothing calls this directly

Calls 2

getGameSettingsMethod · 0.95

Tested by

no test coverage detected