aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util/IGT_HatchAdder.java
blob: 362fddaf1ffef9dfcfb73f65498f2b245d05709a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package gregtech.api.util;


import gregtech.api.interfaces.tileentity.IGregTechTileEntity;

public interface IGT_HatchAdder<T> {
    /**
     * Callback to add hatch, needs to check if hatch is valid (and add it)
     *
     * @param iGregTechTileEntity hatch
     * @param aShort              requested texture index, or null if not...
     * @return managed to add hatch (structure still valid)
     */
    boolean apply(T t, IGregTechTileEntity iGregTechTileEntity, Short aShort);
}