MCliiteralCommandNode

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

Implemented Interfaces

MCLIiteralCommandNode は以下のインターフェイスを実装します。 That means any method available to them can also be used on this class.

Methods

addChild

myMCLiteralCommandNode.addChild(node as crafttweaker.api.commands.custom.MCCommandNode);
ParameterTypeDescription
ノードcrafttweaker.api.commands.custom.MCCommandNodeNo description provided

canUse

Return type: boolean

myMCLiteralCommandNode.canUse(source as crafttweaker.api.commands.custom.MCCommandSource);
ParameterTypeDescription
ソースcrafttweaker.api.commands.custom.MCCommandSourceNo description provided

createBuilder

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

myMCLiteralCommandNode.createBuilder();

equals

Return type: boolean

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

findAmbiguities

myMCLiteralCommandNode.findAmbiguities(consumer as crafttweaker.api.commands.custom.MCAmbiguityConsumer);
ParameterTypeDescription
コンシューマーcrafttweaker.api.commands.custom.MCAmbiguityConsumerNo description provided

getChild

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

myMCLiteralCommandNode.getChild(name as String);
ParameterTypeDescription
nameStringNo description provided

getChildren

Return type: Collection<crafttweaker.api.commands.custom.MCCommandNode>

myMCLiteralCommandNode.getChildren();

getCommand

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

myMCLiteralCommandNode.getCommand();

getExamples

戻り値の型: コレクション<String>

myMCLiteralCommandNode.getExamples();

getLiteral

Return type: String

myMCLiteralCommandNode.getLiteral();

getName

Return type: String

myMCLiteralCommandNode.getName();

getRedirect

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

myMCLiteralCommandNode.getRedirect();

getRedirectModifier

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

myMCLiteralCommandNode.getRedirectModifier();

getRelevantNodes

Return type: Collection<crafttweaker.api.commands.custom.MCCommandNode>

myMCLiteralCommandNode.getRelevantNodes(input as String);
ParameterTypeDescription
inputStringNo description provided

getRequirement

戻り値の型: function.Predicate<crafttweaker.api.commands.custom.MCCommandSource>

myMCLiteralCommandNode.getRequirement();

getUsageText

Return type: String

myMCLiteralCommandNode.getUsageText();

hashCode

Return type: int

myMCLiteralCommandNode.hashCode();

isFork

Return type: boolean

myMCLiteralCommandNode.isFork();

isValidInput

Return type: boolean

myMCLiteralCommandNode.isValidInput(input as String);
ParameterTypeDescription
inputStringNo description provided

listSuggestions

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

myMCLiteralCommandNode.listSuggestions(context as crafttweaker.api.commands.custom.MCCommandContext, builder as crafttweaker.api.commands.custom.MCSuggestionsBuilder);
ParameterTypeDescription
contextcrafttweaker.api.commands.custom.MCCommandContextNo description provided
ビルダー:crafttweaker.api.commands.custom.MCSuggestionsBuilderNo description provided

parse

myMCLiteralCommandNode.parse(input as String, contextBuilder as crafttweaker.api.commands.custom.MCCommandContextBuilder);
ParameterTypeDescription
inputStringNo description provided
contextBuildercrafttweaker.api.commands.custom.MCCommandContextBuilderNo description provided

toString

Return type: String

myMCLiteralCommandNode.toString();

演算子

COMPARE

myMCCommandNode compare o as crafttweaker.api.commands.custom.MCCommandNode
ParameterTypeDescription
ocrafttweaker.api.commands.custom.MCCommandNodeNo description provided
### EQUALS
myMCLiteralCommandNode == o as Object
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue