Modificateur de redirection MCSingle

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

Constructors

new crafttweaker.api.commands.custom.MCSingleRedirectModifier(fun as function.Function<crafttweaker.api.commands.custom.MCCommandContext, crafttweaker.api.commands.custom.MCCommandSource>);
ParameterTypeDescription
amusantfunction.Function<crafttweaker.api.commands.custom.MCCommandContext, crafttweaker.api.commands.custom.MCCommandSource>No description provided

Methods

appliquer

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

myMCSingleRedirectModifier.apply(contexte comme crafttweaker.api.commands.custom.MCCommandContext);
ParameterTypeDescription
Contextecrafttweaker.api.commands.custom.MCCommandContextNo description provided

equals

Return type: boolean

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

hashCode

Return type: int

myMCSingleRedirectModifier.hashCode();

toString

Return type: String

myMCSingleRedirectModifier.toString();

Operators

EQUALS

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

Casters

Result typeIs Implicit
Stringtrue