format@@0 MCLiteralArgumentBuilder

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

Implemented Interfaces

MCLiteralArgumentBuilder implémente les interfaces suivantes. That means any method available to them can also be used on this class.

Methods

build

Type de retour : crafttweaker.api.commands.custom.MCLiteralCommandNode

monMCLiteralArgumentBuilder.build();

equals

Return type: boolean

monMCLiteralArgumentBuilder.equals(o en tant qu'objet);
ParameterTypeDescription
oObjectNo description provided

exécute

Type de retour : crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.executes(commande comme crafttweaker.api.commands.custom.MCCommand);
ParameterTypeDescription
commandcrafttweaker.api.commands.custom.MCCommandNo description provided

fork

Type de retour : crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.fork(cible comme crafttweaker.api.commands.custom.MCCommandNode, modificateur comme crafttweaker.api.commands.custom.MCRedirectModifier);
ParameterTypeDescription
targetcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
modifiercrafttweaker.api.commands.custom.MCRedirectModifierNo description provided

avant

Type de retour : crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.forward(target as crafttweaker.api.commands.custom.MCCommandNode, modifier comme crafttweaker.api.commands.custom.MCRedirectModifier, fork as boolean);
ParameterTypeDescription
targetcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
modifiercrafttweaker.api.commands.custom.MCRedirectModifierNo description provided
forkbooleanNo description provided

getArguments

Type de retour : Collection<crafttweaker.api.commands.custom.MCCommandNode>

myMCLiteralArgumentBuilder.getArguments();

getCommand

Type de retour : crafttweaker.api.commands.custom.MCCommand

monMCLiteralArgumentBuilder.getCommand();

getLiteral

Return type: String

myMCLiteralArgumentBuilder.getLiteral();

getRedirect

Type de retour : crafttweaker.api.commands.custom.MCCommandNode

monMCLiteralArgumentBuilder.getRedirect();

Obtenir le modificateur de redirection

Type de retour : crafttweaker.api.commands.custom.MCRedirectModifier

monMCLiteralArgumentBuilder.getRedirectModifier();

Obtenir les conditions requises

Type de retour : function.Predicate<crafttweaker.api.commands.custom.MCCommandSource>

monMCLiteralArgumentBuilder.getRequirement();

hashCode

Return type: int

myMCLiteralArgumentBuilder.hashCode();

isFork

Return type: boolean

myMCLiteralArgumentBuilder.isFork();

rediriger

Type de retour : crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

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

Type de retour : crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

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

nécessite

Type de retour : crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.requires(requis en tant que function.Predicate<crafttweaker.api.commands.custom.MCCommandSource>);
ParameterTypeDescription
Exigencefunction.Predicate<crafttweaker.api.commands.custom.MCCommandSource>No description provided

puis

Type de retour : crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.then(argument comme crafttweaker.api.commands.custom.MCArgumentBuilder);
ParameterTypeDescription
Argumentcrafttweaker.api.commands.custom.MCArgumentBuilderNo description provided

Type de retour : crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.then(argument comme crafttweaker.api.commands.custom.MCCommandNode);
ParameterTypeDescription
Argumentcrafttweaker.api.commands.custom.MCCommandNodeNo description provided

toString

Return type: String

myMCLiteralArgumentBuilder.toString();

Operators

EQUALS

myMCLiteralArgumentBuilder == o en tant qu'objet
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue