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