tutorial:commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:commands [2021/03/09 02:05] – [Exceptions] what is "translateable"? solidblock | tutorial:commands [2021/06/29 16:23] – [What is a command?] Fix wrong parenthesis placement technici4n | ||
---|---|---|---|
Line 54: | Line 54: | ||
void registerCommand() { | void registerCommand() { | ||
// Ignore this for now, we will explain it next. | // Ignore this for now, we will explain it next. | ||
- | dispatcher.register(CommandManager.literal(" | + | dispatcher.register(CommandManager.literal(" |
- | .executes(this:: | + | .executes(this:: |
} | } | ||
tutorial/commands.txt · Last modified: 2024/02/23 14:22 by allen1210