Skip to content

Commit

Permalink
Refactor AE Transfer Chip (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
reobf authored Feb 10, 2025
1 parent f652885 commit bab5905
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 331 deletions.
3 changes: 3 additions & 0 deletions src/main/java/remoteio/common/block/BlockRemoteInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ public float getBlockHardness(World world, int x, int y, int z) {
@Override
public void onNeighborBlockChange(World world, int x, int y, int z, Block block) {
TileRemoteInterface tile = (TileRemoteInterface) world.getTileEntity(x, y, z);
if (tile != null && !world.isRemote) {
tile.updateAEConnection();
}
if (tile != null && tile.remotePosition != null && tile.hasTransferChip(TransferType.REDSTONE)) {
tile.remotePosition.getBlock().onNeighborBlockChange(
tile.remotePosition.getWorld(),
Expand Down
170 changes: 0 additions & 170 deletions src/main/java/remoteio/common/core/compat/LinkedGridNode.java

This file was deleted.

Loading

0 comments on commit bab5905

Please sign in to comment.