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

Method a

Minecraft-Utils/1.10/src/GuiList.java:66–77  ·  view source on GitHub ↗

Element clicked @param id The id of the Row. @param doubleClick If the Row has been Double-Clicked. @param mouseX The x-coordinate of the Mouse. @param mouseY The y-coordinate of the Mouse.

(int id, boolean doubleClick, int mouseX, int mouseY)

Source from the content-addressed store, hash-verified

64 * @param mouseY The y-coordinate of the Mouse.
65 */
66 @Override
67 protected void a(int id, boolean doubleClick, int mouseX, int mouseY) {
68 selected = id;
69 boolean var5 = (GuiList.this.selected >= 0) && (GuiList.this.selected < b());
70 if (var5) {
71 if (clickable != null) {
72 synchronized (rows) {
73 onSelect(id, rows.get(id), doubleClick);
74 }
75 }
76 }
77 }
78
79 @Override
80 public void onSelect(int id, E row, boolean doubleClick) {

Callers 4

drawScreenMethod · 0.95
bMethod · 0.95
handleMouseInputMethod · 0.95
setHeaderPaddingMethod · 0.95

Calls 15

bMethod · 0.95
onSelectMethod · 0.95
isSelectedMethod · 0.95
drawSlotMethod · 0.95
calculateHeightMapMethod · 0.95
dMethod · 0.95
cMethod · 0.95
getVarsMethod · 0.95
getLeftMethod · 0.95
getTopMethod · 0.95
getRightMethod · 0.95

Tested by

no test coverage detected