public interface IMixinConfig
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PRIORITY
Default priority for mixin configs and mixins
|
| Modifier and Type | Method and Description |
|---|---|
<V> void |
decorate(java.lang.String key,
V value)
Decorate this config with arbitrary metadata for debugging or
compatibility purposes
|
<V> V |
getDecoration(java.lang.String key)
Get the specified decoration
|
MixinEnvironment |
getEnvironment()
Get the parent environment of this config
|
java.lang.String |
getMixinPackage()
Get the package containing all mixin classes
|
java.lang.String |
getName()
Get the name of the file from which this configuration object was
initialised
|
IMixinConfigPlugin |
getPlugin()
Get the companion plugin, if available
|
int |
getPriority()
Get the priority
|
java.util.Set<java.lang.String> |
getTargets()
Get targets for this configuration
|
boolean |
hasDecoration(java.lang.String key)
Get whether this node is decorated with the specified key
|
boolean |
isRequired()
True if this mixin is required (failure to apply a defined mixin
is an error condition).
|
static final int DEFAULT_PRIORITY
MixinEnvironment getEnvironment()
java.lang.String getName()
java.lang.String getMixinPackage()
int getPriority()
IMixinConfigPlugin getPlugin()
boolean isRequired()
java.util.Set<java.lang.String> getTargets()
<V> void decorate(java.lang.String key,
V value)
V - value typekey - meta keyvalue - meta valuejava.lang.IllegalArgumentException - if the specified key exists alreadyboolean hasDecoration(java.lang.String key)
key - meta key<V> V getDecoration(java.lang.String key)
V - value typekey - meta key