public interface IFieldWrapper
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory() |
java.lang.String[] |
getKeys() |
net.minecraftforge.common.config.ITypeAdapter |
getTypeAdapter() |
java.lang.Object |
getValue(java.lang.String key) |
boolean |
handlesKey(java.lang.String name) |
boolean |
hasKey(java.lang.String name) |
void |
setupConfiguration(Configuration cfg,
java.lang.String desc,
java.lang.String langKey,
boolean reqMCRestart,
boolean reqWorldRestart) |
void |
setValue(java.lang.String key,
java.lang.Object value) |
net.minecraftforge.common.config.ITypeAdapter getTypeAdapter()
java.lang.String[] getKeys()
field
- the field about which to retrieve informationinstance
- The instance whose field shall be queried.java.lang.Object getValue(java.lang.String key)
void setValue(java.lang.String key, java.lang.Object value)
boolean hasKey(java.lang.String name)
boolean handlesKey(java.lang.String name)
void setupConfiguration(Configuration cfg, java.lang.String desc, java.lang.String langKey, boolean reqMCRestart, boolean reqWorldRestart)
java.lang.String getCategory()