Skip to content

IGetCommandUsage

youyihj edited this page Aug 16, 2020 · 1 revision

IGetCommandUsage

The IGetCommandUsage function can be used to provide the usage of command.

Importing the package

It might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import. import mods.zenutils.command.IGetCommandUsage;

Parameters

The IGetCommandUsage Function is a function with a ZenUtilsCommandSender parameter.

The function needs to return an unlocalized name. You can use language files to localize it, or CraftTweaker's setLocalization alternatively.

Clone this wiki locally