public class HoverChecker
extends java.lang.Object
Constructor and Description |
---|
HoverChecker() |
HoverChecker(int top,
int bottom,
int left,
int right) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkHover(double mouseX,
double mouseY) |
void |
updateBounds(net.minecraft.client.gui.widget.button.Button button) |
void |
updateBounds(int top,
int bottom,
int left,
int right) |
void |
updateBounds(net.minecraft.client.renderer.Rectangle2d rect) |
public HoverChecker()
public HoverChecker(int top, int bottom, int left, int right)
public void updateBounds(net.minecraft.client.gui.widget.button.Button button)
public void updateBounds(int top, int bottom, int left, int right)
public void updateBounds(net.minecraft.client.renderer.Rectangle2d rect)
public boolean checkHover(double mouseX, double mouseY)