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

Method getSelectedId

Minecraft-Utils/1.8/src/GuiList.java:508–515  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

506 }
507
508 @Override
509 public int getSelectedId() {
510 synchronized (rows) {
511 if (selected < 0 || selected > rows.size())
512 selected = setSelectedId(0);
513 }
514 return selected;
515 }
516
517 @Override
518 public int setSelectedId(int selected) {

Callers

nothing calls this directly

Calls 2

setSelectedIdMethod · 0.95
sizeMethod · 0.80

Tested by

no test coverage detected