Interface ICommandSourceExtension

All Known Subinterfaces:
CommandSource
All Known Implementing Classes:
BaseCommandBlock.CloseableCommandBlockSource, DebugCommand.Tracer, DedicatedServer, GameTestServer, IntegratedServer, MinecraftServer, RconConsoleSource

public interface ICommandSourceExtension
Additional methods for CommandSource.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<com.mojang.authlib.GameProfile>
    Returns the game profile of this command source, if available.
  • Method Details

    • getGameProfile

      default Optional<com.mojang.authlib.GameProfile> getGameProfile()
      Returns the game profile of this command source, if available.
      Returns:
      the game profile of this command source, if available