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

作成

戻り値の型: 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
提案コレクション<crafttweaker.api.commands.custom.MCSuggestion>No description provided

empty

戻り値の型: 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

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

myMCSuggestions.getRange();

hashCode

Return type: int

myMCSuggestions.hashCode();

isEmpty

Return type: boolean

myMCSuggestions.isEmpty();

merge

戻り値の型: 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
inputコレクション<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