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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
protected abstract T
fromString
(String string) fromString
(List<String> arguments) int
getName()
String[]
protected Class
boolean
boolean
Is the values it returns all it can do?boolean
void
setOtherValues
(String... otherValues) abstract String
-
Constructor Details
-
ParamInfo
-
ParamInfo
-
ParamInfo
-
ParamInfo
-
ParamInfo
-
ParamInfo
-
-
Method Details
-
canTranslateValues
public boolean canTranslateValues() -
getOtherValues
-
setOtherValues
-
canReturnNull
public boolean canReturnNull() -
fromString
- Throws:
DisguiseParseException
-
toString
-
fromString
- Throws:
DisguiseParseException
-
getMinArguments
public int getMinArguments() -
hasTabCompletion
public boolean hasTabCompletion() -
getParamClass
-
isParam
-
getName
-
getDescriptiveName
-
getRawName
-
getRawDescriptiveName
-
getDescription
-
getRawDescription
-
getValues
-
getEnums
-
isCustomValues
public boolean isCustomValues()Is the values it returns all it can do?
-