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

Method a

Minecraft-Utils/1.8.9/src/ColorSelector.java:73–77  ·  view source on GitHub ↗

getHoverState @param b If the Mouse is over the button @return always 1, because we don't want this button to be able to get hovered.

(boolean b)

Source from the content-addressed store, hash-verified

71 * @return always 1, because we don't want this button to be able to get hovered.
72 */
73 @Override
74 protected int a(boolean b) {
75 setHovered(false);
76 return isEnabled() ? 1 : 0;
77 }
78
79 @Override
80 public boolean mouseClicked(int mouseX, int mouseY) {

Callers

nothing calls this directly

Calls 2

setHoveredMethod · 0.65
isEnabledMethod · 0.65

Tested by

no test coverage detected