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.

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

Methoden

build

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

myMCCommandContextBuilder.build(Eingabe als String);
ParameterTypeBeschreibung
inputStringNo description provided

copy

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

myMCCommandContextBuilder.copy();

equals

Return type: boolean

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

findSuggestionContext

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

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

getArgumente

Rückgabetyp: craftweaker.api.commands.custom.MCParsedArgument[String]

myMCCommandContextBuilder.getArguments();

getChild

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

myMCCommandContextBuilder.getChild();

getCommand

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

myMCCommandContextBuilder.getCommand();

getDispatcher

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

myMCCommandContextBuilder.getDispatcher();

getLastChild

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

myMCCommandContextBuilder.getLastChild();

getNodes

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

myMCCommandContextBuilder.getNodes();

getBereich

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

myMCCommandContextBuilder.getRange();

getRootNode

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

myMCCommandContextBuilder.getRootNode();

getSource

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

myMCCommandContextBuilder.getSource();

hashCode

Return type: int

myMCCommandContextBuilder.hashCode();

toString

Return type: String

myMCCommandContextBuilder.toString();

mit Argument

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

myMCCommandContextBuilder.withArgument(Name als String, Argument als crafttweaker.api.commands.custom.MCParsedArgument);
ParameterTypeBeschreibung
nameStringNo description provided
argumentcrafttweaker.api.commands.custom.MCParsedArgumentNo description provided

ohne Kind

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

myMCCommandContextBuilder.withChild(Kind als crafttweaker.api.commands.custom.MCCommandContextBuilder);
ParameterTypeBeschreibung
Kindcrafttweaker.api.commands.custom.MCCommandContextBuilderNo description provided

mit Befehl

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

myMCCommandContextBuilder.withCommand(Befehl als crafttweaker.api.commands.custom.MCCommand);
ParameterTypeBeschreibung
commandcrafttweaker.api.commands.custom.MCCommandNo description provided

withNode

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

myMCCommandContextBuilder.withNode(node as crafttweaker.api.commands.custom.MCCommandNode, range as crafttweaker.api.commands.custom.MCStringRange);
ParameterTypeBeschreibung
knotencrafttweaker.api.commands.custom.MCCommandNodeNo description provided
rangecrafttweaker.api.commands.custom.MCStringRangeNo description provided

mit Quelle

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

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

Operatoren

EQUALS

myMCCommandContextBuilder == o als Objekt
ParameterTypeBeschreibung
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue