MCLiteralArgumentBuilder

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.MCLiteralArgumentBuilder;

Extending MCArgumentBuilder

MCLiteralArgumentBuilder extends MCArgumentBuilder. That means all methods available in MCArgumentBuilder are also available in MCLiteralArgumentBuilder

Casters

Result typeIs Implicit
stringtrue

Methoden

build

Return Type: MCLiteralCommandNode

MCLiteralArgumentBuilder.build() as MCLiteralCommandNode
myMCLiteralArgumentBuilder.build();
equals

Return Type: boolean

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

Return Type: MCLiteralArgumentBuilder

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

Return Type: MCLiteralArgumentBuilder

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

Return Type: MCLiteralArgumentBuilder

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

Return Type: Collection<MCCommandNode>

MCLiteralArgumentBuilder.getArguments() as Collection<MCCommandNode>
myMCLiteralArgumentBuilder.getArguments();
getCommand

Return Type: MCCommand

MCLiteralArgumentBuilder.getCommand() as MCCommand
myMCLiteralArgumentBuilder.getCommand();
getLiteral

Return Type: string

MCLiteralArgumentBuilder.getLiteral() as string
myMCLiteralArgumentBuilder.getLiteral();
getRedirect

Return Type: MCCommandNode

MCLiteralArgumentBuilder.getRedirect() as MCCommandNode
myMCLiteralArgumentBuilder.getRedirect();
getRedirectModifier

Return Type: MCRedirectModifier

MCLiteralArgumentBuilder.getRedirectModifier() as MCRedirectModifier
myMCLiteralArgumentBuilder.getRedirectModifier();
getRequirement

Return Type: Predicate<MCCommandSource>

MCLiteralArgumentBuilder.getRequirement() as Predicate<MCCommandSource>
myMCLiteralArgumentBuilder.getRequirement();
hashCode

Return Type: int

MCLiteralArgumentBuilder.hashCode() as int
myMCLiteralArgumentBuilder.hashCode();
isFork

Return Type: boolean

MCLiteralArgumentBuilder.isFork() as boolean
myMCLiteralArgumentBuilder.isFork();
redirect

Return Type: MCLiteralArgumentBuilder

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

Return Type: MCLiteralArgumentBuilder

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

Return Type: MCLiteralArgumentBuilder

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

Return Type: MCLiteralArgumentBuilder

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

Return Type: MCLiteralArgumentBuilder

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

Return Type: string

MCLiteralArgumentBuilder.toString() as string
myMCLiteralArgumentBuilder.toString();

Operatoren

EQUALS
myMCLiteralArgumentBuilder == o as Object