blob: 56ac01f5543b5b591d7757f2ec8e1281bdc11efb (
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;
import shcm.shsupercm.fabric.citresewn.cit.CITCondition;
import java.util.function.Supplier;
public class CITConditionContainer<T extends CITCondition> {
public static final String ENTRYPOINT = "citresewn:condition";
public final Class<T> condition;
public final Supplier<T> createCondition;
public final String[] aliases;
public CITConditionContainer(Class<T> condition, Supplier<T> createCondition, String... aliases) {
this.condition = condition;
this.createCondition = createCondition;
this.aliases = aliases;
}
}
|