The Great Renamening of 2020
This commit is contained in:
@@ -40,7 +40,7 @@ import appeng.api.util.WorldCoord;
|
||||
import appeng.core.AELog;
|
||||
import appeng.me.cache.helpers.ConnectionWrapper;
|
||||
import appeng.me.cluster.IAECluster;
|
||||
import appeng.tile.qnb.TileQuantumBridge;
|
||||
import appeng.tile.qnb.QuantumBridgeTileEntity;
|
||||
import appeng.util.iterators.ChainedIterator;
|
||||
|
||||
public class QuantumCluster implements ILocatable, IAECluster {
|
||||
@@ -49,17 +49,17 @@ public class QuantumCluster implements ILocatable, IAECluster {
|
||||
private final WorldCoord max;
|
||||
private boolean isDestroyed = false;
|
||||
private boolean updateStatus = true;
|
||||
private TileQuantumBridge[] Ring;
|
||||
private QuantumBridgeTileEntity[] Ring;
|
||||
private boolean registered = false;
|
||||
private ConnectionWrapper connection;
|
||||
private long thisSide;
|
||||
private long otherSide;
|
||||
private TileQuantumBridge center;
|
||||
private QuantumBridgeTileEntity center;
|
||||
|
||||
public QuantumCluster(final WorldCoord min, final WorldCoord max) {
|
||||
this.min = min;
|
||||
this.max = max;
|
||||
this.setRing(new TileQuantumBridge[8]);
|
||||
this.setRing(new QuantumBridgeTileEntity[8]);
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
@@ -208,12 +208,12 @@ public class QuantumCluster implements ILocatable, IAECluster {
|
||||
|
||||
this.center.updateStatus(null, (byte) -1, this.isUpdateStatus());
|
||||
|
||||
for (final TileQuantumBridge r : this.getRing()) {
|
||||
for (final QuantumBridgeTileEntity r : this.getRing()) {
|
||||
r.updateStatus(null, (byte) -1, this.isUpdateStatus());
|
||||
}
|
||||
|
||||
this.center = null;
|
||||
this.setRing(new TileQuantumBridge[8]);
|
||||
this.setRing(new QuantumBridgeTileEntity[8]);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -222,7 +222,7 @@ public class QuantumCluster implements ILocatable, IAECluster {
|
||||
this.getRing()[4], this.getRing()[5], this.getRing()[6], this.getRing()[7], this.center);
|
||||
}
|
||||
|
||||
public boolean isCorner(final TileQuantumBridge tileQuantumBridge) {
|
||||
public boolean isCorner(final QuantumBridgeTileEntity tileQuantumBridge) {
|
||||
return this.getRing()[0] == tileQuantumBridge || this.getRing()[2] == tileQuantumBridge
|
||||
|| this.getRing()[4] == tileQuantumBridge || this.getRing()[6] == tileQuantumBridge;
|
||||
}
|
||||
@@ -232,11 +232,11 @@ public class QuantumCluster implements ILocatable, IAECluster {
|
||||
return this.thisSide;
|
||||
}
|
||||
|
||||
public TileQuantumBridge getCenter() {
|
||||
public QuantumBridgeTileEntity getCenter() {
|
||||
return this.center;
|
||||
}
|
||||
|
||||
void setCenter(final TileQuantumBridge c) {
|
||||
void setCenter(final QuantumBridgeTileEntity c) {
|
||||
this.registered = true;
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
this.center = c;
|
||||
@@ -250,11 +250,11 @@ public class QuantumCluster implements ILocatable, IAECluster {
|
||||
this.updateStatus = updateStatus;
|
||||
}
|
||||
|
||||
TileQuantumBridge[] getRing() {
|
||||
QuantumBridgeTileEntity[] getRing() {
|
||||
return this.Ring;
|
||||
}
|
||||
|
||||
private void setRing(final TileQuantumBridge[] ring) {
|
||||
private void setRing(final QuantumBridgeTileEntity[] ring) {
|
||||
this.Ring = ring;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user