MCSuggestions

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.MCSuggestions

Methods

create

Return type: crafttweaker.api.commands.custom.MCSuggestions

crafttweaker.api.commands.custom.MCSuggestions.create(command as String, suggestions as Collection<crafttweaker.api.commands.custom.MCSuggestion>);
ParameterTypeDescription
commandStringNo description provided
suggestionsCollection<crafttweaker.api.commands.custom.MCSuggestion>No description provided

empty

Return type: crafttweaker.api.commands.custom.MCSuggestions

crafttweaker.api.commands.custom.MCSuggestions.empty();

equals

Return type: boolean

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

getList

Return type: List<crafttweaker.api.commands.custom.MCSuggestion>

myMCSuggestions.getList();

getRange

Return type: crafttweaker.api.commands.custom.MCStringRange

myMCSuggestions.getRange();

hashCode

Return type: int

myMCSuggestions.hashCode();

isEmpty

Return type: boolean

myMCSuggestions.isEmpty();

merge

Return type: crafttweaker.api.commands.custom.MCSuggestions

crafttweaker.api.commands.custom.MCSuggestions.merge(command as String, input as Collection<crafttweaker.api.commands.custom.MCSuggestions>);
ParameterTypeDescription
commandStringNo description provided
inputCollection<crafttweaker.api.commands.custom.MCSuggestions>No description provided

toString

Return type: String

myMCSuggestions.toString();

연산자

EQUALS

myMCSuggestions == o as Object
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue