Loads of changes to Electric Pump, Fluidic Plenisher and Transmitters

- Electric Pumps are now more efficient, upgradable, and have new config options, one of which prevents sucking of water sources (true by default)
- Fluidic Plenishers are now upgradable
- Transmitters can be upgraded by being right-clicked by alloys normally involved in crafting-based upgrading
This commit is contained in:
aidancbrady committed 2016-01-28 20:38:32 -05:00
1 parent b9d064dc06
commit 0a135a6936
17 files changed
+522 -121

No files matched your search

@@ -633,7 +633,6 @@ public abstract class PartSidedPipe extends TMultiPart implements TSlottedPart,
currentTransmitterConnections = setConnectionBit(currentTransmitterConnections, possibleTransmitter, side);
currentAcceptorConnections = setConnectionBit(currentAcceptorConnections, possibleAcceptor, side);
}
}
@@ -679,6 +678,7 @@ public abstract class PartSidedPipe extends TMultiPart implements TSlottedPart,
{
boolean prevPowered = redstonePowered;
refreshConnections();
if(prevPowered != redstonePowered)
{
markDirtyTransmitters();
@@ -690,8 +690,10 @@ public abstract class PartSidedPipe extends TMultiPart implements TSlottedPart,
public void onPartChanged(TMultiPart part)
{
super.onPartChanged(part);
byte transmittersBefore = currentTransmitterConnections;
refreshConnections();
if(transmittersBefore != currentTransmitterConnections)
{
markDirtyTransmitters();