BuildCraft 7.0.8

This commit is contained in:
Adrian 2015-06-07 12:34:26 +02:00
parent e79f0e9a65
commit 0f6b089d26
9 changed files with 18 additions and 12 deletions

View file

@ -22,7 +22,7 @@ apply plugin: 'forge' // adds the forge dependency
apply plugin: 'maven' // for uploading to a maven repo apply plugin: 'maven' // for uploading to a maven repo
apply plugin: 'checkstyle' apply plugin: 'checkstyle'
version = "7.0.7" version = "7.0.8"
group= "com.mod-buildcraft" group= "com.mod-buildcraft"
archivesBaseName = "buildcraft" // the name that all artifacts will use as a base. artifacts names follow this pattern: [baseName]-[appendix]-[version]-[classifier].[extension] archivesBaseName = "buildcraft" // the name that all artifacts will use as a base. artifacts names follow this pattern: [baseName]-[appendix]-[version]-[classifier].[extension]

View file

@ -0,0 +1,3 @@
Bugs fixed:
* Fix compatibility with BC 7.0.x addons (asie)

View file

@ -1,3 +1,3 @@
1.6.4:BuildCraft:4.2.2 1.6.4:BuildCraft:4.2.2
1.7.2:BuildCraft:6.0.16 1.7.2:BuildCraft:6.0.16
1.7.10:BuildCraft:7.0.7 1.7.10:BuildCraft:7.0.8

View file

@ -88,8 +88,10 @@ public abstract class Pipe<T extends PipeTransport> implements IDropControlInven
public void onBlockPlacedBy(EntityLivingBase placer) { public void onBlockPlacedBy(EntityLivingBase placer) {
} }
public void onNeighborChange(ForgeDirection direction) { public void onNeighborBlockChange(int blockId) {
transport.onNeighborChange(direction); for (ForgeDirection d : ForgeDirection.VALID_DIRECTIONS) {
transport.onNeighborChange(d);
}
} }
public boolean canPipeConnect(TileEntity tile, ForgeDirection side) { public boolean canPipeConnect(TileEntity tile, ForgeDirection side) {

View file

@ -406,6 +406,7 @@ public class TileGenericPipe extends TileEntity implements IFluidHandler,
computeConnection(ForgeDirection.getOrientation(i)); computeConnection(ForgeDirection.getOrientation(i));
} }
} }
pipe.onNeighborBlockChange(0);
blockNeighborChange = false; blockNeighborChange = false;
refreshRenderState = true; refreshRenderState = true;
} }

View file

@ -61,9 +61,9 @@ public class PipeFluidsIron extends Pipe<PipeTransportFluids> {
} }
@Override @Override
public void onNeighborChange(ForgeDirection direction) { public void onNeighborBlockChange(int blockId) {
logic.switchOnRedstone(); logic.switchOnRedstone();
super.onNeighborChange(direction); super.onNeighborBlockChange(blockId);
} }
@Override @Override

View file

@ -63,9 +63,9 @@ public class PipeFluidsWood extends Pipe<PipeTransportFluids> implements IEnergy
} }
@Override @Override
public void onNeighborChange(ForgeDirection direction) { public void onNeighborBlockChange(int blockId) {
logic.onNeighborBlockChange(); logic.onNeighborBlockChange();
super.onNeighborChange(direction); super.onNeighborBlockChange(blockId);
} }
@Override @Override

View file

@ -65,9 +65,9 @@ public class PipeItemsIron extends Pipe<PipeTransportItems> {
} }
@Override @Override
public void onNeighborChange(ForgeDirection direction) { public void onNeighborBlockChange(int blockId) {
logic.switchOnRedstone(); logic.switchOnRedstone();
super.onNeighborChange(direction); super.onNeighborBlockChange(blockId);
} }
@Override @Override

View file

@ -63,9 +63,9 @@ public class PipeItemsWood extends Pipe<PipeTransportItems> implements IEnergyHa
} }
@Override @Override
public void onNeighborChange(ForgeDirection direction) { public void onNeighborBlockChange(int blockId) {
logic.onNeighborBlockChange(); logic.onNeighborBlockChange();
super.onNeighborChange(direction); super.onNeighborBlockChange(blockId);
} }
@Override @Override