Interface ICommandSourceStackExtension

All Known Implementing Classes:
ClientCommandSourceStack, 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
  • Method Details

    • self

      private CommandSourceStack self()
    • getScoreboard

      default Scoreboard getScoreboard()
      Returns:
      the scoreboard
    • getAdvancement

      default AdvancementHolder getAdvancement(ResourceLocation id)
      Returns:
      the advancement from the id
    • getRecipeManager

      default RecipeManager getRecipeManager()
      Returns:
      the recipe manager
    • getUnsidedLevel

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