Contexto 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

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandContext

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

copy

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.copy();

equals

Return type: boolean

myMCCommandContextBuilder.equals(o como objeto);
ParameterTypeDescription
oObjectNo description provided

findSugerenciónContexto

Tipo de retorno: crafttweaker.api.commands.custom.MCSuggestionContext

myMCCommandContextBuilder.findSuggestionContext(cursor as int);
ParameterTypeDescription
cursorintNo description provided

getArguments

Tipo de retorno: crafttweaker.api.commands.custom.MCParsedArgument[String]

myMCCommandContextBuilder.getArguments();

getChild

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.getChild();

getCommand

Tipo de retorno: crafttweaker.api.commands.custom.MCCommand

myMCCommandContextBuilder.getCommand();

getDispatcher

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandDispatcher

myMCCommandContextBuilder.getDispatcher();

getLastChild

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.getLastChild();

getNodes

Tipo de retorno: Lista<crafttweaker.api.commands.custom.MCParsedCommandNode>

myMCCommandContextBuilder.getNodes();

getRange

Tipo de retorno: crafttweaker.api.commands.custom.MCStringRange

myMCCommandContextBuilder.getRange();

getRootNode

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandNode

myMCCommandContextBuilder.getRootNode();

getSource

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandSource

myMCCommandContextBuilder.getSource();

hashCode

Return type: int

myMCCommandContextBuilder.hashCode();

toString

Return type: String

myMCCommandContextBuilder.toString();

con argumento

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.withArgument(nombre como String, argumento como crafttweaker.api.commands.custom.MCParsedArgument);
ParameterTypeDescription
nameStringNo description provided
argumentocrafttweaker.api.commands.custom.MCParsedArgumentNo description provided

conhijoHijo

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.withChild(hijo como crafttweaker.api.commands.custom.MCCommandContextBuilder);
ParameterTypeDescription
niñocrafttweaker.api.commands.custom.MCCommandContextBuilderNo description provided

conComando

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandContextBuilder

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

withNode

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.withNode(nodo como crafttweaker.api.commands.custom.MCCommandNode, rango como crafttweaker.api.commands.custom.MCStringRange);
ParameterTypeDescription
nodocrafttweaker.api.commands.custom.MCCommandNodeNo description provided
rangecrafttweaker.api.commands.custom.MCStringRangeNo description provided

sin fuente

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.withSource(fuente como crafttweaker.api.commands.custom.MCCommandSource);
ParameterTypeDescription
fuentecrafttweaker.api.commands.custom.MCCommandSourceNo description provided

Operators

EQUALS

myMCCommandContextBuilder == o como objeto
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue