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

Method getHotbarKeys

Minecraft-Utils/1.11.2/src/Variables.java:1004–1012  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getGameSettingsMethod · 0.95

Tested by

no test coverage detected