Capitalised enums to match conventions

This commit is contained in:
yueh
2016-09-17 15:02:51 +02:00
parent 2d1d29eb37
commit f185bc07a6
43 changed files with 105 additions and 98 deletions
+2 -2
View File
@@ -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;