Constructor de argumentos MCLiterales

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 implementa las siguientes interfaces. That means any method available to them can also be used on this class.

Methods

build

Tipo de retorno: crafttweaker.api.commands.custom.MCLiteralCommandNode

myMCLiteralArgumentBuilder.build();

equals

Return type: boolean

myMCLiteralArgumentBuilder.equals(o como objeto);
ParameterTypeDescription
oObjectNo description provided

ejecuta

Tipo de retorno: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

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

fork

Tipo de retorno: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.fork(objetivo como crafttweaker.api.commands.custom.MCCommandNode, modificador como crafttweaker.api.commands.custom.MCRedirectModifier);
ParameterTypeDescription
targetcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
modifiercrafttweaker.api.commands.custom.MCRedirectModifierNo description provided

reenviar

Tipo de retorno: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.forward(objetivo como crafttweaker.api.commands.custom.MCCommandNode, modificador como crafttweaker.api.commands.custom.MCRedirectModifier, bifurcar como booleano);
ParameterTypeDescription
targetcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
modifiercrafttweaker.api.commands.custom.MCRedirectModifierNo description provided
forkbooleanNo description provided

getArguments

Tipo de retorno: Colección<crafttweaker.api.commands.custom.MCCommandNode>

myMCLiteralArgumentBuilder.getArguments();

getCommand

Tipo de retorno: crafttweaker.api.commands.custom.MCCommand

myMCLiteralArgumentBuilder.getCommand();

getLiteral

Return type: String

myMCLiteralArgumentBuilder.getLiteral();

getRedirect

Tipo de retorno: crafttweaker.api.commands.custom.MCCommandNode

myMCLiteralArgumentBuilder.getRedirect();

getRedirectModifier

Tipo de retorno: crafttweaker.api.commands.custom.MCRedirectModifier

myMCLiteralArgumentBuilder.getRedirectModifier();

getRequirement

Tipo de retorno: function.Predicate<crafttweaker.api.commands.custom.MCCommandSource>

myMCLiteralArgumentBuilder.getRequirement();

hashCode

Return type: int

myMCLiteralArgumentBuilder.hashCode();

isFork

Return type: boolean

myMCLiteralArgumentBuilder.isFork();

redireccionar

Tipo de retorno: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

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

Tipo de retorno: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.redirect(objetivo como crafttweaker.api.commands.custom.MCCommandNode, modificador como crafttweaker.api.commands.custom.MCSingleRedirectModifier);
ParameterTypeDescription
targetcrafttweaker.api.commands.custom.MCCommandNodeNo description provided
modifiercrafttweaker.api.commands.custom.MCSingleRedirectModifierNo description provided

requiere

Tipo de retorno: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.requires(requisito como función.Predicate<crafttweaker.api.commands.custom.MCCommandSource>);
ParameterTypeDescription
requerimientofunction.Predicate<crafttweaker.api.commands.custom.MCCommandSource>No description provided

entonces

Tipo de retorno: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.then(argumento como crafttweaker.api.commands.custom.MCArgumentBuilder);
ParameterTypeDescription
argumentocrafttweaker.api.commands.custom.MCArgumentBuilderNo description provided

Tipo de retorno: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.then(argumento como crafttweaker.api.commands.custom.MCCommandNode);
ParameterTypeDescription
argumentocrafttweaker.api.commands.custom.MCCommandNodeNo description provided

toString

Return type: String

myMCLiteralArgumentBuilder.toString();

Operators

EQUALS

myMCLiteralArgumentBuilder == o como objeto
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue