接口 IForgeCommandSourceStack

所有已知实现类:
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
  • 方法详细资料

    • self

      private CommandSourceStack self()
    • getScoreboard

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

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

      default RecipeManager getRecipeManager()
      返回:
      the recipe manager
    • getUnsidedLevel

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