Benutzerdefinierte Befehle
Link to benutzerdefinierte-befehle
Diese Klasse importieren
Link to 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 at the very top of the file.
ZenScript Copyimport crafttweaker.api.commands.custom.CustomCommands;
Static Methods
Link to static-methods
Name: argument
Return Type: MCRequiredArgumentBuilder
ZenScript CopyCustomCommands.argument(name as string) as MCRequiredArgumentBuilder
Parameter | Type | Beschreibung |
---|---|---|
Parameter name | Type string | Beschreibung No Description Provided |
Name: literal
Return Type: MCLiteralArgumentBuilder
ZenScript CopyCustomCommands.literal(name as string) as MCLiteralArgumentBuilder
Parameter | Type | Beschreibung |
---|---|---|
Parameter name | Type string | Beschreibung No Description Provided |
Name: registerCommand
Return Type: void
ZenScript CopyCustomCommands.registerCommand(builder as MCLiteralArgumentBuilder) as void
Parameter | Type | Beschreibung |
---|---|---|
Parameter bauer | Type MCLiteralArgumentBuilder | Beschreibung No Description Provided |