Skip to content

Commit

Permalink
Remove AECableType.ULTRA_DENSE and ULTRA_DENSE_SMART (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
szuend authored Dec 29, 2024
1 parent d11b971 commit de60759
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 18 deletions.
11 changes: 0 additions & 11 deletions src/main/java/appeng/api/util/AECableType.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,4 @@ public enum AECableType {
* Dense Covered Cable, represents a tier 2 block that can carry 32 channels that should render as covered.
*/
DENSE_COVERED,

/**
* Ultra Dense Cable, represents a tier 3 block that can carry 128 channels.
*/
ULTRA_DENSE,

/**
* Ultra Dense Cable, represents a tier 3 block that can carry 128 channels and renders as smart (4 channels per
* line).
*/
ULTRA_DENSE_SMART
}
1 change: 0 additions & 1 deletion src/main/java/appeng/core/features/AEFeature.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public boolean isVisible() {
PowerGen(Constants.CATEGORY_NETWORK_FEATURES),
Security(Constants.CATEGORY_NETWORK_FEATURES),
SpatialIO(Constants.CATEGORY_NETWORK_FEATURES),
UltraDenseCables(Constants.CATEGORY_NETWORK_FEATURES),
QuantumNetworkBridge(Constants.CATEGORY_NETWORK_FEATURES),
Channels(Constants.CATEGORY_NETWORK_FEATURES),

Expand Down
4 changes: 1 addition & 3 deletions src/main/java/appeng/parts/networking/PartDenseCable.java
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,7 @@ private boolean isDense(final ForgeDirection of) {
this.getTile().zCoord + of.offsetZ);
if (te instanceof IGridHost) {
final AECableType t = ((IGridHost) te).getCableConnectionType(of.getOpposite());
return t == AECableType.DENSE || t == AECableType.DENSE_COVERED
|| t == AECableType.ULTRA_DENSE_SMART
|| t == AECableType.ULTRA_DENSE;
return t == AECableType.DENSE || t == AECableType.DENSE_COVERED;
}
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,7 @@ private boolean isDense(final ForgeDirection of) {
this.getTile().zCoord + of.offsetZ);
if (te instanceof IGridHost) {
final AECableType t = ((IGridHost) te).getCableConnectionType(of.getOpposite());
return t == AECableType.DENSE || t == AECableType.DENSE_COVERED
|| t == AECableType.ULTRA_DENSE
|| t == AECableType.ULTRA_DENSE_SMART;
return t == AECableType.DENSE || t == AECableType.DENSE_COVERED;
}
return false;
}
Expand Down

0 comments on commit de60759

Please sign in to comment.