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

Method getHotbarKeys

Minecraft-Utils/1.9/src/Variables.java:952–960  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

950 }
951
952 @Override
953 public String[] getHotbarKeys() {
954 String[] result = new String[9];
955 bcc[] hotbarBindings = getGameSettings().ak;
956 for (int i = 0; i < Math.min(result.length, hotbarBindings.length); i++) {
957 result[i] = getKeyDisplayStringShort(hotbarBindings[i].j());
958 }
959 return result;
960 }
961
962 @Override
963 public String getKeyDisplayStringShort(int key) {

Callers

nothing calls this directly

Calls 2

getGameSettingsMethod · 0.95

Tested by

no test coverage detected