MCCommandContext

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.

Diese Klasse importieren

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

Methoden

copyFor

Rückgabetyp: craftweaker.api.commands.custom.MCCommandContext

myMCCommandContext.copyFor(Quelle als crafttweaker.api.commands.custom.MCCommandSource);
ParameterTypeBeschreibung
quellcrafttweaker.api.commands.custom.MCCommandSourceNo description provided

equals

Return type: boolean

myMCCommandContext.equals(o als Objekt);
ParameterTypeBeschreibung
oObjectNo description provided

getArgument

Return type: String

myMCCommandContext.getArgument(Name als String);
ParameterTypeBeschreibung
nameStringNo description provided

getChild

Rückgabetyp: craftweaker.api.commands.custom.MCCommandContext

myMCCommandContext.getChild();

getCommand

Rückgabetyp: craftweaker.api.commands.custom.MCCommand

myMCCommandContext.getCommand();

getInput

Return type: String

myMCCommandContext.getInput();

getLastChild

Rückgabetyp: craftweaker.api.commands.custom.MCCommandContext

myMCCommandContext.getLastChild();

getNodes

Typ zurückgeben: Liste<crafttweaker.api.commands.custom.MCParsedCommandNode>

myMCCommandContext.getNodes();

getBereich

Rückgabetyp: craftweaker.api.commands.custom.MCStringRange

myMCCommandContext.getRange();

getRedirectModifizierer

Rückgabetyp: craftweaker.api.commands.custom.MCRedirectModifier

myMCCommandContext.getRedirectModifier();

getRootNode

Rückgabetyp: craftweaker.api.commands.custom.MCCommandNode

myMCCommandContext.getRootNode();

getSource

Rückgabetyp: craftweaker.api.commands.custom.MCCommandSource

myMCCommandContext.getSource();

hasNodes

Return type: boolean

myMCCommandContext.hasNodes();

hashCode

Return type: int

myMCCommandContext.hashCode();

isForked

Return type: boolean

myMCCommandContext.isForked();

toString

Return type: String

myMCCommandContext.toString();

Operatoren

EQUALS

myMCCommandContext == o als Objekt
ParameterTypeBeschreibung
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue