MCRequiredArgumentBuilder

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

Implemented Interfaces

MCRequiredArgumentBuilder は、以下のインターフェースを実装します。 That means any method available to them can also be used on this class.

Methods

build

戻り値の型: crafttweaker.api.commands.custom.MCArgumentCommandNode

myMCRequiredArgumentBuilder.build();

equals

Return type: boolean

myMCRequiredArgumentBuilder.equals(o as Object);
ParameterTypeDescription
oObjectNo description provided

executes

戻り値の型: crafttweaker.api.commands.custom.MCRequiredArgumentBuilder

myMCRequiredArgumentBuilder.executes(command as crafttweaker.api.commands.custom.MCCommand);
ParameterTypeDescription
commandcrafttweaker.api.commands.custom.MCCommandNo description provided

fork

戻り値の型: crafttweaker.api.commands.custom.MCRequiredArgumentBuilder

myMCRequiredArgumentBuilder.fork(target as crafttweaker.api.commands.custom.MCCommandNode, modifier as crafttweaker.api.commands.custom.MCRedirectModifier);
ParameterTypeDescription
targetcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
modifiercrafttweaker.api.commands.custom.MCRedirectModifierNo description provided

前方へ

戻り値の型: crafttweaker.api.commands.custom.MCRequiredArgumentBuilder

myMCRequiredArgumentBuilder.forward(target as crafttweaker.api.commands.custom.MCCommandNode, modifier as crafttweaker.api.commands.custom.MCRedirectModifier, fork as boolean);
ParameterTypeDescription
targetcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
modifiercrafttweaker.api.commands.custom.MCRedirectModifierNo description provided
forkboolean型No description provided

getArguments

Return type: Collection<crafttweaker.api.commands.custom.MCCommandNode>

myMCRequiredArgumentBuilder.getArguments();

getCommand

戻り値の型: crafttweaker.api.commands.custom.MCCommand

myMCRequiredArgumentBuilder.getCommand();

getName

Return type: String

myMCRequiredArgumentBuilder.getName();

getRedirect

戻り値の型: crafttweaker.api.commands.custom.MCCommandNode

myMCRequiredArgumentBuilder.getRedirect();

getRedirectModifier

戻り値の型: crafttweaker.api.commands.custom.MCRedirectModifier

myMCRequiredArgumentBuilder.getRedirectModifier();

getRequirement

戻り値の型: function.Predicate<crafttweaker.api.commands.custom.MCCommandSource>

myMCRequiredArgumentBuilder.getRequirement();

getSuggestionsProvider

戻り値の型: crafttweaker.api.commands.custom.MCSuggestionProvider

myMCRequiredArgumentBuilder.getSuggestionsProvider();

hashCode

Return type: int

myMCRequiredArgumentBuilder.hashCode();

isFork

Return type: boolean

myMCRequiredArgumentBuilder.isFork();

リダイレクト

戻り値の型: crafttweaker.api.commands.custom.MCRequiredArgumentBuilder

myMCRequiredArgumentBuilder.redirect(target as crafttweaker.api.commands.custom.MCCommandNode);
ParameterTypeDescription
targetcrafttweaker.api.commands.custom.MCCommandNodeNo description provided

戻り値の型: crafttweaker.api.commands.custom.MCRequiredArgumentBuilder

myMCRequiredArgumentBuilder.redirect(target as crafttweaker.api.commands.custom.MCCommandNode, modifier as crafttweaker.api.commands.custom.MCSingleRedirectModifier);
ParameterTypeDescription
targetcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
modifiercrafttweaker.api.commands.custom.MCSingleRedirectModifierNo description provided

必須

戻り値の型: crafttweaker.api.commands.custom.MCRequiredArgumentBuilder

myMCRequiredArgumentBuilder.requires(requirements as function.Predicate<crafttweaker.api.commands.custom.MCCommandSource>);
ParameterTypeDescription
要件function.Predicate<crafttweaker.api.commands.custom.MCCommandSource>No description provided

示唆する

戻り値の型: crafttweaker.api.commands.custom.MCRequiredArgumentBuilder

myMCRequiredArgumentBuilder.suggest(provider as crafttweaker.api.commands.custom.MCSuggestionProvider);
ParameterTypeDescription
providercrafttweaker.api.commands.custom.MCSuggestionProviderNo description provided

そしたら...

戻り値の型: crafttweaker.api.commands.custom.MCArgumentBuilder

myMCRequiredArgumentBuilder.then(crafttweaker.api.commands.custom.MCArgumentBuilder);
ParameterTypeDescription
引数crafttweaker.api.commands.custom.MCArgumentBuilderNo description provided

戻り値の型: crafttweaker.api.commands.custom.MCRequiredArgumentBuilder

myMCRequiredArgumentBuilder.then(crafttweaker.api.commands.custom.MCCommandNode);
ParameterTypeDescription
引数crafttweaker.api.commands.custom.MCCommandNodeNo description provided

戻り値の型: crafttweaker.api.commands.custom.MCRequiredArgumentBuilder

myMCRequiredArgumentBuilder.then(crafttweaker.api.commands.custom.MCRequiredArgumentBuilder);
ParameterTypeDescription
引数crafttweaker.api.commands.custom.MCRequiredArgumentBuilderNo description provided

toString

Return type: String

myMCRequiredArgumentBuilder.toString();

演算子

EQUALS

myMCRequiredArgumentBuilder == o as Object
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue