Interface IPluginConfig


@NonExtendable public 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 Details

    • getKeys

      Set<Identifier> getKeys(String namespace)
      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<Identifier> getKeys()
      Gets a collection of all keys.
      Returns:
      all registered keys.
    • getBoolean

      boolean getBoolean(Identifier key)
    • getInt

      int getInt(Identifier key)
    • getDouble

      double getDouble(Identifier key)
    • getString

      String getString(Identifier key)
    • getEnum

      <T extends Enum<T>> T getEnum(Identifier key)