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

import javax.annotation.Nullable;

import net.minecraft.tileentity.TileEntity;

import gregtech.common.pollution.Pollution;

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

    @Nullable
    ICleanroom getCleanroom();

    void setCleanroom(ICleanroom cleanroom);
}