Capitalised enums to match conventions
This commit is contained in:
@@ -106,7 +106,7 @@ public class GridNode implements IGridNode, IPathItem
|
||||
this.connections.add( gridConnection );
|
||||
if( gridConnection.hasDirection() )
|
||||
{
|
||||
this.gridProxy.onGridNotification( GridNotification.ConnectionsChanged );
|
||||
this.gridProxy.onGridNotification( GridNotification.CONNECTIONS_CHANGED );
|
||||
}
|
||||
|
||||
final IGridNode gn = this;
|
||||
@@ -119,7 +119,7 @@ public class GridNode implements IGridNode, IPathItem
|
||||
this.connections.remove( gridConnection );
|
||||
if( gridConnection.hasDirection() )
|
||||
{
|
||||
this.gridProxy.onGridNotification( GridNotification.ConnectionsChanged );
|
||||
this.gridProxy.onGridNotification( GridNotification.CONNECTIONS_CHANGED );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ public class QuantumCluster implements ILocatable, IAECluster
|
||||
{
|
||||
if( this.thisSide != 0 )
|
||||
{
|
||||
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.Unregister ) );
|
||||
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.UNREGISTER ) );
|
||||
}
|
||||
|
||||
if( this.canUseNode( -qe ) )
|
||||
@@ -101,11 +101,11 @@ public class QuantumCluster implements ILocatable, IAECluster
|
||||
this.otherSide = -qe;
|
||||
}
|
||||
|
||||
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.Register ) );
|
||||
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.REGISTER ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.Unregister ) );
|
||||
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.UNREGISTER ) );
|
||||
|
||||
this.otherSide = 0;
|
||||
this.thisSide = 0;
|
||||
@@ -243,7 +243,7 @@ public class QuantumCluster implements ILocatable, IAECluster
|
||||
if( this.thisSide != 0 )
|
||||
{
|
||||
this.updateStatus( true );
|
||||
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.Unregister ) );
|
||||
MinecraftForge.EVENT_BUS.post( new LocatableEventAnnounce( this, LocatableEvent.UNREGISTER ) );
|
||||
}
|
||||
|
||||
this.center.updateStatus( null, (byte) -1, this.isUpdateStatus() );
|
||||
|
||||
@@ -61,7 +61,7 @@ public class AENetworkProxy implements IGridBlock
|
||||
private final IGridProxyable gp;
|
||||
private final boolean worldNode;
|
||||
private final String nbtName; // name
|
||||
private AEColor myColor = AEColor.Transparent;
|
||||
private AEColor myColor = AEColor.TRANSPARENT;
|
||||
private NBTTagCompound data = null; // input
|
||||
private ItemStack myRepInstance;
|
||||
private boolean isReady = false;
|
||||
|
||||
Reference in New Issue
Block a user