mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 07:55:41 +00:00
Merge branch 'master' into 1.6.4
This commit is contained in:
commit
ccff082046
3 files changed
+10
-21
No files matched your search
+1
-1
@@ -7,7 +7,7 @@
|
||||
- #328 Item conduits now accept input from TE tesseracts and can have items ejected into them from TE and MFR machines.
|
||||
|
||||
0.5.0
|
||||
Chnages
|
||||
Changes
|
||||
- Added filtering to item conduits.
|
||||
- Added a second tier item conduit
|
||||
- Added new 'external connection' configuration UI
|
||||
|
||||
@@ -100,24 +100,8 @@ public class InsulatedRedstoneConduit extends RedstoneConduit implements IInsula
|
||||
return true;
|
||||
|
||||
} else if(connDir == ForgeDirection.UNKNOWN || connDir == faceHit) {
|
||||
// Attempt to join networks
|
||||
BlockCoord loc = getLocation().getLocation(faceHit);
|
||||
IRedstoneConduit neighbour = ConduitUtil.getConduit(getBundle().getEntity().worldObj, loc.x, loc.y, loc.z, IRedstoneConduit.class);
|
||||
if(neighbour != null) {
|
||||
if(network != null) {
|
||||
network.destroyNetwork();
|
||||
}
|
||||
if(neighbour.getNetwork() != null) {
|
||||
neighbour.getNetwork().destroyNetwork();
|
||||
}
|
||||
onAddedToBundle();
|
||||
|
||||
} else {
|
||||
|
||||
forceConnectionMode(faceHit, ConnectionMode.IN_OUT);
|
||||
|
||||
}
|
||||
return true;
|
||||
return ConduitUtil.joinConduits(this, faceHit);
|
||||
|
||||
} else if(externalConnections.contains(connDir)) {
|
||||
forceConnectionMode(faceHit, ConnectionMode.DISABLED);
|
||||
|
||||
@@ -177,9 +177,14 @@ public class GuiPowerMonitor extends GuiScreenBase {
|
||||
getInt(endTF) != te.asPercentInt(te.stopLevel)) {
|
||||
|
||||
te.engineControlEnabled = enabledB.isSelected();
|
||||
te.startLevel = te.asPercentFloat(getInt(startTF));
|
||||
te.stopLevel = te.asPercentFloat(getInt(endTF));
|
||||
|
||||
int i = getInt(startTF);
|
||||
if(i >= 0) {
|
||||
te.startLevel = te.asPercentFloat(i);
|
||||
}
|
||||
i = getInt(endTF);
|
||||
if(i >= 0) {
|
||||
te.stopLevel = te.asPercentFloat(i);
|
||||
}
|
||||
Packet pkt = PowerMonitorPacketHandler.createPowerMonitotPacket(te);
|
||||
PacketDispatcher.sendPacketToServer(pkt);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user