User Tools

Site Tools


ru:tutorial:commands:requirements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ru:tutorial:commands:requirements [2022/03/03 11:57] furnygoru: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("You are an operator"), false);+ ctx.getSource().sendFeedback(new LiteralText("Ты оператор"), false);
  return 1;  return 1;
  });  });
ru/tutorial/commands/requirements.1646308636.txt.gz · Last modified: 2022/03/03 11:57 by furnygo