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

Method getHotbarKeys

Minecraft-Utils/1.13/src/Variables.java:1028–1036  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1026 }
1027
1028 @Override
1029 public String[] getHotbarKeys() {
1030 String[] result = new String[9];
1031 cfe[] hotbarBindings = getGameSettings().at;
1032 for (int i = 0; i < Math.min(result.length, hotbarBindings.length); i++) {
1033 result[i] = hotbarBindings[i].j();
1034 }
1035 return result;
1036 }
1037
1038 @Override
1039 public String getKeyDisplayStringShort(int key) {

Callers

nothing calls this directly

Calls 1

getGameSettingsMethod · 0.95

Tested by

no test coverage detected