BetterHud docs
Toggle table of contents
1.11.1
bukkit-api
Platform filter
bukkit-api
Switch theme
Search in API
BetterHud docs
BetterHud/api/bukkit-api
/
kr.toxicity.hud.api.bukkit.nms
/
NMS
NMS
@
ApiStatus.Internal
interface
NMS
:
VolatileCodeHandler
Represents volatile code handler.
Members
Functions
get
Folia
Adapted
Player
Link copied to clipboard
@
NotNull
abstract
fun
getFoliaAdaptedPlayer
(
@
NotNull
player
:
@
NotNull
Player
)
:
@
NotNull
Player
Gets an instance that allows async access to getHandle()
get
Texture
Value
Link copied to clipboard
abstract
fun
getTextureValue
(
p
:
@
NotNull
HudPlayer
)
:
@
NotNull
String
get
Version
Link copied to clipboard
@
NotNull
abstract
fun
getVersion
(
)
:
@
NotNull
NMSVersion
Gets that server's version.
inject
Link copied to clipboard
abstract
fun
inject
(
p
:
@
NotNull
HudPlayer
,
p1
:
BossBar.Color
)
register
Command
Link copied to clipboard
abstract
fun
registerCommand
(
@
NotNull
module
:
@
NotNull
CommandModule
<
BetterCommandSource
>
)
Registers brigadier command to server.
reload
Boss
Bar
Link copied to clipboard
abstract
fun
reloadBossBar
(
p
:
@
NotNull
HudPlayer
,
p1
:
BossBar.Color
)
remove
Boss
Bar
Link copied to clipboard
abstract
fun
removeBossBar
(
p
:
@
NotNull
HudPlayer
)
show
Boss
Bar
Link copied to clipboard
abstract
fun
showBossBar
(
p
:
@
NotNull
HudPlayer
,
p1
:
BossBar.Color
,
p2
:
@
NotNull
Component
)