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 implementuje następujące interfejsy. That means any method available to them can also be used on this class.

Methods

build

Typ zwrotu: crafttweaker.api.commands.custom.MCLiteralCommandNode

myMCLiteralArgumentBuilder.build();

equals

Return type: boolean

myMCLiteralArgumentBuilder.equals(o jako Obiekt);
ParameterTypeDescription
oObjectNo description provided

wykonuje

Typ zwrotu: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

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

fork

Typ zwrotu: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

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

do przodu

Typ zwrotu: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.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
forkbooleanNo description provided

getArgumenty

Typ zwrotu: Kolekcja<crafttweaker.api.commands.custom.MCCommandNode>

myMCLiteralArgumentBuilder.getArguments();

getCommand

Typ zwrotu: crafttweaker.api.commands.custom.MCCommand

myMCLiteralArgumentBuilder.getCommand();

getLiteral

Return type: String

myMCLiteralArgumentBuilder.getLiteral();

getRedirect

Typ zwrotu: crafttweaker.api.commands.custom.MCCommandNode

myMCLiteralArgumentBuilder.getRedirect();

getRedirectModifier

Typ zwrotu: crafttweaker.api.commands.custom.MCRedirectModifier

myMCLiteralArgumentBuilder.getRedirectModifier();

Wymaganie pobierania

Typ zwracania: function.Predicate<crafttweaker.api.commands.custom.MCCommandSource>

myMCLiteralArgumentBuilder.getRequirement();

hashCode

Return type: int

myMCLiteralArgumentBuilder.hashCode();

isFork

Return type: boolean

myMCLiteralArgumentBuilder.isFork();

przekierowanie

Typ zwrotu: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

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

Typ zwrotu: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

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

wymaga

Typ zwrotu: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

myMCLiteralArgumentBuilder.requireres(wymagany jako function.Predicate<crafttweaker.api.commands.custom.MCCommandSource>);
ParameterTypeDescription
wymaganieFunkcja. Przewidaj<crafttweaker.api.commands.custom.MCCommandSource>No description provided

potem

Typ zwrotu: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

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

Typ zwrotu: crafttweaker.api.commands.custom.MCLiteralArgumentBuilder

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

toString

Return type: String

myMCLiteralArgumentBuilder.toString();

Operators

EQUALS

myMCLiteralArgumentBuilder == o jako obiekt
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue