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

import javax.annotation.Nullable;

import net.minecraft.tileentity.TileEntity;

/**
 * Implement this interface for TileEntities that can have association to cleanroom.
 * Calling {@link gregtech.common.GT_Pollution#addPollution(TileEntity, int)} from this machine
 * will pollute associated cleanroom.
 */
public interface ICleanroomReceiver {

    @Nullable
    ICleanroom getCleanroom();

    void setCleanroom(ICleanroom cleanroom);
}