aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/shcm/shsupercm/fabric/citresewn/api/CITDisposable.java
blob: d093ae179a2d1d095401ee2c6837f6ccb5a05e94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package shcm.shsupercm.fabric.citresewn.api;

/**
 * @see #dispose()
 */
@FunctionalInterface
public interface CITDisposable {
    /**
     * Entrypoint for any disposing method that is not covered by CIT Resewn automatically.
	 * @see #dispose()
     */
    String ENTRYPOINT = "citresewn:dispose";

    /**
     * Invoked just before reloading CITs. Use to clean up effects and changes that CIT loading made.
     */
    void dispose();
}