Interface ICommandSourceStackExtension

All Known Implementing Classes:
ClientCommandSourceStack, CommandSourceStack

public interface ICommandSourceStackExtension
Additional methods for CommandSourceStack so that commands and arguments can access various things without directly referencing using server specific classes
  • Method Details

    • self

      private CommandSourceStack self()
    • getScoreboard

      default Scoreboard getScoreboard()
      Returns:
      the scoreboard
    • getAdvancement

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

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