MCCommandContextBuilder

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

Methods

build

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

myMCCommandContextBuilder.build(input as String);
ParameterTypeDescription
inputStringNo description provided

copy

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

myMCCommandContextBuilder.copy();

equals

Return type: boolean

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

findSuggestionContext

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

myMCCommandContextBuilder.findSuggestionContext(intとしてカーソル);
ParameterTypeDescription
cursorintNo description provided

getArguments

戻り値の型: crafttweaker.api.commands.custom.MCParsedArgument[String]

myMCCommandContextBuilder.getArguments();

getChild

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

myMCCommandContextBuilder.getChild();

getCommand

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

myMCCommandContextBuilder.getCommand();

getDispatcher

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

myMCCommandContextBuilder.getDispatcher();

getLastChild

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

myMCCommandContextBuilder.getLastChild();

getNodes

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

myMCCommandContextBuilder.getNodes();

getRange

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

myMCCommandContextBuilder.getRange();

getRootNode

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

myMCCommandContextBuilder.getRootNode();

getSource

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

myMCCommandContextBuilder.getSource();

hashCode

Return type: int

myMCCommandContextBuilder.hashCode();

toString

Return type: String

myMCCommandContextBuilder.toString();

withArgument

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

myMCCommandContextBuilder.withArgument(name as String, argumentas crafttweaker.api.commands.custom.MCParsedArgument);
ParameterTypeDescription
nameStringNo description provided
引数crafttweaker.api.commands.custom.MCParsedArgumentNo description provided

withChild

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

myMCCommandContextBuilder.withChild(child as crafttweaker.api.commands.custom.MCCommandContextBuilder);
ParameterTypeDescription
子供crafttweaker.api.commands.custom.MCCommandContextBuilderNo description provided

withCommand

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

myMCCommandContextBuilder.withCommand(command as crafttweaker.api.commands.custom.MCCommand);
ParameterTypeDescription
commandcrafttweaker.api.commands.custom.MCCommandNo description provided

withNode

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

myMCCommandContextBuilder.withNode(node as crafttweaker.api.commands.custom.MCCommandNode, range as crafttweaker.api.commands.custom.MCStringRange);
ParameterTypeDescription
ノードcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
rangecrafttweaker.api.commands.custom.MCStringRangeNo description provided

withSource

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

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

演算子

EQUALS

myMCCommandContextBuilder == o をオブジェクトとして
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue