Dense/Cable can be defined more definitively by the Part Framework.

This commit is contained in:
AlgorithmX2
2014-01-30 12:54:09 -06:00
parent d1b67870e9
commit 6583ce8626
5 changed files with 64 additions and 41 deletions
+7
View File
@@ -18,6 +18,7 @@ import net.minecraft.util.Vec3;
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeDirection;
import appeng.api.networking.IGridNode;
import appeng.api.parts.BusSupport;
import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper;
import appeng.api.parts.IPartHost;
@@ -208,4 +209,10 @@ public class PartCableAnchor implements IPart
{
}
@Override
public boolean canBePlacedOn(BusSupport what)
{
return what == BusSupport.CABLE || what == BusSupport.DENSE_CABLE;
}
}