Added missing @Override annotations with Eclipse

This commit is contained in:
Andrew
2014-09-28 11:34:00 -07:00
parent b6273d9c0c
commit 8514e32f5f
92 changed files with 197 additions and 1 deletions
@@ -414,6 +414,7 @@ public abstract class AEBaseGui extends GuiContainer
super.handleMouseClick( slot, slotIdx, ctrlDown, key );
}
@Override
protected void mouseClickMove(int x, int y, int c, long d)
{
Slot slot = this.getSlot( x, y );
@@ -142,6 +142,7 @@ public class GuiCellWorkbench extends GuiUpgradeable
buttonList.add( copyMode );
}
@Override
protected void handleButtonVisibility()
{
copyMode.setState( workbench.copyMode == CopyMode.CLEAR_ON_REMOVE );
@@ -160,11 +161,13 @@ public class GuiCellWorkbench extends GuiUpgradeable
fuzzyMode.setVisibility( hasFuzzy );
}
@Override
protected String getBackground()
{
return "guis/cellworkbench.png";
}
@Override
protected GuiText getName()
{
return GuiText.CellWorkbench;
@@ -67,6 +67,7 @@ public class GuiCraftingTerm extends GuiMEMonitorable
reservedSpace = 73;
}
@Override
protected String getBackground()
{
return "guis/crafting.png";
@@ -70,6 +70,7 @@ public class GuiFormationPlane extends GuiUpgradeable
}
}
@Override
protected String getBackground()
{
return "guis/storagebus.png";
@@ -88,6 +88,7 @@ public class GuiIOPort extends GuiUpgradeable
}
}
@Override
protected String getBackground()
{
return "guis/ioport.png";
@@ -81,6 +81,7 @@ public class GuiInterface extends GuiUpgradeable
buttonList.add( interfaceMode );
}
@Override
protected String getBackground()
{
return "guis/interface.png";
@@ -148,6 +148,7 @@ public class GuiLevelEmitter extends GuiUpgradeable
}
}
@Override
protected void handleButtonVisibility()
{
craftingMode.setVisibility( bc.getInstalledUpgrades( Upgrades.CRAFTING ) > 0 );
@@ -226,11 +227,13 @@ public class GuiLevelEmitter extends GuiUpgradeable
level.drawTextBox();
}
@Override
protected String getBackground()
{
return "guis/lvlemitter.png";
}
@Override
protected GuiText getName()
{
return GuiText.LevelEmitter;
@@ -50,6 +50,7 @@ public class GuiMAC extends GuiUpgradeable
buttonList.add( redstoneMode );
}
@Override
protected String getBackground()
{
return "guis/mac.png";
@@ -61,6 +62,7 @@ public class GuiMAC extends GuiUpgradeable
this.container = (ContainerMAC) this.inventorySlots;
}
@Override
protected GuiText getName()
{
return GuiText.MolecularAssembler;
@@ -459,6 +459,7 @@ public class GuiMEMonitorable extends AEBaseMEGui implements ISortSource, IConfi
repo.updateView();
}
@Override
protected boolean isPowered()
{
return repo.hasPower();
@@ -83,6 +83,7 @@ public class GuiPatternTerm extends GuiMEMonitorable
// }
}
@Override
protected void repositionSlot(AppEngSlot s)
{
if ( s.isPlayerSide() )
@@ -97,6 +98,7 @@ public class GuiPatternTerm extends GuiMEMonitorable
reservedSpace = 81;
}
@Override
protected String getBackground()
{
if ( container.craftingMode )
@@ -50,6 +50,7 @@ public class GuiSecurity extends GuiMEMonitorable
.getUnlocalizedName(), SecurityPermissions.SECURITY.getUnlocalizedTip() ) );
}
@Override
protected void actionPerformed(net.minecraft.client.gui.GuiButton btn)
{
super.actionPerformed( btn );
@@ -81,6 +82,7 @@ public class GuiSecurity extends GuiMEMonitorable
}
@Override
protected String getBackground()
{
ContainerSecurity cs = (ContainerSecurity) inventorySlots;
@@ -109,6 +109,7 @@ public class GuiStorageBus extends GuiUpgradeable
}
}
@Override
protected String getBackground()
{
return "guis/storagebus.png";
@@ -370,6 +370,7 @@ public class BusRenderHelper implements IPartRenderHelper
BusRenderer.instance.renderer.renderFaces = faces;
}
@Override
public void renderBlockCurrentBounds(int x, int y, int z, RenderBlocks renderer)
{
if ( !renderThis() )
@@ -21,6 +21,7 @@ public class CraftingFx extends EntityBreakingFX
private int startBlkY;
private int startBlkZ;
@Override
public int getFXLayer()
{
return 1;
@@ -50,6 +51,7 @@ public class CraftingFx extends EntityBreakingFX
this.particleScale *= 0.8f;
}
@Override
public void onUpdate()
{
super.onUpdate();
@@ -57,6 +59,7 @@ public class CraftingFx extends EntityBreakingFX
this.particleAlpha *= 0.51f;
}
@Override
public void renderParticle(Tessellator par1Tessellator, float partialTick, float x, float y, float z, float rx, float rz)
{
if ( partialTick < 0 || partialTick > 1 )
@@ -21,6 +21,7 @@ public class EnergyFx extends EntityBreakingFX
private int startBlkY;
private int startBlkZ;
@Override
public int getFXLayer()
{
return 1;
@@ -49,6 +50,7 @@ public class EnergyFx extends EntityBreakingFX
this.particleScale *= 0.8f;
}
@Override
public void onUpdate()
{
super.onUpdate();
@@ -56,6 +58,7 @@ public class EnergyFx extends EntityBreakingFX
this.particleAlpha *= 0.89f;
}
@Override
public void renderParticle(Tessellator par1Tessellator, float par2, float par3, float par4, float par5, float par6, float par7)
{
float f6 = this.particleTextureIndex.getMinU();