Interface SquirtgunPlayer

All Superinterfaces:
net.kyori.adventure.audience.Audience, PermissionHolder, net.kyori.adventure.pointer.Pointered, SquirtgunUser

public interface SquirtgunPlayer extends SquirtgunUser
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    boolean
    hasPermission​(String permission)
    Gets whether the target holds the provided permission.
    boolean
     
    void
     

    Methods inherited from interface net.kyori.adventure.audience.Audience

    clearTitle, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, showTitle, stopSound, stopSound

    Methods inherited from interface net.kyori.adventure.pointer.Pointered

    get, getOrDefault, getOrDefaultFrom, pointers
  • Method Details

    • getUuid

      UUID getUuid()
    • getUsername

      String getUsername()
    • isOnline

      boolean isOnline()
    • hasPermission

      boolean hasPermission(String permission)
      Description copied from interface: PermissionHolder
      Gets whether the target holds the provided permission.
      Specified by:
      hasPermission in interface PermissionHolder
      Parameters:
      permission - the permission to check
      Returns:
      if the target holds the given permission
    • getGamemode

      Gamemode getGamemode()
    • setGamemode

      void setGamemode(Gamemode mode)