Fixes wrong interface names for BuildCraft Transport
This commit is contained in:
@@ -90,7 +90,7 @@ import appeng.util.prioitylist.FuzzyPriorityList;
|
|||||||
import appeng.util.prioitylist.PrecisePriorityList;
|
import appeng.util.prioitylist.PrecisePriorityList;
|
||||||
|
|
||||||
|
|
||||||
@Interface( iname = "BuildCraftCore", iface = "buildcraft.api.transport.IPipeConnection" )
|
@Interface( iname = "BuildCraftTransport", iface = "buildcraft.api.transport.IPipeConnection" )
|
||||||
public class PartStorageBus extends PartUpgradeable implements IGridTickable, ICellContainer, IMEMonitorHandlerReceiver<IAEItemStack>, IPipeConnection, IPriorityHost
|
public class PartStorageBus extends PartUpgradeable implements IGridTickable, ICellContainer, IMEMonitorHandlerReceiver<IAEItemStack>, IPipeConnection, IPriorityHost
|
||||||
{
|
{
|
||||||
final BaseActionSource mySrc;
|
final BaseActionSource mySrc;
|
||||||
@@ -565,7 +565,7 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Method( iname = "BuildCraftCore" )
|
@Method( iname = "BuildCraftTransport" )
|
||||||
public ConnectOverride overridePipeConnection( PipeType type, ForgeDirection with )
|
public ConnectOverride overridePipeConnection( PipeType type, ForgeDirection with )
|
||||||
{
|
{
|
||||||
return type == PipeType.ITEM && with == this.side ? ConnectOverride.CONNECT : ConnectOverride.DISCONNECT;
|
return type == PipeType.ITEM && with == this.side ? ConnectOverride.CONNECT : ConnectOverride.DISCONNECT;
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ import appeng.util.inv.WrapperChainedInventory;
|
|||||||
import appeng.util.inv.WrapperMCISidedInventory;
|
import appeng.util.inv.WrapperMCISidedInventory;
|
||||||
|
|
||||||
|
|
||||||
@Interface( iface = "buildcraft.api.transport.IPipeConnection", iname = "BuildCraftCore" )
|
@Interface( iface = "buildcraft.api.transport.IPipeConnection", iname = "BuildCraftTransport" )
|
||||||
public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeConnection, ISidedInventory, IGridTickable
|
public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeConnection, ISidedInventory, IGridTickable
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -384,7 +384,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Method( iname = "BuildCraftCore" )
|
@Method( iname = "BuildCraftTransport" )
|
||||||
public ConnectOverride overridePipeConnection( PipeType type, ForgeDirection with )
|
public ConnectOverride overridePipeConnection( PipeType type, ForgeDirection with )
|
||||||
{
|
{
|
||||||
return this.side == with && type == PipeType.ITEM ? ConnectOverride.CONNECT : ConnectOverride.DEFAULT;
|
return this.side == with && type == PipeType.ITEM ? ConnectOverride.CONNECT : ConnectOverride.DEFAULT;
|
||||||
|
|||||||
Reference in New Issue
Block a user