ru:tutorial:commands:requirements
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ru:tutorial:commands:requirements [2022/03/03 11:57] – furnygo | ru:tutorial:commands:requirements [2022/03/03 12:06] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 11: | Line 11: | ||
.requires(source -> source.hasPermissionLevel(4)) | .requires(source -> source.hasPermissionLevel(4)) | ||
.executes(ctx -> { | .executes(ctx -> { | ||
- | ctx.getSource().sendFeedback(new LiteralText(" | + | ctx.getSource().sendFeedback(new LiteralText(" |
return 1; | return 1; | ||
}); | }); |
ru/tutorial/commands/requirements.1646308636.txt.gz · Last modified: 2022/03/03 11:57 by furnygo