2015-06-23 22:29:05 +00:00
|
|
|
package gregtech.common.covers;
|
|
|
|
|
|
|
|
import gregtech.api.GregTech_API;
|
|
|
|
import gregtech.api.interfaces.tileentity.ICoverable;
|
|
|
|
|
2016-08-07 08:41:30 +00:00
|
|
|
public class GT_Cover_RedstoneTransmitterExternal extends GT_Cover_RedstoneWirelessBase {
|
|
|
|
|
2015-10-22 02:06:25 +00:00
|
|
|
public int doCoverThings(byte aSide, byte aInputRedstone, int aCoverID, int aCoverVariable, ICoverable aTileEntity, long aTimer) {
|
2016-08-07 08:41:30 +00:00
|
|
|
GregTech_API.sWirelessRedstone.put(aCoverVariable, aInputRedstone);
|
2015-10-22 02:06:25 +00:00
|
|
|
return aCoverVariable;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean letsRedstoneGoIn(byte aSide, int aCoverID, int aCoverVariable, ICoverable aTileEntity) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getTickRate(byte aSide, int aCoverID, int aCoverVariable, ICoverable aTileEntity) {
|
|
|
|
return 1;
|
|
|
|
}
|
2015-06-23 22:29:05 +00:00
|
|
|
}
|