toggle menu
BetterHud docs
1.7.DEV-259
standard-api
switch theme
search in API
BetterHud/api/standard-api
/
kr.toxicity.hud.api.adapter
/
CommandSourceWrapper
Command
Source
Wrapper
interface
CommandSourceWrapper
A wrapper class of command source.
Inheritors
HudPlayer
Members
Types
Type
Link copied to clipboard
enum
Type
Type
Functions
audience
Link copied to clipboard
@
NotNull
abstract
fun
audience
(
)
:
@
NotNull
Audience
Gets command source as kyori class.
has
Permission
Link copied to clipboard
abstract
fun
hasPermission
(
@
NotNull
perm
:
@
NotNull
String
)
:
Boolean
Checks this command source has some permission.
is
Op
Link copied to clipboard
abstract
fun
isOp
(
)
:
Boolean
Checks this command source is op.
type
Link copied to clipboard
@
NotNull
abstract
fun
type
(
)
:
@
NotNull
CommandSourceWrapper.Type
Returns command source's type