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

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandContext

myMCCommandContextBuilder.build(wprowadź jako String);
ParameterTypeDescription
inputStringNo description provided

copy

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.copy();

equals

Return type: boolean

myMCCommandContextBuilder.equals(o jako obiekt);
ParameterTypeDescription
oObjectNo description provided

Kontekst wyszukiwania

Typ zwrotu: crafttweaker.api.commands.custom.MCSuggestionContext

myMCCommandContextBuilder.findSuggestionContext(kursor jak int);
ParameterTypeDescription
cursorintNo description provided

getArgumenty

Typ zwrotu: crafttweaker.api.commands.custom.MCParsedArgument[String]

myMCCommandContextBuilder.getArguments();

getChild

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.getChild();

getCommand

Typ zwrotu: crafttweaker.api.commands.custom.MCCommand

myMCCommandContextBuilder.getCommand();

getDispatcher

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandDispatcher

myMCCommandContextBuilder.getDispatcher();

getLastChild

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.getLastChild();

getNodes

Typ zwrotu: Lista<crafttweaker.api.commands.custom.MCParsedCommandNode>

myMCCommandContextBuilder.getNodes();

Zakres getRange

Typ zwrotu: crafttweaker.api.commands.custom.MCStringRange

myMCCommandContextBuilder.getRange();

getRootNode

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandNode

myMCCommandContextBuilder.getRootNode();

getSource

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandSource

myMCCommandContextBuilder.getSource();

hashCode

Return type: int

myMCCommandContextBuilder.hashCode();

toString

Return type: String

myMCCommandContextBuilder.toString();

z argumentem

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.withArgument(nazwa jako String, argument jako crafttweaker.api.commands.custom.MCParsedArgument);
ParameterTypeDescription
nameStringNo description provided
argumentcrafttweaker.api.commands.custom.MCParsedArgumentNo description provided

withChild

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.withChild(dziecko jako crafttweaker.api.commands.custom.MCCommandContextBuilder);
ParameterTypeDescription
dzieckocrafttweaker.api.commands.custom.MCCommandContextBuilderNo description provided

z komendą

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandContextBuilder

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

withNode

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.withNode(node as crafttweaker.api.commands.custom.MCCommandNode, zakres jak crafttweaker.api.commands.custom.MCStringRange);
ParameterTypeDescription
węzełcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
rangecrafttweaker.api.commands.custom.MCStringRangeNo description provided

Źródło

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandContextBuilder

myMCCommandContextBuilder.withSource(źródło jako crafttweaker.api.commands.custom.MCCommandSource);
ParameterTypeDescription
źródłocrafttweaker.api.commands.custom.MCCommandSourceNo description provided

Operators

EQUALS

myMCCommandContextBuilder == o jako obiekt
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue