Improve Compat with TOP (#5427)

* Make TOP display full capacity of fluid and gas networks. Also fix some capabilities not returning the proper. TOP Gas integration now displays the gas color as well.

* Ensure no repercussions for getting MechanicalPipe's TOP network tanks

* Ensure no repercussions for getting PressurizedTube's TOP network tanks

* Display hydrogen with a slightly incorrect color so TOP renders properly

* Fix dynamic valve having item handler always disabled instead of just when multiblock is not made

* Fix a few itemhandlers that should not be disabled for side == null TOP compat

* Always expose networks buffer instead of local buffer if there is a network
This commit is contained in:
Richard Freimer authored and Xander committed 2019-04-30 22:12:43 +08:00
1 parent 9692debdcf
commit 075673fc56
17 files changed
+78 -23

No files matched your search

@@ -1037,6 +1037,7 @@ public class TileEntityFactory extends TileEntityMachine implements IComputerInt
if (configComponent.isCapabilityDisabled(capability, side, facing)) {
return true;
} else if (capability == Capabilities.GAS_HANDLER_CAPABILITY) {
//If the gas capability is not disabled, check if this machine even actually supports gas
return !recipeType.supportsGas();
}
return super.isCapabilityDisabled(capability, side);