mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-18 03:25:38 +00:00
Update buildscript & apply automatic formatting rules
This commit is contained in:
1 parent
a7683b885d
commit
f7a900e910
173 files changed
+4581
-5321
No files matched your search
@@ -1,37 +1,29 @@
|
||||
package codechicken.nei;
|
||||
|
||||
import codechicken.lib.vec.Rectangle4i;
|
||||
import java.util.List;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public abstract class Widget
|
||||
{
|
||||
public Widget() {
|
||||
}
|
||||
public abstract class Widget {
|
||||
public Widget() {}
|
||||
|
||||
public abstract void draw(int mx, int my);
|
||||
|
||||
public void postDraw(int mx, int my) {
|
||||
}
|
||||
public void postDraw(int mx, int my) {}
|
||||
|
||||
public boolean handleClick(int mx, int my, int button) {
|
||||
return true;
|
||||
}
|
||||
|
||||
public void onGuiClick(int mx, int my) {
|
||||
}
|
||||
public void onGuiClick(int mx, int my) {}
|
||||
|
||||
public void mouseUp(int mx, int my, int button) {
|
||||
|
||||
}
|
||||
public void mouseUp(int mx, int my, int button) {}
|
||||
|
||||
public boolean handleKeyPress(int keyID, char keyChar) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void lastKeyTyped(int keyID, char keyChar) {
|
||||
}
|
||||
public void lastKeyTyped(int keyID, char keyChar) {}
|
||||
|
||||
public boolean handleClickExt(int mx, int my, int button) {
|
||||
return false;
|
||||
@@ -41,8 +33,7 @@ public abstract class Widget
|
||||
return false;
|
||||
}
|
||||
|
||||
public void update() {
|
||||
}
|
||||
public void update() {}
|
||||
|
||||
public Rectangle4i bounds() {
|
||||
return new Rectangle4i(x, y, w, h);
|
||||
@@ -56,18 +47,15 @@ public abstract class Widget
|
||||
return null;
|
||||
}
|
||||
|
||||
public void mouseDragged(int mx, int my, int button, long heldTime) {
|
||||
}
|
||||
public void mouseDragged(int mx, int my, int button, long heldTime) {}
|
||||
|
||||
public List<String> handleTooltip(int mx, int my, List<String> tooltip) {
|
||||
return tooltip;
|
||||
}
|
||||
|
||||
public void loseFocus() {
|
||||
}
|
||||
public void loseFocus() {}
|
||||
|
||||
public void gainFocus() {
|
||||
}
|
||||
public void gainFocus() {}
|
||||
|
||||
public int x;
|
||||
public int y;
|
||||
|
||||
Reference in new issue
Block a user