Fix and improve cable models (#335)

This commit is contained in:
Serenibyss
2023-12-24 20:23:01 -06:00
committed by GitHub
parent 29098372af
commit 28696bd531
82 changed files with 91 additions and 158 deletions
@@ -976,7 +976,10 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
// Check if the adjacent TE is a cable bus or not
if (adjacentTe instanceof IPartHost) {
renderState.getCableBusAdjacent().add(facing);
IPartHost host = (IPartHost) adjacentTe;
if (host.getPart(facing) != null) {
renderState.getCableBusAdjacent().add(facing);
}
}
renderState.getConnectionTypes().put(facing, connectionType);