MCRedirectModifier

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

Constructors

nuevo crafttweaker.api.commands.custom.MCRedirectModifier(fun as function.Function<crafttweaker.api.commands.custom.MCCommandContext, Collection<crafttweaker.api.commands.custom.MCCommandSource>>);
ParameterTypeDescription
diversiónfunction.Function<crafttweaker.api.commands.custom.MCCommandContext, Colección<crafttweaker.api.commands.custom.MCCommandSource>>No description provided

Methods

aplicar

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

myMCRedirectModifier.apply(contexto como crafttweaker.api.commands.custom.MCCommandContext);
ParameterTypeDescription
contextocrafttweaker.api.commands.custom.MCCommandContextNo description provided

equals

Return type: boolean

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

hashCode

Return type: int

myMCRedirectModifier.hashCode();

toString

Return type: String

myMCRedirectModifier.toString();

Operators

EQUALS

myMCRedirectModifier == o como objeto
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue