Interface IForgeCommandSourceStack

All Known Implementing Classes:
ClientCommandSourceStack, CommandSourceStack

public interface IForgeCommandSourceStack
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 Advancement 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