tutorial:commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:commands [2019/11/16 02:14] – Simple Custom ArgumentType using UUIDArgumentType i509vcb | tutorial:commands [2019/11/16 04:35] – liach | ||
---|---|---|---|
Line 439: | Line 439: | ||
</ | </ | ||
- | ===== Custom Arguments | + | ===== Custom Arguments ===== |
- | Brigadier has support for custom argument types and this section goes into showing how to create a simple argument type. For this example we will create a UUIDArgumentType | + | Brigadier has support for custom argument types and this section goes into showing how to create a simple argument type. |
+ | |||
+ | Warning: Custom arguments require client mod installation to be registered correctly! If you are making a server plugin, consider using existing argument type and a custom suggestions provider instead. | ||
+ | |||
+ | For this example we will create a UUIDArgumentType. | ||
First create a class which extends '' | First create a class which extends '' |
tutorial/commands.txt · Last modified: 2024/02/23 14:22 by allen1210