This commit is contained in:
@@ -36,7 +36,7 @@ public class AENetworkProxy implements IGridBlock
|
||||
final private IGridProxyable gp;
|
||||
final private boolean worldNode;
|
||||
|
||||
final private ItemStack myRepInstance;
|
||||
private ItemStack myRepInstance;
|
||||
|
||||
private boolean isReady = false;
|
||||
private IGridNode node = null;
|
||||
@@ -57,7 +57,12 @@ public class AENetworkProxy implements IGridBlock
|
||||
{
|
||||
return myRepInstance;
|
||||
}
|
||||
|
||||
|
||||
public void setVisualRepresentation( ItemStack is )
|
||||
{
|
||||
myRepInstance = is;
|
||||
}
|
||||
|
||||
public AENetworkProxy(IGridProxyable te, String nbtName, ItemStack visual, boolean inWorld) {
|
||||
this.gp = te;
|
||||
this.nbtName = nbtName;
|
||||
|
||||
@@ -31,6 +31,8 @@ import appeng.util.Platform;
|
||||
public class TileQuantumBridge extends AENetworkInvTile implements IAEMultiBlock
|
||||
{
|
||||
|
||||
final private static ItemStack ring = AEApi.instance().blocks().blockQuantumRing.stack(1);
|
||||
|
||||
final int sidesRing[] = new int[] {};
|
||||
final int sidesLink[] = new int[] { 0 };
|
||||
|
||||
@@ -147,6 +149,14 @@ public class TileQuantumBridge extends AENetworkInvTile implements IAEMultiBlock
|
||||
{
|
||||
return !isInvalid();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onReady()
|
||||
{
|
||||
super.onReady();
|
||||
if ( worldObj.getBlock( xCoord, yCoord, zCoord) == AEApi.instance().blocks().blockQuantumRing.block() )
|
||||
gridProxy.setVisualRepresentation( ring );
|
||||
}
|
||||
|
||||
public void updateStatus(QuantumCluster c, byte flags)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user