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

Method getHotbarKeys

Minecraft-Utils/1.12.2/src/Variables.java:1003–1011  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1001 }
1002
1003 @Override
1004 public String[] getHotbarKeys() {
1005 String[] result = new String[9];
1006 bhy[] hotbarBindings = getGameSettings().ap;
1007 for (int i = 0; i < Math.min(result.length, hotbarBindings.length); i++) {
1008 result[i] = getKeyDisplayStringShort(hotbarBindings[i].j());
1009 }
1010 return result;
1011 }
1012
1013 @Override
1014 public String getKeyDisplayStringShort(int key) {

Callers

nothing calls this directly

Calls 2

getGameSettingsMethod · 0.95

Tested by

no test coverage detected