Added missing @Override annotations with Eclipse
This commit is contained in:
@@ -276,6 +276,7 @@ public abstract class AEBaseContainer extends Container
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canDragIntoSlot(Slot s)
|
||||
{
|
||||
return ((AppEngSlot) s).isDraggable;
|
||||
@@ -574,6 +575,7 @@ public abstract class AEBaseContainer extends Container
|
||||
super.detectAndSendChanges();
|
||||
}
|
||||
|
||||
@Override
|
||||
final public void updateProgressBar(int idx, int value)
|
||||
{
|
||||
if ( syncData.containsKey( idx ) )
|
||||
|
||||
@@ -28,6 +28,7 @@ public class ContainerCraftingTerm extends ContainerMEMonitorable implements IAE
|
||||
/**
|
||||
* Callback for when the crafting matrix is changed.
|
||||
*/
|
||||
@Override
|
||||
public void onCraftMatrixChanged(IInventory par1IInventory)
|
||||
{
|
||||
ContainerNull cn = new ContainerNull();
|
||||
|
||||
@@ -70,6 +70,7 @@ public class ContainerInscriber extends ContainerUpgradeable
|
||||
setupUpgrades();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isValidForSlot(Slot s, ItemStack is)
|
||||
{
|
||||
ItemStack PlateA = ti.getStackInSlot( 0 );
|
||||
|
||||
@@ -51,12 +51,14 @@ public class ContainerInterface extends ContainerUpgradeable
|
||||
setupUpgrades();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void loadSettingsFromHost(IConfigManager cm)
|
||||
{
|
||||
this.bMode = (YesNo) cm.getSetting( Settings.BLOCK );
|
||||
this.iTermMode = (YesNo) cm.getSetting( Settings.INTERFACE_TERMINAL );
|
||||
}
|
||||
|
||||
@Override
|
||||
public int availableUpgrades()
|
||||
{
|
||||
return 1;
|
||||
|
||||
@@ -103,6 +103,7 @@ public class ContainerLevelEmitter extends ContainerUpgradeable
|
||||
standardDetectAndSendChanges();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUpdate(String field, Object oldValue, Object newValue)
|
||||
{
|
||||
if ( field.equals( "EmitterValue" ) )
|
||||
|
||||
@@ -26,6 +26,7 @@ public class ContainerMAC extends ContainerUpgradeable
|
||||
tma = te;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int availableUpgrades()
|
||||
{
|
||||
return 5;
|
||||
|
||||
@@ -37,6 +37,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
||||
/**
|
||||
* Check if the stack is a valid item for this slot. Always true beside for the armor slots.
|
||||
*/
|
||||
@Override
|
||||
public boolean isItemValid(ItemStack par1ItemStack)
|
||||
{
|
||||
return false;
|
||||
@@ -46,6 +47,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
||||
* Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. Returns the new
|
||||
* stack.
|
||||
*/
|
||||
@Override
|
||||
public ItemStack decrStackSize(int par1)
|
||||
{
|
||||
if ( this.getHasStack() )
|
||||
@@ -60,6 +62,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
||||
* the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood. Typically increases an
|
||||
* internal count then calls onCrafting(item).
|
||||
*/
|
||||
@Override
|
||||
protected void onCrafting(ItemStack par1ItemStack, int par2)
|
||||
{
|
||||
this.amountCrafted += par2;
|
||||
@@ -69,6 +72,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
||||
/**
|
||||
* the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood.
|
||||
*/
|
||||
@Override
|
||||
protected void onCrafting(ItemStack par1ItemStack)
|
||||
{
|
||||
par1ItemStack.onCrafting( this.thePlayer.worldObj, this.thePlayer, this.amountCrafted );
|
||||
@@ -125,6 +129,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
|
||||
{
|
||||
FMLCommonHandler.instance().firePlayerCraftingEvent( par1EntityPlayer, par2ItemStack, craftMatrix );
|
||||
|
||||
Reference in New Issue
Block a user