mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
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:
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();
|
||||
|
||||
Reference in new issue
Block a user