aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/ICleanroom.java
blob: 61e339d050d8fb19009612ac7c45ca8ede1be784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package gregtech.api.interfaces;

/**
 * Classes implementing this interface can act as cleanroom, used to satisfy environment required for some recipes.
 */
public interface ICleanroom {

    /**
     * @return Current cleanness of this cleanroom. Max at 10000.
     */
    int getCleanness();

    /**
     * @return If this cleanroom is valid.
     */
    boolean isValidCleanroom();

    /**
     * Release pollution to this cleanroom.
     */
    void pollute();
}