MCRequiredArgumentBuilder

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

Extending MCArgumentBuilder

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

Casters

Result typeIs Implicit
stringtrue

Methoden

build

Return Type: MCArgumentCommandNode

MCRequiredArgumentBuilder.build() as MCArgumentCommandNode
myMCRequiredArgumentBuilder.build();
equals

Return Type: boolean

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

Return Type: MCRequiredArgumentBuilder

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

Return Type: MCRequiredArgumentBuilder

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

Return Type: MCRequiredArgumentBuilder

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

Return Type: Collection<MCCommandNode>

MCRequiredArgumentBuilder.getArguments() as Collection<MCCommandNode>
myMCRequiredArgumentBuilder.getArguments();
getCommand

Return Type: MCCommand

MCRequiredArgumentBuilder.getCommand() as MCCommand
myMCRequiredArgumentBuilder.getCommand();
getName

Return Type: string

MCRequiredArgumentBuilder.getName() as string
myMCRequiredArgumentBuilder.getName();
getRedirect

Return Type: MCCommandNode

MCRequiredArgumentBuilder.getRedirect() as MCCommandNode
myMCRequiredArgumentBuilder.getRedirect();
getRedirectModifier

Return Type: MCRedirectModifier

MCRequiredArgumentBuilder.getRedirectModifier() as MCRedirectModifier
myMCRequiredArgumentBuilder.getRedirectModifier();
getRequirement

Return Type: Predicate<MCCommandSource>

MCRequiredArgumentBuilder.getRequirement() as Predicate<MCCommandSource>
myMCRequiredArgumentBuilder.getRequirement();
getSuggestionsProvider

Return Type: MCSuggestionProvider

MCRequiredArgumentBuilder.getSuggestionsProvider() as MCSuggestionProvider
myMCRequiredArgumentBuilder.getSuggestionsProvider();
hashCode

Return Type: int

MCRequiredArgumentBuilder.hashCode() as int
myMCRequiredArgumentBuilder.hashCode();
isFork

Return Type: boolean

MCRequiredArgumentBuilder.isFork() as boolean
myMCRequiredArgumentBuilder.isFork();
redirect

Return Type: MCRequiredArgumentBuilder

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

Return Type: MCRequiredArgumentBuilder

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

Return Type: MCRequiredArgumentBuilder

MCRequiredArgumentBuilder.requires(requirement as Predicate<MCCommandSource>) as MCRequiredArgumentBuilder
ParameterTypeBeschreibung
voraussetzungPredicate<MCCommandSource>No Description Provided
suggests

Return Type: MCRequiredArgumentBuilder

MCRequiredArgumentBuilder.suggests(provider as MCSuggestionProvider) as MCRequiredArgumentBuilder
ParameterTypeBeschreibung
providerMCSuggestionProviderNo Description Provided
then

Return Type: MCArgumentBuilder

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

Return Type: MCRequiredArgumentBuilder

MCRequiredArgumentBuilder.then(argument as MCCommandNode) as MCRequiredArgumentBuilder
ParameterTypeBeschreibung
argumentMCCommandNodeNo Description Provided
then

Return Type: MCRequiredArgumentBuilder

MCRequiredArgumentBuilder.then(argument as MCRequiredArgumentBuilder) as MCRequiredArgumentBuilder
ParameterTypeBeschreibung
argumentMCRequiredArgumentBuilderNo Description Provided
toString

Return Type: string

MCRequiredArgumentBuilder.toString() as string
myMCRequiredArgumentBuilder.toString();

Operatoren

EQUALS
myMCRequiredArgumentBuilder == o as Object