MCSuggestion

This class was added by a mod with mod-id crafttweaker. So you need to have this mod installed if you want to use this feature.

Importing the class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.

crafttweaker.api.commands.custom.MCSuggestion

Methods

適用する

Return type: String

myMCSuggestion.apply(input as String);
ParameterTypeDescription
inputStringNo description provided

compareTo

Return type: int

myMCSuggestion.compareTo(o as crafttweaker.api.commands.custom.MCSuggestion);
ParameterTypeDescription
ocrafttweaker.api.commands.custom.MCSuggestionNo description provided

compareToIgnoreCase

Return type: int

myMCSuggestion.compareToIgnoreCase(b as crafttweaker.api.commands.custom.MCSuggestion);
ParameterTypeDescription
bcrafttweaker.api.commands.custom.MCSuggestionNo description provided

equals

Return type: boolean

myMCSuggestion.equals(o as Object);
ParameterTypeDescription
oObjectNo description provided

展開

戻り値の型: crafttweaker.api.commands.custom.MCSuggestion

myMCSuggestion.expand(command as String, range as crafttweaker.api.commands.custom.MCStringRange);
ParameterTypeDescription
commandStringNo description provided
rangecrafttweaker.api.commands.custom.MCStringRangeNo description provided

getRange

戻り値の型: crafttweaker.api.commands.custom.MCStringRange

myMCSuggestion.getRange();

getText

Return type: String

myMCSuggestion.getText();

getTooltip

Return type: String

myMCSuggestion.getTooltip();

hashCode

Return type: int

myMCSuggestion.hashCode();

toString

Return type: String

myMCSuggestion.toString();

演算子

EQUALS

myMCSuggestion == o as Object
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue