Fix all warnings

Add and make use of Lombok
Remove Mojang API
Remove ZipFileUtils
Remove StreamTools in favor of Apache IOUtils
Keyframe should be abstract all derivatives final
Replace clone in Keyframe with copy
Move some constants from GuiReplaySetttings to GuiConstants
This commit is contained in:
johni0702
2015-06-29 21:45:37 +02:00
parent 3122c0a71e
commit a058497727
110 changed files with 487 additions and 1921 deletions

View File

@@ -5,22 +5,10 @@ import net.minecraft.client.gui.GuiButton;
public class GuiAdvancedButton extends GuiButton implements GuiElement {
public GuiAdvancedButton(int x, int y, String buttonText) {
this(0, x, y, buttonText);
}
public GuiAdvancedButton(int x, int y, int widthIn, int heightIn, String buttonText) {
this(0, x, y, widthIn, heightIn, buttonText);
}
public GuiAdvancedButton(int id, int x, int y, String buttonText) {
super(id, x, y, buttonText);
}
public GuiAdvancedButton(int id, int x, int y, int widthIn, int heightIn, String buttonText) {
super(id, x, y, widthIn, heightIn, buttonText);
}
@Override
public void draw(Minecraft mc, int mouseX, int mouseY) {
drawButton(mc, mouseX, mouseY);