Contexto MCCommand

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

Methods

copyFor

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

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

equals

Return type: boolean

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

getArgumento

Return type: String

myMCCommandContext.getArgument(nombre como cadena);
ParameterTypeDescription
nameStringNo description provided

getChild

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

myMCCommandContext.getChild();

getCommand

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

myMCCommandContext.getCommand();

getInput

Return type: String

myMCCommandContext.getInput();

getLastChild

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

myMCCommandContext.getLastChild();

getNodes

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

myMCCommandContext.getNodes();

getRange

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

myMCCommandContext.getRange();

getRedirectModifier

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

myMCCommandContext.getRedirectModifier();

getRootNode

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

myMCCommandContext.getRootNode();

getSource

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

myMCCommandContext.getSource();

hasNodes

Return type: boolean

myMCCommandContext.hasNodes();

hashCode

Return type: int

myMCCommandContext.hashCode();

es bifurcado

Return type: boolean

myMCCommandContext.isForked();

toString

Return type: String

myMCCommandContext.toString();

Operators

EQUALS

myMCCommandContext == o como objeto
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue