Added missing Override annotations
This commit is contained in:
@@ -90,6 +90,7 @@ public class BlockMolecularAssembler extends AEBaseTileBlock
|
||||
return layer == BlockRenderLayer.TRANSLUCENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isFullCube( IBlockState state )
|
||||
{
|
||||
return false;
|
||||
|
||||
@@ -15,6 +15,7 @@ import appeng.bootstrap.IBootstrapComponent;
|
||||
public interface ModelRegComponent extends IBootstrapComponent
|
||||
{
|
||||
|
||||
@Override
|
||||
void modelReg( Side side );
|
||||
|
||||
}
|
||||
|
||||
@@ -301,6 +301,7 @@ public final class ApiParts implements IParts
|
||||
return this.p2PTunnelRF;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IItemDefinition p2PTunnelFE()
|
||||
{
|
||||
return this.p2PTunnelFE;
|
||||
|
||||
@@ -187,6 +187,7 @@ public final class P2PTunnelRegistry implements IP2PTunnelRegistry
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addNewAttunement( @Nonnull final String modId, @Nullable final TunnelType type )
|
||||
{
|
||||
if( type == null || modId == null )
|
||||
|
||||
@@ -45,6 +45,7 @@ public abstract class BlockSlabCommon extends BlockSlab
|
||||
/**
|
||||
* Convert the given metadata into a BlockState for this Block
|
||||
*/
|
||||
@Override
|
||||
public IBlockState getStateFromMeta( int meta )
|
||||
{
|
||||
IBlockState iblockstate = this.getDefaultState().withProperty( VARIANT, Variant.DEFAULT );
|
||||
@@ -60,6 +61,7 @@ public abstract class BlockSlabCommon extends BlockSlab
|
||||
/**
|
||||
* Convert the BlockState into the correct metadata value
|
||||
*/
|
||||
@Override
|
||||
public int getMetaFromState( IBlockState state )
|
||||
{
|
||||
int i = 0;
|
||||
@@ -72,17 +74,20 @@ public abstract class BlockSlabCommon extends BlockSlab
|
||||
return i;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected BlockStateContainer createBlockState()
|
||||
{
|
||||
return this.isDouble() ? new BlockStateContainer( this, VARIANT ) : new BlockStateContainer( this, HALF, VARIANT );
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public Item getItemDropped( IBlockState state, Random rand, int fortune )
|
||||
{
|
||||
return Item.getItemFromBlock( this );
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getItem( World worldIn, BlockPos pos, IBlockState state )
|
||||
{
|
||||
return new ItemStack( this, 1, 0 );
|
||||
@@ -117,17 +122,20 @@ public abstract class BlockSlabCommon extends BlockSlab
|
||||
this.halfSlabBlock = halfSlabBlock;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDouble()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public Item getItemDropped( IBlockState state, Random rand, int fortune )
|
||||
{
|
||||
return Item.getItemFromBlock( this.halfSlabBlock );
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getItem( World worldIn, BlockPos pos, IBlockState state )
|
||||
{
|
||||
return new ItemStack( this.halfSlabBlock, 1, 0 );
|
||||
@@ -143,6 +151,7 @@ public abstract class BlockSlabCommon extends BlockSlab
|
||||
super( block );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDouble()
|
||||
{
|
||||
return false;
|
||||
@@ -153,6 +162,7 @@ public abstract class BlockSlabCommon extends BlockSlab
|
||||
{
|
||||
DEFAULT;
|
||||
|
||||
@Override
|
||||
public String getName()
|
||||
{
|
||||
return "default";
|
||||
|
||||
@@ -34,6 +34,7 @@ class GrinderRecipeHandler implements IRecipeHandler<IGrinderRecipe>
|
||||
return IGrinderRecipe.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRecipeCategoryUid( IGrinderRecipe recipe )
|
||||
{
|
||||
return GrinderRecipeCategory.UID;
|
||||
|
||||
@@ -52,6 +52,7 @@ public class AppEngInternalAEInventory implements IInventory, Iterable<ItemStack
|
||||
this.inv = new IAEItemStack[s];
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty()
|
||||
{
|
||||
for( int x = 0; x < this.size; x++ )
|
||||
|
||||
@@ -48,6 +48,7 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
|
||||
this.inv = new ItemStack[size];
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty()
|
||||
{
|
||||
for( int x = 0; x < this.size; x++ )
|
||||
|
||||
Reference in New Issue
Block a user