Class ParamInfo<T>

java.lang.Object
me.libraryaddict.disguise.utilities.params.ParamInfo<T>
Direct Known Subclasses:
ParamInfoBlockPosition, ParamInfoBoolean, ParamInfoByte, ParamInfoComponent, ParamInfoDisplayBrightness, ParamInfoDouble, ParamInfoEnum, ParamInfoEulerAngle, ParamInfoFloat, ParamInfoInteger, ParamInfoQuaternionf, ParamInfoString, ParamInfoTime, ParamInfoTransformation, ParamInfoUserProfile, ParamInfoVector3f, ParamInfoWrappedBlockData

public abstract class ParamInfo<T> extends Object
  • Constructor Details

  • Method Details

    • canTranslateValues

      public boolean canTranslateValues()
    • getOtherValues

      public String[] getOtherValues()
    • setOtherValues

      public void setOtherValues(String... otherValues)
    • canReturnNull

      public boolean canReturnNull()
    • fromString

      protected abstract T fromString(String string) throws DisguiseParseException
      Throws:
      DisguiseParseException
    • toString

      public abstract String toString(T object)
    • fromString

      public T fromString(List<String> arguments) throws DisguiseParseException
      Throws:
      DisguiseParseException
    • getMinArguments

      public int getMinArguments()
    • hasTabCompletion

      public boolean hasTabCompletion()
    • getParamClass

      protected Class getParamClass()
    • isParam

      public boolean isParam(Class paramClass)
    • getName

      public String getName()
    • getDescriptiveName

      public String getDescriptiveName()
    • getRawName

      public String getRawName()
    • getRawDescriptiveName

      public String getRawDescriptiveName()
    • getDescription

      public String getDescription()
    • getRawDescription

      public String getRawDescription()
    • getValues

      public Map<String,T> getValues()
    • getEnums

      public Set<String> getEnums(String tabComplete)
    • isCustomValues

      public boolean isCustomValues()
      Is the values it returns all it can do?