mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 04:32:24 +00:00
Some reformat code for 1.11.2 source (#84)
* Optimized imports * Some code reformat * Some refactoring and code reformat * Some code reformat
This commit is contained in:
1 parent
886c36a308
commit
c3809fbc27
508 files changed
+6677
-6238
No files matched your search
@@ -22,10 +22,17 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
public class ControlLumbermillProgress extends ControlProgressBase {
|
||||
float oldProgress;
|
||||
float animation;
|
||||
static Texture Saw = new StandardTexture(0, 0, 6, 32, ExtraTreeTexture.Gui);
|
||||
static Texture Saw2 = new StandardTexture(2, 0, 4, 32, ExtraTreeTexture.Gui);
|
||||
float oldProgress;
|
||||
float animation;
|
||||
|
||||
protected ControlLumbermillProgress(final IWidget parent, final int x, final int y) {
|
||||
super(parent, x, y, 66, 18);
|
||||
this.oldProgress = 0;
|
||||
this.animation = 0;
|
||||
new Panel(this, 0, 0, 66, 18, MinecraftGUI.PanelType.Black);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUpdateClient() {
|
||||
@@ -82,12 +89,4 @@ public class ControlLumbermillProgress extends ControlProgressBase {
|
||||
GL11.glDisable(GL11.GL_SCISSOR_TEST);
|
||||
CraftGUI.render.texture(ControlLumbermillProgress.Saw2, new Point(sawX + 2, -8 + Math.round(6 * (float) Math.sin(this.animation))));
|
||||
}
|
||||
|
||||
protected ControlLumbermillProgress(final IWidget parent, final int x, final int y) {
|
||||
super(parent, x, y, 66, 18);
|
||||
this.oldProgress = 0;
|
||||
this.animation = 0;
|
||||
new Panel(this, 0, 0, 66, 18, MinecraftGUI.PanelType.Black);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user