format@@0 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

Type de retour : crafttweaker.api.commands.custom.MCCommandContext

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

copy

Type de retour : crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.copy();

equals

Return type: boolean

myMCCommandContextBuilder.equals(o en tant qu'objet) ;
ParameterTypeDescription
oObjectNo description provided

trouver un contexte de suggestion

Type de retour : crafttweaker.api.commands.custom.MCSuggestionContext

myMCCommandContextBuilder.findSuggestionContext(curseur comme int);
ParameterTypeDescription
cursorintNo description provided

getArguments

Type de retour : crafttweaker.api.commands.custom.MCParsedArgument[String]

myMCCommandContextBuilder.getArguments();

getChild

Type de retour : crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.getChild();

getCommand

Type de retour : crafttweaker.api.commands.custom.MCCommand

myMCCommandContextBuilder.getCommand();

Obtenir le répartiteur

Type de retour : crafttweaker.api.commands.custom.MCCommandDispatcher

myMCCommandContextBuilder.getDispatcher();

getLastChild

Type de retour : crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.getLastChild();

getNodes

Type de retour : Liste<crafttweaker.api.commands.custom.MCParsedCommandNode>

myMCCommandContextBuilder.getNodes();

Gamme d'obtention

Type de retour : crafttweaker.api.commands.custom.MCStringRange

myMCCommandContextBuilder.getRange();

getRootNode

Type de retour : crafttweaker.api.commands.custom.MCCommandNode

myMCCommandContextBuilder.getRootNode();

getSource

Type de retour : crafttweaker.api.commands.custom.MCCommandSource

myMCCommandContextBuilder.getSource();

hashCode

Return type: int

myMCCommandContextBuilder.hashCode();

toString

Return type: String

myMCCommandContextBuilder.toString();

avec argument

Type de retour : crafttweaker.api.commands.custom.MCCommandContextBuilder

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

avec enfant

Type de retour : crafttweaker.api.commands.custom.MCCommandContextBuilder

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

withCommand

Type de retour : crafttweaker.api.commands.custom.MCCommandContextBuilder

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

withNode

Type de retour : crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.withNode(node as crafttweaker.api.commands.custom.MCCommandNode, range as crafttweaker.api.commands.custom.MCStringRange);
ParameterTypeDescription
Nœudcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
rangecrafttweaker.api.commands.custom.MCStringRangeNo description provided

avec source

Type de retour : crafttweaker.api.commands.custom.MCCommandContextBuilder

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

Operators

EQUALS

myMCCommandContextBuilder == o en tant qu'objet
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue