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

appliquer

Return type: String

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

comparer à

Return type: int

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

Comparer à Ignorer le cas

Return type: int

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

equals

Return type: boolean

myMCSuggestion.equals(o en tant qu'objet);
ParameterTypeDescription
oObjectNo description provided

agrandir

Type de retour : crafttweaker.api.commands.custom.MCSuggestion

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

Gamme d'obtention

Type de retour : crafttweaker.api.commands.custom.MCStringRange

myMCSuggestion.getRange();

getText

Return type: String

myMCSuggestion.getText();

format@@0 getTooltip

Return type: String

myMCSuggestion.getTooltip();

hashCode

Return type: int

myMCSuggestion.hashCode();

toString

Return type: String

myMCSuggestion.toString();

Operators

EQUALS

myMCSuggestion == o en tant qu'objet
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue