30 lines
No EOL
1.1 KiB
Java
30 lines
No EOL
1.1 KiB
Java
package gregtech.common.covers;
|
|
|
|
import gregtech.api.GregTech_API;
|
|
import gregtech.api.interfaces.tileentity.ICoverable;
|
|
import java.util.Map;
|
|
|
|
public class GT_Cover_RedstoneReceiverInternal
|
|
extends GT_Cover_RedstoneWirelessBase
|
|
{
|
|
public int doCoverThings(byte aSide, byte aInputRedstone, int aCoverID, int aCoverVariable, ICoverable aTileEntity, long aTimer)
|
|
{
|
|
return aCoverVariable;
|
|
}
|
|
|
|
public byte getRedstoneInput(byte aSide, byte aInputRedstone, int aCoverID, int aCoverVariable, ICoverable aTileEntity)
|
|
{
|
|
return GregTech_API.sWirelessRedstone.get(Integer.valueOf(aCoverVariable)) == null ? 0 : ((Byte)GregTech_API.sWirelessRedstone.get(Integer.valueOf(aCoverVariable))).byteValue();
|
|
}
|
|
|
|
public int getTickRate(byte aSide, int aCoverID, int aCoverVariable, ICoverable aTileEntity)
|
|
{
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
|
|
|
|
* Qualified Name: gregtech.common.covers.GT_Cover_RedstoneReceiverInternal
|
|
|
|
* JD-Core Version: 0.7.0.1
|
|
|
|
*/ |