BuildCraft 7.0.8
This commit is contained in:
parent
e79f0e9a65
commit
0f6b089d26
9 changed files with 18 additions and 12 deletions
|
@ -22,7 +22,7 @@ apply plugin: 'forge' // adds the forge dependency
|
|||
apply plugin: 'maven' // for uploading to a maven repo
|
||||
apply plugin: 'checkstyle'
|
||||
|
||||
version = "7.0.7"
|
||||
version = "7.0.8"
|
||||
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]
|
||||
|
||||
|
|
3
buildcraft_resources/changelog/7.0.8
Normal file
3
buildcraft_resources/changelog/7.0.8
Normal file
|
@ -0,0 +1,3 @@
|
|||
Bugs fixed:
|
||||
|
||||
* Fix compatibility with BC 7.0.x addons (asie)
|
|
@ -1,3 +1,3 @@
|
|||
1.6.4:BuildCraft:4.2.2
|
||||
1.7.2:BuildCraft:6.0.16
|
||||
1.7.10:BuildCraft:7.0.7
|
||||
1.7.10:BuildCraft:7.0.8
|
||||
|
|
|
@ -88,8 +88,10 @@ public abstract class Pipe<T extends PipeTransport> implements IDropControlInven
|
|||
public void onBlockPlacedBy(EntityLivingBase placer) {
|
||||
}
|
||||
|
||||
public void onNeighborChange(ForgeDirection direction) {
|
||||
transport.onNeighborChange(direction);
|
||||
public void onNeighborBlockChange(int blockId) {
|
||||
for (ForgeDirection d : ForgeDirection.VALID_DIRECTIONS) {
|
||||
transport.onNeighborChange(d);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean canPipeConnect(TileEntity tile, ForgeDirection side) {
|
||||
|
|
|
@ -406,6 +406,7 @@ public class TileGenericPipe extends TileEntity implements IFluidHandler,
|
|||
computeConnection(ForgeDirection.getOrientation(i));
|
||||
}
|
||||
}
|
||||
pipe.onNeighborBlockChange(0);
|
||||
blockNeighborChange = false;
|
||||
refreshRenderState = true;
|
||||
}
|
||||
|
|
|
@ -61,9 +61,9 @@ public class PipeFluidsIron extends Pipe<PipeTransportFluids> {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void onNeighborChange(ForgeDirection direction) {
|
||||
public void onNeighborBlockChange(int blockId) {
|
||||
logic.switchOnRedstone();
|
||||
super.onNeighborChange(direction);
|
||||
super.onNeighborBlockChange(blockId);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -63,9 +63,9 @@ public class PipeFluidsWood extends Pipe<PipeTransportFluids> implements IEnergy
|
|||
}
|
||||
|
||||
@Override
|
||||
public void onNeighborChange(ForgeDirection direction) {
|
||||
public void onNeighborBlockChange(int blockId) {
|
||||
logic.onNeighborBlockChange();
|
||||
super.onNeighborChange(direction);
|
||||
super.onNeighborBlockChange(blockId);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -65,9 +65,9 @@ public class PipeItemsIron extends Pipe<PipeTransportItems> {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void onNeighborChange(ForgeDirection direction) {
|
||||
public void onNeighborBlockChange(int blockId) {
|
||||
logic.switchOnRedstone();
|
||||
super.onNeighborChange(direction);
|
||||
super.onNeighborBlockChange(blockId);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -63,9 +63,9 @@ public class PipeItemsWood extends Pipe<PipeTransportItems> implements IEnergyHa
|
|||
}
|
||||
|
||||
@Override
|
||||
public void onNeighborChange(ForgeDirection direction) {
|
||||
public void onNeighborBlockChange(int blockId) {
|
||||
logic.onNeighborBlockChange();
|
||||
super.onNeighborChange(direction);
|
||||
super.onNeighborBlockChange(blockId);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue