Modificateur de redirection MCSingle

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 at the very top of the file.

import crafttweaker.api.commands.custom.MCSingleRedirectModifier;

Constructors

No Description Provided

new MCSingleRedirectModifier(fun as Function<MCCommandContext,MCCommandSource>) as MCSingleRedirectModifier
ParameterTypeDescription
amusantFunction<MCCommandContext,MCCommandSource>No Description Provided

Casters

Result typeIs Implicit
stringtrue

Methods

appliquer

Return Type: MCCommandSource

MCSingleRedirectModifier.apply(context as MCCommandContext) as MCCommandSource
ParameterTypeDescription
ContexteContexte MCCommandContexteNo Description Provided

equals

Return Type: boolean

MCSingleRedirectModifier.equals(o as Object) as boolean
ParameterTypeDescription
oObjectNo Description Provided

hashCode

Return Type: int

MCSingleRedirectModifier.hashCode() as int
myMCSingleRedirectModifier.hashCode();

toString

Return Type: string

MCSingleRedirectModifier.toString() as string
myMCSingleRedirectModifier.toString();

Operators

EQUALS

myMCSingleRedirectModifier == o en tant qu'objet