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

Method getHotbarKeys

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

Source from the content-addressed store, hash-verified

965 }
966
967 @Override
968 public String[] getHotbarKeys() {
969 String[] result = new String[9];
970 bsr[] hotbarBindings = getGameSettings().as;
971 for (int i = 0; i < Math.min(result.length, hotbarBindings.length); i++) {
972 result[i] = getKeyDisplayStringShort(hotbarBindings[i].i());
973 }
974 return result;
975 }
976
977 @Override
978 public String getKeyDisplayStringShort(int key) {

Callers

nothing calls this directly

Calls 2

getGameSettingsMethod · 0.95

Tested by

no test coverage detected