Commande MCC

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

Constructors

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

Methods

equals

Return type: boolean

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

hashCode

Return type: int

myMCCommand.hashCode();

Exécuter

Return type: int

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

toString

Return type: String

myMCCommand.toString();

Operators

EQUALS

myMCCommand == o comme objet
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue