This commit is contained in:
@@ -36,7 +36,7 @@ public class AENetworkProxy implements IGridBlock
|
|||||||
final private IGridProxyable gp;
|
final private IGridProxyable gp;
|
||||||
final private boolean worldNode;
|
final private boolean worldNode;
|
||||||
|
|
||||||
final private ItemStack myRepInstance;
|
private ItemStack myRepInstance;
|
||||||
|
|
||||||
private boolean isReady = false;
|
private boolean isReady = false;
|
||||||
private IGridNode node = null;
|
private IGridNode node = null;
|
||||||
@@ -58,6 +58,11 @@ public class AENetworkProxy implements IGridBlock
|
|||||||
return myRepInstance;
|
return myRepInstance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setVisualRepresentation( ItemStack is )
|
||||||
|
{
|
||||||
|
myRepInstance = is;
|
||||||
|
}
|
||||||
|
|
||||||
public AENetworkProxy(IGridProxyable te, String nbtName, ItemStack visual, boolean inWorld) {
|
public AENetworkProxy(IGridProxyable te, String nbtName, ItemStack visual, boolean inWorld) {
|
||||||
this.gp = te;
|
this.gp = te;
|
||||||
this.nbtName = nbtName;
|
this.nbtName = nbtName;
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ import appeng.util.Platform;
|
|||||||
public class TileQuantumBridge extends AENetworkInvTile implements IAEMultiBlock
|
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 sidesRing[] = new int[] {};
|
||||||
final int sidesLink[] = new int[] { 0 };
|
final int sidesLink[] = new int[] { 0 };
|
||||||
|
|
||||||
@@ -148,6 +150,14 @@ public class TileQuantumBridge extends AENetworkInvTile implements IAEMultiBlock
|
|||||||
return !isInvalid();
|
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)
|
public void updateStatus(QuantumCluster c, byte flags)
|
||||||
{
|
{
|
||||||
clust = c;
|
clust = c;
|
||||||
|
|||||||
Reference in New Issue
Block a user