TweakContainer.java
1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.mumfrey.liteloader.interfaces;
import java.util.List;
/**
* Interface for loadables which can contain tweaks and transformers
*
* @author Adam Mummery-Smith
*/
public interface TweakContainer<L> extends MixinContainer<L>
{
/**
* Get whether this tweak container has a defined tweak class in its
* metadata.
*/
public abstract boolean hasTweakClass();
/**
* Get the tweak class name defined in the metadata
*/
public abstract String getTweakClassName();
/**
* Get the priority value for this tweak
*/
public abstract int getTweakPriority();
/**
* Get classpath entries defined in the metadata
*/
public abstract String[] getClassPathEntries();
/**
* Get whether this container defines any transformer classes
*/
public abstract boolean hasClassTransformers();
/**
* Get class transformers defined in the metadata
*/
public abstract List<String> getClassTransformerClassNames();
/**
* True if this container defines event transformers via JSON
*/
public abstract boolean hasEventTransformers();
}