Sugestie MCH

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

zastosuj

Return type: String

myMCSuggestion.apply(wprowadź jako String);
ParameterTypeDescription
inputStringNo description provided

porównaj do

Return type: int

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

PorównaToIgnoreCase

Return type: int

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

equals

Return type: boolean

myMCSuggestion.equals(o jako Obiekt);
ParameterTypeDescription
oObjectNo description provided

rozwiń

Typ zwrotu: crafttweaker.api.commands.custom.MCSuggestion

myMCSuggestion.expand(komenda jako String, zasięg jak crafttweaker.api.commands.custom.MCStringRange);
ParameterTypeDescription
commandStringNo description provided
rangecrafttweaker.api.commands.custom.MCStringRangeNo description provided

Zakres getRange

Typ zwrotu: 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();

Operators

EQUALS

myMCSuggestion == o jako obiekt
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue