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

Method getHotbarKeys

Minecraft-Utils/1.8.9/src/Variables.java:980–988  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

978 }
979
980 @Override
981 public String[] getHotbarKeys() {
982 String[] result = new String[9];
983 avb[] hotbarBindings = getGameSettings().aw;
984 for (int i = 0; i < Math.min(result.length, hotbarBindings.length); i++) {
985 result[i] = getKeyDisplayStringShort(hotbarBindings[i].i());
986 }
987 return result;
988 }
989
990 @Override
991 public String getKeyDisplayStringShort(int key) {

Callers

nothing calls this directly

Calls 2

getGameSettingsMethod · 0.95

Tested by

no test coverage detected