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

Method getSelectedId

Minecraft-Utils/1.13/src/GuiList.java:475–482  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

473 }
474
475 @Override
476 public int getSelectedId() {
477 synchronized (rows) {
478 if (selected < 0 || selected > rows.size())
479 selected = setSelectedId(0);
480 }
481 return selected;
482 }
483
484 @Override
485 public int setSelectedId(int selected) {

Callers

nothing calls this directly

Calls 2

setSelectedIdMethod · 0.95
sizeMethod · 0.80

Tested by

no test coverage detected