MCArgumentBuilder

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 at the very top of the file.

import crafttweaker.api.commands.custom.MCArgumentBuilder;

Casters

Result typeIs Implicit
stringtrue

Methoden

build

Return Type: MCCommandNode

MCArgumentBuilder.build() as MCCommandNode
myMCArgumentBuilder.build();
equals

Return Type: boolean

MCArgumentBuilder.equals(o as Object) as boolean
ParameterTypeBeschreibung
oObjectNo Description Provided
executes

Return Type: MCArgumentBuilder

MCArgumentBuilder.executes(command as MCCommand) as MCArgumentBuilder
ParameterTypeBeschreibung
commandMCCommandNo Description Provided
fork

Return Type: MCArgumentBuilder

MCArgumentBuilder.fork(target as MCCommandNode, modifier as MCRedirectModifier) as MCArgumentBuilder
ParameterTypeBeschreibung
targetMCCommandNodeNo Description Provided
modifierMCRedirectModifiziererNo Description Provided
forward

Return Type: MCArgumentBuilder

MCArgumentBuilder.forward(target as MCCommandNode, modifier as MCRedirectModifier, fork as boolean) as MCArgumentBuilder
ParameterTypeBeschreibung
targetMCCommandNodeNo Description Provided
modifierMCRedirectModifiziererNo Description Provided
forkbooleanNo Description Provided
getArguments

Return Type: Collection<MCCommandNode>

MCArgumentBuilder.getArguments() as Collection<MCCommandNode>
myMCArgumentBuilder.getArguments();
getCommand

Return Type: MCCommand

MCArgumentBuilder.getCommand() as MCCommand
myMCArgumentBuilder.getCommand();
getRedirect

Return Type: MCCommandNode

MCArgumentBuilder.getRedirect() as MCCommandNode
myMCArgumentBuilder.getRedirect();
getRedirectModifier

Return Type: MCRedirectModifier

MCArgumentBuilder.getRedirectModifier() as MCRedirectModifier
myMCArgumentBuilder.getRedirectModifier();
getRequirement

Return Type: Predicate<MCCommandSource>

MCArgumentBuilder.getRequirement() as Predicate<MCCommandSource>
myMCArgumentBuilder.getRequirement();
hashCode

Return Type: int

MCArgumentBuilder.hashCode() as int
myMCArgumentBuilder.hashCode();
isFork

Return Type: boolean

MCArgumentBuilder.isFork() as boolean
myMCArgumentBuilder.isFork();
redirect

Return Type: MCArgumentBuilder

MCArgumentBuilder.redirect(target as MCCommandNode) as MCArgumentBuilder
ParameterTypeBeschreibung
targetMCCommandNodeNo Description Provided
redirect

Return Type: MCArgumentBuilder

MCArgumentBuilder.redirect(target as MCCommandNode, modifier as MCSingleRedirectModifier) as MCArgumentBuilder
ParameterTypeBeschreibung
targetMCCommandNodeNo Description Provided
modifierMCSingleRedirectModifiziererNo Description Provided
requires

Return Type: MCArgumentBuilder

MCArgumentBuilder.requires(requirement as Predicate<MCCommandSource>) as MCArgumentBuilder
ParameterTypeBeschreibung
voraussetzungPredicate<MCCommandSource>No Description Provided
then

Return Type: MCArgumentBuilder

MCArgumentBuilder.then(argument as MCArgumentBuilder) as MCArgumentBuilder
ParameterTypeBeschreibung
argumentMCArgumentBuilderNo Description Provided
then

Return Type: MCArgumentBuilder

MCArgumentBuilder.then(argument as MCCommandNode) as MCArgumentBuilder
ParameterTypeBeschreibung
argumentMCCommandNodeNo Description Provided
toString

Return Type: string

MCArgumentBuilder.toString() as string
myMCArgumentBuilder.toString();

Operatoren

EQUALS
myMCArgumentBuilder == o als Objekt