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

Method getHotbarKeys

Minecraft-Utils/1.9.4/src/Variables.java:959–967  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

957 }
958
959 @Override
960 public String[] getHotbarKeys() {
961 String[] result = new String[9];
962 bca[] hotbarBindings = getGameSettings().al;
963 for (int i = 0; i < Math.min(result.length, hotbarBindings.length); i++) {
964 result[i] = getKeyDisplayStringShort(hotbarBindings[i].j());
965 }
966 return result;
967 }
968
969 @Override
970 public String getKeyDisplayStringShort(int key) {

Callers

nothing calls this directly

Calls 2

getGameSettingsMethod · 0.95

Tested by

no test coverage detected