Package mcp.mobius.waila.api
Interface IPluginConfig
Read-only interface for Waila internal config storage.
An instance of this interface is passed to most of Waila callbacks as a way to change the behavior depending on client settings.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
double
<T extends Enum<T>>
TgetEnum
(ResourceLocation key) int
getInt
(ResourceLocation key) getKeys()
Gets a collection of all keys.Gets a collection of all the keys for a given namespace.
-
Method Details
-
getKeys
Gets a collection of all the keys for a given namespace.- Parameters:
namespace
- the namespace to get keys from- Returns:
- all the keys for a given namespace.
-
getKeys
Set<ResourceLocation> getKeys()Gets a collection of all keys.- Returns:
- all registered keys.
-
getBoolean
-
getInt
-
getDouble
-
getString
-
getEnum
-