Fixed casing of partChanged, and directionTo
This commit is contained in:
@@ -423,7 +423,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void PartChanged()
|
public void partChanged()
|
||||||
{
|
{
|
||||||
// nothing!
|
// nothing!
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
|
|||||||
updateDynamicRender();
|
updateDynamicRender();
|
||||||
updateConnections();
|
updateConnections();
|
||||||
markForUpdate();
|
markForUpdate();
|
||||||
PartChanged();
|
partChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -237,7 +237,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
|
|||||||
|
|
||||||
updateConnections();
|
updateConnections();
|
||||||
markForUpdate();
|
markForUpdate();
|
||||||
PartChanged();
|
partChanged();
|
||||||
return ForgeDirection.UNKNOWN;
|
return ForgeDirection.UNKNOWN;
|
||||||
}
|
}
|
||||||
else if ( !(bp instanceof IPartCable) && side != ForgeDirection.UNKNOWN )
|
else if ( !(bp instanceof IPartCable) && side != ForgeDirection.UNKNOWN )
|
||||||
@@ -280,7 +280,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
|
|||||||
updateDynamicRender();
|
updateDynamicRender();
|
||||||
updateConnections();
|
updateConnections();
|
||||||
markForUpdate();
|
markForUpdate();
|
||||||
PartChanged();
|
partChanged();
|
||||||
return side;
|
return side;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -854,7 +854,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void PartChanged()
|
public void partChanged()
|
||||||
{
|
{
|
||||||
if ( center == null )
|
if ( center == null )
|
||||||
{
|
{
|
||||||
@@ -877,7 +877,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tcb.PartChanged();
|
tcb.partChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements i
|
|||||||
@Override
|
@Override
|
||||||
public void onChange()
|
public void onChange()
|
||||||
{
|
{
|
||||||
getHost().PartChanged();
|
getHost().partChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getPowerDrainPerTick()
|
public float getPowerDrainPerTick()
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
|
|||||||
oldSize = getDest().getSizeInventory();
|
oldSize = getDest().getSizeInventory();
|
||||||
if ( olderSize != oldSize )
|
if ( olderSize != oldSize )
|
||||||
{
|
{
|
||||||
getHost().PartChanged();
|
getHost().partChanged();
|
||||||
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
|
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -177,7 +177,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
|
|||||||
oldSize = getDest().getSizeInventory();
|
oldSize = getDest().getSizeInventory();
|
||||||
if ( olderSize != oldSize )
|
if ( olderSize != oldSize )
|
||||||
{
|
{
|
||||||
getHost().PartChanged();
|
getHost().partChanged();
|
||||||
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
|
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -193,7 +193,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
|
|||||||
oldSize = getDest().getSizeInventory();
|
oldSize = getDest().getSizeInventory();
|
||||||
if ( olderSize != oldSize )
|
if ( olderSize != oldSize )
|
||||||
{
|
{
|
||||||
getHost().PartChanged();
|
getHost().partChanged();
|
||||||
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
|
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -209,7 +209,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
|
|||||||
oldSize = getDest().getSizeInventory();
|
oldSize = getDest().getSizeInventory();
|
||||||
if ( olderSize != oldSize )
|
if ( olderSize != oldSize )
|
||||||
{
|
{
|
||||||
getHost().PartChanged();
|
getHost().partChanged();
|
||||||
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
|
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -246,7 +246,7 @@ public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomColl
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void PartChanged()
|
public void partChanged()
|
||||||
{
|
{
|
||||||
// nothing!
|
// nothing!
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user