aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/covers/GT_Cover_Lens.java
blob: 735959e15c713e169aeab32225223a9fb760e211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package gregtech.common.covers;

import gregtech.api.interfaces.tileentity.ICoverable;
import gregtech.api.util.GT_CoverBehavior;

public class GT_Cover_Lens extends GT_CoverBehavior {
    private final byte mColor;

    public GT_Cover_Lens(byte aColor) {
        this.mColor = aColor;
    }

    @Override
    public boolean isRedstoneSensitive(
            byte aSide, int aCoverID, int aCoverVariable, ICoverable aTileEntity, long aTimer) {
        return false;
    }

    @Override
    public byte getLensColor(byte aSide, int aCoverID, int aCoverVariable, ICoverable aTileEntity) {
        return this.mColor;
    }
}