接口 ICommandSourceStackExtension

所有已知实现类:
CommandSourceStack, CommandTests.ErrorCatchingStack

public interface ICommandSourceStackExtension
Additional methods for CommandSourceStack so that commands and arguments can access various things without directly referencing using server specific classes
  • 方法详细资料

    • self

      private CommandSourceStack self()
    • getScoreboard

      default Scoreboard getScoreboard()
      返回:
      the scoreboard
    • getAdvancement

      @Nullable default @Nullable AdvancementHolder getAdvancement(ResourceLocation id)
      返回:
      the advancement from the id
    • getUnsidedLevel

      default Level getUnsidedLevel()
      返回:
      the level but without being specifically the server side level