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 TypeMethodDescriptiondefault Optional<com.mojang.authlib.GameProfile> Returns the game profile of this command source, if available.
-
Method Details
-
getGameProfile
Returns the game profile of this command source, if available.- Returns:
- the game profile of this command source, if available
-