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

Method mouseScrolled

Minecraft-Utils/1.13/src/GuiList.java:329–337  ·  view source on GitHub ↗
(double var1)

Source from the content-addressed store, hash-verified

327 }
328
329 @Override
330 public boolean mouseScrolled(double var1) {
331 if (!this.m() || !(mouseX >= getLeft() && mouseX <= getRight() && mouseY >= getTop() & mouseY <= getBottom())) {
332 return false;
333 } else {
334 this.o -= var1 * (double)this.l / 2.0D;
335 return true;
336 }
337 }
338
339 @Override
340 public void mouseClicked(int mouseX, int mouseY) {

Callers

nothing calls this directly

Calls 5

getLeftMethod · 0.95
getRightMethod · 0.95
getTopMethod · 0.95
getBottomMethod · 0.95
mMethod · 0.45

Tested by

no test coverage detected