Package baritone.api

Class Settings.Setting<T>

java.lang.Object
baritone.api.Settings.Setting<T>
Enclosing class:
Settings

public final class Settings.Setting<T> extends Object
  • Field Details

  • Method Details

    • get

      @Deprecated public final T get()
      Deprecated.
      Deprecated! Please use .value directly instead
      Returns:
      the current setting value
    • getName

      public final String getName()
    • getValueClass

      public Class<T> getValueClass()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • reset

      public void reset()
      Reset this setting to its default value
    • getType

      public final Type getType()
    • isJavaOnly

      public boolean isJavaOnly()
      This should always be the same as whether the setting can be parsed from or serialized to a string; in other words, the only way to modify it is by writing to value programatically.
      Returns:
      true if the setting can not be set or read by the user