MCSingleRedirectModifier

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
楽しいFunction<MCCommandContext,MCCommandSource>No Description Provided

Casters

Result typeIs Implicit
stringtrue

Methods

適用する

Return Type: MCCommandSource

MCSingleRedirectModifier.apply(context as MCCommandContext) as MCCommandSource
ParameterTypeDescription
contextMCCommandContextNo 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();

演算子

EQUALS

myMCSingleRedirectModifier == o をオブジェクトとして