Added missing @Override annotations
This commit is contained in:
parent
2e7efb3660
commit
035dc244ff
|
@ -51,6 +51,7 @@ public class BakingPipeline<F, T> implements BakingPipelineElement<F, T>
|
||||||
/**
|
/**
|
||||||
* TODO: fix generics
|
* TODO: fix generics
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public List pipe( List things, IBakedModel parent, IBlockState state, EnumFacing side, long rand )
|
public List pipe( List things, IBakedModel parent, IBlockState state, EnumFacing side, long rand )
|
||||||
{
|
{
|
||||||
for( BakingPipelineElement pipe : pipeline )
|
for( BakingPipelineElement pipe : pipeline )
|
||||||
|
|
|
@ -234,6 +234,7 @@ public interface IPart extends IBoxProvider, ICustomCableConnection
|
||||||
* @return 0 - 8, reasonable default 3-4, this controls the cable connection to the node. -1 to render connection
|
* @return 0 - 8, reasonable default 3-4, this controls the cable connection to the node. -1 to render connection
|
||||||
* yourself.
|
* yourself.
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public float getCableConnectionLength( AECableType cable );
|
public float getCableConnectionLength( AECableType cable );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -409,6 +409,7 @@ public abstract class AEBaseBlock extends Block
|
||||||
return this.getUnlocalizedName();
|
return this.getUnlocalizedName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void addInformation( final ItemStack is, final EntityPlayer player, final List<String> lines, final boolean advancedItemTooltips )
|
public void addInformation( final ItemStack is, final EntityPlayer player, final List<String> lines, final boolean advancedItemTooltips )
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -189,6 +189,7 @@ public class BlockLightDetector extends AEBaseTileBlock implements IOrientableBl
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly( Side.CLIENT)
|
@SideOnly( Side.CLIENT)
|
||||||
public BlockRenderLayer getBlockLayer()
|
public BlockRenderLayer getBlockLayer()
|
||||||
{
|
{
|
||||||
|
|
|
@ -214,6 +214,7 @@ public class BlockQuartzFixture extends AEBaseBlock implements IOrientableBlock,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public BlockRenderLayer getBlockLayer()
|
public BlockRenderLayer getBlockLayer()
|
||||||
{
|
{
|
||||||
|
|
|
@ -129,6 +129,7 @@ class BlockDefinitionBuilder implements IBlockBuilder
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public BlockDefinitionBuilder rendering( BlockRenderingCustomizer callback )
|
public BlockDefinitionBuilder rendering( BlockRenderingCustomizer callback )
|
||||||
{
|
{
|
||||||
if( Platform.isClient() )
|
if( Platform.isClient() )
|
||||||
|
|
|
@ -58,6 +58,7 @@ class BlockRendering implements IBlockRendering
|
||||||
@SideOnly( Side.CLIENT )
|
@SideOnly( Side.CLIENT )
|
||||||
private Map<String, IModel> builtInModels = new HashMap<>();
|
private Map<String, IModel> builtInModels = new HashMap<>();
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly( Side.CLIENT )
|
@SideOnly( Side.CLIENT )
|
||||||
public IBlockRendering modelCustomizer( BiFunction<ModelResourceLocation, IBakedModel, IBakedModel> customizer )
|
public IBlockRendering modelCustomizer( BiFunction<ModelResourceLocation, IBakedModel, IBakedModel> customizer )
|
||||||
{
|
{
|
||||||
|
|
|
@ -144,6 +144,7 @@ class ItemDefinitionBuilder implements IItemBuilder
|
||||||
callback.customize( itemRendering );
|
callback.customize( itemRendering );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public ItemDefinition build()
|
public ItemDefinition build()
|
||||||
{
|
{
|
||||||
if( !AEConfig.instance.areFeaturesEnabled( features ) )
|
if( !AEConfig.instance.areFeaturesEnabled( features ) )
|
||||||
|
|
|
@ -254,6 +254,7 @@ public class AutoRotatingModel implements IBakedModel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setQuadTint( int tint )
|
public void setQuadTint( int tint )
|
||||||
{
|
{
|
||||||
parent.setQuadTint( tint );
|
parent.setQuadTint( tint );
|
||||||
|
|
|
@ -283,6 +283,7 @@ public enum UVLModelLoader implements ICustomModelLoader
|
||||||
|
|
||||||
public class BlockPartFaceOverrideSerializer implements JsonDeserializer<BlockPartFace>
|
public class BlockPartFaceOverrideSerializer implements JsonDeserializer<BlockPartFace>
|
||||||
{
|
{
|
||||||
|
@Override
|
||||||
public BlockPartFace deserialize( JsonElement p_deserialize_1_, Type p_deserialize_2_, JsonDeserializationContext p_deserialize_3_ ) throws JsonParseException
|
public BlockPartFace deserialize( JsonElement p_deserialize_1_, Type p_deserialize_2_, JsonDeserializationContext p_deserialize_3_ ) throws JsonParseException
|
||||||
{
|
{
|
||||||
JsonObject jsonobject = p_deserialize_1_.getAsJsonObject();
|
JsonObject jsonobject = p_deserialize_1_.getAsJsonObject();
|
||||||
|
|
|
@ -194,6 +194,7 @@ public class AEBaseTile extends TileEntity implements ITickable, IOrientable, IC
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public final void update()
|
public final void update()
|
||||||
{
|
{
|
||||||
for( final AETileEventHandler h : this.getHandlerListFor( TileEventType.TICK ) )
|
for( final AETileEventHandler h : this.getHandlerListFor( TileEventType.TICK ) )
|
||||||
|
|
|
@ -39,21 +39,25 @@ public class UVLightmapJsonTest
|
||||||
|
|
||||||
final AxisAlignedBB box = new AxisAlignedBB( 0.25, 0, 7 / 16d, 0.75, 1, 9 / 16d );
|
final AxisAlignedBB box = new AxisAlignedBB( 0.25, 0, 7 / 16d, 0.75, 1, 9 / 16d );
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isFullBlock( IBlockState state )
|
public boolean isFullBlock( IBlockState state )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isOpaqueCube( IBlockState state )
|
public boolean isOpaqueCube( IBlockState state )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public AxisAlignedBB getBoundingBox( IBlockState state, IBlockAccess source, BlockPos pos )
|
public AxisAlignedBB getBoundingBox( IBlockState state, IBlockAccess source, BlockPos pos )
|
||||||
{
|
{
|
||||||
return box;
|
return box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public BlockRenderLayer getBlockLayer()
|
public BlockRenderLayer getBlockLayer()
|
||||||
{
|
{
|
||||||
return BlockRenderLayer.CUTOUT;
|
return BlockRenderLayer.CUTOUT;
|
||||||
|
|
Loading…
Reference in a new issue