MCCommand

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.

Diese Klasse importieren

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

neue crafttweaker.api.commands.custom.MCCommand(Spaß als Funktion.Funktion<crafttweaker.api.commands.custom.MCCommandContext, Integer>);
ParameterTypeBeschreibung
lustigfunction.Function<crafttweaker.api.commands.custom.MCCommandContext, Integer>No description provided

Methoden

equals

Return type: boolean

myMCCommand.equals(o als Objekt);
ParameterTypeBeschreibung
oObjectNo description provided

hashCode

Return type: int

myMCCommand.hashCode();

laufen

Return type: int

myMCCommand.run(Kontext als crafttweaker.api.commands.custom.MCCommandContext);
ParameterTypeBeschreibung
kontextcrafttweaker.api.commands.custom.MCCommandContextNo description provided

toString

Return type: String

myMCCommand.toString();

Operatoren

EQUALS

myMCCommand == o als Objekt
ParameterTypeBeschreibung
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue