Removed Layers from API - I'm sick of people commenting on it.

This commit is contained in:
AlgorithmX2
2014-05-27 12:06:55 -05:00
parent ea936d3b72
commit eb8e8da0a2
11 changed files with 811 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
package appeng.api.parts.layers;
import net.minecraftforge.common.util.ForgeDirection;
import appeng.api.parts.IPart;
import appeng.api.parts.LayerBase;
import buildcraft.api.transport.IPipeConnection;
import buildcraft.api.transport.IPipeTile.PipeType;
public class LayerIPipeConnection extends LayerBase implements IPipeConnection
{
@Override
public ConnectOverride overridePipeConnection(PipeType type, ForgeDirection with)
{
IPart part = getPart( with );
if ( part instanceof IPipeConnection )
return ((IPipeConnection) part).overridePipeConnection( type, with );
return ConnectOverride.DEFAULT;
}
}