MCRootCommandNode

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

Implemented Interfaces

MCRootCommandNode implementiert die folgenden Schnittstellen. That means any method available to them can also be used on this class.

Methoden

addChild

myMCRootCommandNode.addChild(node as crafttweaker.api.commands.custom.MCCommandNode);
ParameterTypeBeschreibung
knotencrafttweaker.api.commands.custom.MCCommandNodeNo description provided

canUse

Return type: boolean

myMCRootCommandNode.canUse(source as crafttweaker.api.commands.custom.MCCommandSource);
ParameterTypeBeschreibung
quellcrafttweaker.api.commands.custom.MCCommandSourceNo description provided

createBuilder

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

myMCRootCommandNode.createBuilder();

equals

Return type: boolean

myMCRootCommandNode.equals(o as Object);
ParameterTypeBeschreibung
oObjectNo description provided

findAmbiguitäten

myMCRootCommandNode.findAmbiguities(consumer as crafttweaker.api.commands.custom.MCAmbiguityConsumer);
ParameterTypeBeschreibung
konsumentencrafttweaker.api.commands.custom.MCAmbiguityConsumerNo description provided

getChild

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

myMCRootCommandNode.getChild(name as String);
ParameterTypeBeschreibung
nameStringNo description provided

getChildren

Typ zurückgeben: Sammlung<crafttweaker.api.commands.custom.MCCommandNode>

myMCRootCommandNode.getChildren();

getCommand

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

myMCRootCommandNode.getCommand();

getExamples

Rückgabetyp: Sammlung<String>

myMCRootCommandNode.getExamples();

getName

Return type: String

myMCRootCommandNode.getName();

getUmleitung

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

myMCRootCommandNode.getRedirect();

getRedirectModifizierer

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

myMCRootCommandNode.getRedirectModifier();

getRelevantNodes

Typ zurückgeben: Sammlung<crafttweaker.api.commands.custom.MCCommandNode>

myMCRootCommandNode.getRelevantNodes(input as String);
ParameterTypeBeschreibung
inputStringNo description provided

getAnforderung

Typ zurückgeben: function.Predicate<crafttweaker.api.commands.custom.MCCommandSource>

myMCRootCommandNode.getRequirement();

getUsageText

Return type: String

myMCRootCommandNode.getUsageText();

hashCode

Return type: int

myMCRootCommandNode.hashCode();

isFork

Return type: boolean

myMCRootCommandNode.isFork();

isValidInput

Return type: boolean

myMCRootCommandNode.isValidInput(input as String);
ParameterTypeBeschreibung
inputStringNo description provided

listSuggestions

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

myMCRootCommandNode.listSuggestions(context as crafttweaker.api.commands.custom.MCCommandContext, builder as crafttweaker.api.commands.custom.MCSuggestionsBuilder);
ParameterTypeBeschreibung
kontextcrafttweaker.api.commands.custom.MCCommandContextNo description provided
bauercrafttweaker.api.commands.custom.MCSuggestionsBuilderNo description provided

parse

myMCRootCommandNode.parse(input as String, contextBuilder as crafttweaker.api.commands.custom.MCCommandContextBuilder);
ParameterTypeBeschreibung
inputStringNo description provided
contextBuildercrafttweaker.api.commands.custom.MCCommandContextBuilderNo description provided

toString

Return type: String

myMCRootCommandNode.toString();

Operatoren

COMPARE

myMCCommandNode compare o as crafttweaker.api.commands.custom.MCCommandNode
ParameterTypeBeschreibung
ocrafttweaker.api.commands.custom.MCCommandNodeNo description provided
### EQUALS
myMCRootCommandNode == o as Object
ParameterTypeBeschreibung
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue